Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning IoT with Particle Photon and Electron

You're reading from  Learning IoT with Particle Photon and Electron

Product type Book
Published in Sep 2016
Publisher
ISBN-13 9781785885297
Pages 136 pages
Edition 1st Edition
Languages
Authors (3):
Rashid Khan Rashid Khan
Profile icon Rashid Khan
Kajari Ghoshdastidar Kajari Ghoshdastidar
Profile icon Kajari Ghoshdastidar
Ajith Vasudevan Ajith Vasudevan
Profile icon Ajith Vasudevan
View More author details
Toc

Putting it all together and controlling the car


Once the prerequisites are in place, you can start assembling the model car. First of all, fasten the motors to the chassis, one on each side of either the front or back side of the car, with the provided screws and clamps. The motors should appear to be driving the same axle. Next, attach a wheel to each of the two DC motor shafts; now attach the two remaining wheels to the non-motorized (imaginary) axle of the car.

Place the breadboard inside the chassis of the car, and assemble the Photon, the L293D motor driver IC, the Li-Po battery, and the 3-6V DC power supply on the breadboard. Now you should make the connections using the jumper wires as per the following connection diagram:

Figure 8: Photon to motor driver connection diagram

In this connection diagram, the ground (GND) connections are omitted for clarity. In actual practice, all GND pins need to be connected together, and this common ground point needs to be connected to the negative...

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 $15.99/month. Cancel anytime}