Electronic – arduino – Relay with arduino/microcontroller, diode needed

arduinomicrocontroller

I know that you have to place a diode in parallel with a relay to use with i/o on microcontroller. Would you have to do the same with a relay board such as……

http://www.sainsmart.com/module/acce…-pro-mini.html
http://www.sainsmart.com/module/acce…p-arduino.html

Best Answer

If you're still talking about the relay module from your other question, the answer is no, the diode is not required. This uses solid state relays which don't have a coil. It's that coil in an electromechanical relay that causes a voltage peak when switching off, against which the transistor has to be protected.

If you would be referring to one of the other modules using electromechanical relays, like this one, those have a protection diode on board.