Chapter 2: Exploring Robot Building Blocks – Code and Electronics
In this chapter, we'll take a robot apart to see its parts and systems. We'll explore the components of a robot, both the software (code, commands, and libraries) and the hardware, and how they go together. When starting to make a robot, it's valuable to think about the parts you want and how they relate to one another. I recommend sketching a plan of your robot—a block diagram as a guide to the connected code and parts, which we will explore in this chapter as well.
In this chapter, we will be covering the following topics:
- Looking at what's inside a robot
- Exploring types of robot components
- Exploring controllers and I/O
- Planning components and code structure
- Planning the physical robot