WARNING: In this chapter, we will be using 120V or 240V AC depending on what country you live in, which is significantly more powerful than anything else we have used in this book. Mishandling, incorrect or improper use of the relay or the power cables can result in serious injury and even death. Make sure that you have read and understood how your relay board works, the voltage and current it is rated for, and the risks involved when using AC power before you attempt the project in this chapter. Do not be afraid to seek professional help if you are uncertain about anything. AC power is significantly more dangerous than the DC power that we have used previously in this book.

If you do not feel comfortable using AC power in ...

Get Mastering Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.