pfalstad / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
1.71k stars 286 forks source link

Coil voltage on open relay contacts ? #70

Open rolox2022 opened 7 months ago

rolox2022 commented 7 months ago

Hi, i noticed a strange behaviour: there seems to be some "interconnection" between coil and contacts of a relay .... can be reproduced with simple circuit attached. relay issue relay issue.txt

rolox2022 commented 7 months ago

Edit...its obviously a misunderstanding on my side...the parameter "off resistance" is by default 1M which affects low current signals switched by relay and also is related to contact-contact resistance as kind of "isolation resistance" As in the example no current is applicable with only testpoints, the full 5V show up at the open contacts ....

pfalstad commented 7 months ago

Yes, that's correct. You need a pulldown resistor if you want the open contact to be grounded.