Previously, we learned how to interface sensors with the Pi, which collects data and transmits it to a server/cloud over the internet. But in this chapter, we will learn how to communicate with the Pi in other ways, that is, to control the Raspberry Pi and devices/actuators connected to it remotely from the cloud over the internet.
As actuators or devices, we take a DC motor and a few LEDs that we want to control remotely.
The hardware requirements for this chapter will be:
- Raspberry Pi
- L293D motor driver IC
- DC motor
- Two LEDs
Since we have already been working with the Raspberry Pi and know it really well, we will focus on the details of the L293D motor driver, DC motor, and LED.