Minggu, 08 Desember 2019

Project 20 How to use Relay Modul in arduino


this time i will show how to turn on off the bulb light use relay, controlled with arduino.
simply modif blink example skecth from Arduino IDE example sketch code if you wanna more  than 1 ch relay.  today we use original blink led that makes D13 blink.

connect wire :

d13 with input relay
vcc 5v to vcc 5v relay
gnd to gnd relay.

make connection bulb dan power ac cord , another wire insert in blue connector of relay as switch.

upload the code

hear the relay ticking..  and the last connect the power ac cord  to 220VAC.. you must see bulb blink


see ya.

Lamiono