Required equipment
This project will require some electronic and electrical equipment. We'll be building not only DC, but also AC circuits.
Note
If you don't feel comfortable building the circuits yourself, please seek the help of someone more experienced to ensure that the circuits are built properly and are safe to use.
To be able to complete all the steps in this chapter, besides the Galileo board, you'll need the following material:
- A lightbulb, a lightbulb socket, and a power plug:
In this example, we'll be using an E27 lightbulb (220 V-240 V, 20 W, 160 mA) with the correspondent socket and a power plug. We'll be using a European C-type plug, supporting 220 V. If you want to use another type of plug, socket, or lightbulb, be sure that they are compatible, otherwise you'll need to do some adjustments to the circuits.
- A Passive infrared motion sensor:
For the motion detection, we'll be using a generic HC-SR501 Passive Infrared (PIR) motion sensor supporting...