Controlling the Pi

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.

Get Internet of Things with Raspberry Pi 3 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.