THIS CHAPTER LOOKS AT controlling servos and motors using the BeagleBone Black. These power devices can be used in applications such as robotics, CNC machinery, and automated systems. You have already read a bit about using pulse width modulation (PWM) in Chapter 2, and in this chapter, we will use the full functionality of PWM to control servos and motors as well as their speed. We will also be looking at controlling items through a web interface, which will enable our projects to be controlled remotely from anywhere in the world.
Project 14Controlling Servos and Motors
Project 14 will give you a basic understanding of both servos and motors and how they are operated. By using the
analogWrite function, the BeagleBone ...