Creative Commons images are CC BY-NC-SA 3.0


added to your
shopping cart

In stock 88 in stock
4.95 1+ units
4.46 10+ units
3.96 100+ units

Description: This is a board designed for opto-isolation. This board is helpful for connecting digital systems (like a 5V microcontroller) to a high-voltage or noisy system. This board electrically isolates a controller from the high-power system by use of an opto-isolator IC. This IC has two LEDs and two photodiodes built-in. This allows the low-voltage side to control a high voltage side.

We often use this board to allow a microcontroller control servos or other motors that use a higher voltage than the TTL logic on the (3.3V or 5V) micro, and may cause electromagnetic interferance with our system as the motors turn on and off. This board will isolate the systems, creating a type of electrical noise barrier between devices.

This breakout board uses the ILD213T optoisolator and discrete transistors to correct the logic. Comes with two channels. Great for use in noisy circuits where signal lines require electrical isolation.

A normal LED opto-isolator will invert the logic of a signal. We threw some transistors on this compact board to correct the inversion. What you put into the IN pins, will be replicated on the the OUT pins, but at the higher voltage (HV).


Comments 45 comments

  • Can I power a 12 volt 500 ma solenoid coil with this opto-isolator board? I broke out both my voltages from an 8 AA cell battery pack. I’m using 3 volts on the input side (2 AA’s), and 12 volts for the solenoid (8AA’s). My input supply side signal is an analog output from a 3.0 volt ATmega328 chip (output A0 ). I have the output side on 12 volts to drive the solenoid coil. I don’t want to fry the output pin of the atmega. If I add a 12 volt relay before the solenoid coil, will that help? Or is this board made to replace that also? I can also add a clamping diode on the solenoid coil if needed.

  • how come there are not mounting holes so you don’t have to float the device in the air and can fasten it down to a chassis.

    • PCB material is surprisingly expensive, so for small boards that are likely to be plugged into a breadboard, we try to keep the price down by not adding mounting holes. People will often secure them with epoxy, hot glue, double-sided foam tape, etc.

      • 3M 4956 VHB acrylic tape is very good at permanently holding a PCB down, even over industrial temperature range. It is much better than typical foam tape which can fall off in hot humid weather. (which can destroy expensive equipment)

        Just keep in mind, once you stick it down, it is very difficult to get it off. For this small PCB, the easiest way to get the tape off if you use a singe piece, is to twist the PCB. If you mount a larger PCB in 4 corners, you would will need some kind of wooden dowel with a flat edge like a screwdriver to remove the tape.

        While the length of the tape rolls are on the long side, this would be a good product for Sparkfun to carry, since it has many uses.

  • Will this board work in conjuction with the Atto Pilot current sensor? I want to be able to measure current and voltage without getting unwanted noise from the power supply. The Atto Pilot worked brilliantly with a 24V/3A DC power supply but when I went to a higher voltage and current power supply the sensor was unable to give correct readings and would crash the program every time I went to turn on the power supply or raise the voltage. I’m guessing that this was due to the noise created when the power supply turned on as I was able to connect the leads after the power supply was turned on and get readings. In doing this I ended up frying a chip on the Atto Pilot sensor and am unable to read current anymore.

    I’m thinking this optoisolator would need to go between the Atto Pilot sensor and the Arduino in order to filter out the noise that causes my program to crash. Is this true?

  • Could this be used to sense whether there is voltage on the high-volt side from a microcontroller? I have read that you could use an optocoupler or isolator to do it, but the labels on the pins make me beleive that this works in only one direction, from low-volt to high-volt. Anyways, you guys double-rock!!!

  • The problem with correcting the inversion is that if you’re using this board to run relays and you connect one side of the coil to HV and the other side to the outputs of this board, the relays will always turn on when the power is switched on. This is a Bad Thing™ because it doesn’t fail safe.

    I cannot think of a way to run this in a safe way with this board, since the 10k pullup resistors won’t supply enough power to run the coil of a relay.

    Can anyone think of a solution? I’m a little stuck currently!

  • Would 5.5V be too much for IN1 and IN2?

  • I’m trying to use this with a Fez Panda 2 to activate an RC Car ESC. The feed from the ESC is 7.6v which is connected to HV. HV_GND is connected to the ground wire from the servo plug. The ‘on’ wire, which is normally shorted to the power feed by the on switch (now disconnected) is connected to OUT1.

    I have tried IN1 connected to one on the digital outputs, the regulated 5v pin, and the Vin pin (separately) but OUT1 is only about 1.6v when IN1 is high. (It’s 0v when IN1 is low).

    Any ideas what I’m missing?

    Thanks in advance.

  • I want to use this to isolate a camera trigger switch for remote shutter release. Can it safely isolate the signal from Arduino to the camera?

  • Is this possible to drive a small fan (5V / 200 mA) directly with this board ? (according to Nate, seems that the output transistors are 40V/600mA)

    • No! It is useless Breakout because it CAN’T directly drive anything . The only way to use it - use as isolated logic output to switch transistor.

  • I (noob) need help figuring out how to wire this thing.
    I’m connecting the GND to netduino’s GND, IN1 to netduino’s 3V .
    For the noisy side I need to drive a small motor but for now I’m using a light bulb just to see the result. Output is connected like this: HVG to battery’s one side, HV to the other side of the battery (I tried switching battery poles but still no success) and I expect the voltage between HVG or HV and OUT1 to change when I plug/unplug IN1 from 3V but I don’t get either result, the bulb remains dark and the multimeter doesn’t show anything changing.
    Pls help

  • Is this right
    IN1 & 2 - From my Arduino Uno
    NC - ???
    GND - ground of some kind
    OUT1 & 2 - To my door lock power +/-
    HV and HVG - I take it thats where I wire my 12v power supply to power my Door Lock…
    Sorry i’m rather unsure how to do this…

  • I would actually like to see a combined version of this BoB and the 10256 BoB. Two channel would be a good start but four channel would be very handy. Uses would be for running 12 volt automotive lamps/devices from a noisy 12 volt power source. With opto isolation I would think the microcontroller would handle PWM or basic digital control flawlessly. Just be sure not to tie any grounds together or better yet, have a user configurable ground strap.

  • I bought this thinking I could use it to trigger a flash or a camera using arduino. all I need is to short the leads of the sync cable or camera remote cable.
    Can this board be used for that? how do I wire it?
    Any help would be appreciated

  • This seems geared for output isolation, what is offered for input isolation? Needing something multi channel to feed into 3.3V (5V tolerant) inputs on an Arm Cortex.

  • Hi, I’m a novice in electronics. I’ve supplied 3.3V to IN1 and 5.0V to HV. GND and HVG are common and I read 4.4V at OUT1 and 0V at OUT2.
    I know I’m not wiring this correctly (when I remove the 3.3V, the 4.4V remains….) The schematic is unclear to me, can someone please help?

  • Why is this board using a NPN transistor in common emitter configuration? With the 10K resistor, this board will only output around 1mA at 12 volts.
    A PNP transistor will allow this board to drive a higher current load (up to the max Ic of the transistor) such as relays and motors.

  • Help! I connected the optoisolator to a ringer detection circuit which puts 2.3V across the input, but it doesn’t switch. HV line is 5V. Are these values too small?

  • Connecting the two opto emitters together under the chip was a dirty-rotten thing to do. A simple breakout for the opto would be better suited for my purpose (and more universal). The open-collector configuration is not suitable for many applications.

    • Sorry! We can’t please everyone. You can always desolder components if you still need the breakout.

      • Turns out I didn’t need to float the IC to separate the collectors (that would have been obvious had the board layout been available). Anyways I put the thing to use, after modifications, and it is now in service happily isolating a PWM signal feeding an integrating circuit. Voila! Isolated 0-10V DAC. :-)

        • Did you use this to control a dimmer that runs off of 0-10V analog?

        • The schematic is listed above and all of our Eagle files are available if you email us and request it. In the future you can contact us directly ( and we can provide the Eagle files.

        • I meant the emitters. Long night…

  • One possible future iteration of this board could include an optoisolator with a bit more max amperage ability. Examples I’ve played with include the HCPL-3120 and the FOD3120 (which can both max out at 2.5 A). These can provide a very simple way to hook up a micro to a high voltage and/or current-demanding motor. If you don’t need a “smart” motor driver, those chips work very well!

  • if you pmw the input, then yes up to 40V DC

  • will this allow me to dim lights?

  • This should work for a serial connection between my robot noisy motors and my sensor array that uses 4 sharp infared sensors right? . . im only using 9600 baud? . i need a way to isolate the two . and i dont mind using seperate power sources.

    • I gave this a try with a 3.3V Arduino Pro Mini. I could reliably transmit serial data at up to 14400 baud. 19200 and above didn’t work, though.

      The 4 Channel Optoisolator DIP worked a bit better – all the way up to 57600 baud, but it requires a couple external resistors to get set up.

    • Use a max232 or st232. Need a max232 + 5 0.1uF caps at each end.
      No problems with 9600 or 115200.
      Work fine with most micros that run at 5v and have 5v io or via a level shifter for boards like gumstix overo, beagleboard or anything else that uses 1.8V or 3.3V io.
      For a level shifter
      just note the 10k pull ups on the output of the tx on the high side.

    • The switching time of the ILD213T means it is NOT suitable for isolation of a serial port at higher baud rates though; if I’m reading the data sheet correctly, the turn-on time is ~100uS and turn-off is about 30uS with the 10K resistor. It definitely DOESN’T work at 115200 baud!

      • I would also like to use this breakout for isolating a 9600 baud serial connection.
        I was thinking about replacing the 10k resisters with 100 ohm resisters in order to reduce the on/off times. What do you think?

    • to answer my own question.. yes 4800 baud

  • Could this controll switching of EL wire? 200v DC at .05 amps?

  • I was looking for a way an FPGA can turn on and off 12volt stuff, like headlight bulbs and the siren off a dead alarm, do you think will do that?
    I think it makes a fun project more fun to try to interface some on hand items like that.

  • You could have avoided the extra transistors by arranging the output transistors in the optocoupler to pull the line UP to “HV” and using pull-down resistors to pull the line DOWN to “HV_GND”. This assumes that the circuit this is connected to could tolerate the relatively weak pull down of a resistor instead of a transistor pull-down.

  • Can you please add the specs for the output transistors? Specifically, what are their voltage and current ratings?

    • Good question: MMBT2222. 40V/600mA. I think this is the part # : MMBT2222ALT3G.

Related Products