Components needed

  • One Arduino Uno or compatible board
  • One relay board
  • Jumper wires
  • One AC-powered device that you would like to control with the Arduino, such as a desk lamp, or if you wish to use a DC power device rather than an AC powered one
  • One 9V battery adapter with a battery with a DC motor

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.