Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By lethe
#43329
Trent wrote:All of the options I have on the table as of now use more than 20ma. I tested my ILD74 with a 150ohm resistor on 3.3v and it still had over 100 ohms resistance on the collector/emitter. I don't recall current draw but should be 22ma.

Regular opto-isolators have a NPN transistor on the output side. Since NPN transistors have a voltage drop similar to a diode, your multi-meter's resistance measurement won't be accurate (use the diode setting to check if the transistor is switched on).
Also NPNs work only on one direction, so you have to know the polarity of the pins you want to "short". Usually one pin will be GND and the other one a input pin with pull-up, so you can use an opto-isolator to pull the on input to GND.

If you want something, that behaves more like a relay, you could use a solid-state relay like this one (as an example, there are more to choose from):
http://eu.mouser.com/ProductDetail/Pana ... 4t%2fndbDV
It uses 2 MosFETs on the output, in a configuration that can switch AC signals and therefore will have a constant resistance in its "on" state.
User avatar
By Trent
#43331 On my relay board http://amzn.com/B00KTELP3I

If I have the right resistor (listed as r1 on the first channel of relays), it reads 3.24 (same as power supply) on one side and 2.84 on the other. It is a 1k resistor.

If I use my meter to bridge the input pin to ground, it read 40ma. In my limited (non EE) thinking, I don't understand how all 40ma wouldn't go through the huzzah..