The following illustration shows the wiring. Otherwise, connect it to NC.įor this project, we want our lamp to be off at first and then turn on when we activate the relay, so we will connect one end of the wire to COM and the other to NO. If you want to keep your device off most of the time and turn it on occasionally, connect the other end of the wire to NO. You’ll need to cut your live AC line and connect one end of the cut wire (coming from the wall) to COM and the other to NC or NO, depending on what you want your device’s initial state to be. You’ll also need to connect the relay module to the AC-powered device you want to control, in this case, a lamp. These switches are used to open and close. It take a relatively small amount of power to operate the coil, but this itself can be used to control motors, heaters, lamps or AC circuits which themselves can draw a lot more electrical power. Connect digital pin #6 to the IN input pin. Relays control circuits by opening and closing contacts in another circuit. Therefore, it is intended for people who are familiar with and knowledgeable about HIGH AC voltage.īegin by connecting the module’s VCC pin to the Arduino’s 5V pin and the GND pin to ground. Improper or incorrect use could result in serious injury or death. Warning: This board interacts with HIGH AC voltage.
0 Comments
Leave a Reply. |