Chapter 3. Building the Two-Wheeled Mobile Platform

This chapter provides advice on the construction of a Two Wheel Drive (2WD) chassis with front caster, as shown in Figure 3-1. Construction is straightforward; you can follow the detailed steps or improvise if you want to customize your robot. The chapter also shows how you attach and connect sensors used in the projects covered in later chapters.

If you prefer to build a two wheeled robot of your own design, you should read the sections on attaching control electronics and sensors; this will prepare you to use the code for the projects in the chapters to come. Information in this chapter my also provide some ideas to help with the design of your own robot.

2WD Robot Chassis

Figure 3-1. 2WD Robot Chassis

Hardware Required

See for a detailed parts list.

  • Tools listed in Tools

  • The assembled electronics (see Chapter 2, Building the Electronics

  • 2WD Mobile Platform (two wheeled robot kit made by DFRobot)

  • Two 0.1uF ceramic capacitors

  • Two lengths of 3 conductor ribbon cable, two 3 way 0.1" headers for edge sensors

  • Optional: charging circuit resistors and diode, see detailed parts list

Mechanical Assembly

Lay Out the Chassis Parts

Figure 3-2 shows all of the parts contained in the 2WD chassis package. The three black brackets to the left of the figure are not needed for any of the projects in this book.

Figure 3-2. 2WD Chassis ...

Get Make an Arduino-Controlled Robot now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.