Chapter 2. Building the Electronics

This chapter guides you through the electronic systems that will control your robot. Both the two wheeled and four wheeled platforms use the same modules, a pre-built Arduino board (Arduino Uno or Leonardo), and a motor controller kit. The motor controller featured in this book is the AFMotor shield from Adafruit Industries. Although other motor controllers can be used (see Appendix B) the AFMotor shield provides convenient connections for the signals and power to all the sensors and devices covered in this book. It is also capable of driving four motors, which is required for the four wheel drive chassis.

Although the attachment of the boards to the robot differs somewhat depending on the chassis, the building ...

Get Make an Arduino-Controlled Robot 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.