Bot Building

In this chapter, we have a task cut out to build a Wi-Fi-controlled robotic car. It will not just move forwards and backwards, but will also make left and right turns. Additionally, you will also be able to control the speed of the car using pulse-width modulation (PWM). So, let's build the bot.

We need the following hardware components to build the car:

  • Car chassis (toy car)
  • Two DC motors
  • Four plastic tires (to be fitted with DC motor and car chassis)
  • L293D motor driver IC
  • LEDs (6 to 8 pcs)
  • Battery bank

The following topics are covered in the chapter:

  • Pulse-width modulation
  • Wiring up the bot
  • Executing the commands

Since we have already used DC motor, L293D IC, and LEDs in Chapter 5, Controlling the Pi, we will not go through ...

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.