You'll need your Pi, Cobbler, PWM hat, 2 hobby servos, and the AA battery pack from Chapter 6, Using Motors to Move Your Project. You'll also need a continuous servo. Finally, you'll need your light sensor. Optional, but helpful, is a Popsicle or other small stick and some tape for turning our servo into a meter.
The code for this chapter is available at:Â https://github.com/PacktPublishing/Hands-On-Robotics-with-JavaScript/tree/master/Chapter07.