Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Internet of Things with Raspberry Pi 3

You're reading from   Internet of Things with Raspberry Pi 3 Leverage the power of Raspberry Pi 3 and JavaScript to build exciting IoT projects

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788627405
Length 248 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Maneesh Rao Maneesh Rao
Author Profile Icon Maneesh Rao
Maneesh Rao
Arrow right icon
View More author details
Toc

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 them in detail again. We will concentrate on building the car structure and programming part.

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime