Setting up the motor shield
The first part of the circuit is now complete. We have a device that can record the change in light and can send this information to our application via an analog pin.
Now we need to connect our photoresistor to the motor shield. Once these are connected, we will have a device that can be used to control curtains or blinds.
Let's start by setting up our hardware.