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:
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: