6CUSTOMIZING WITH LIGHTS AND SOUND

MAKING YOUR ROBOT STAND OUT FROM THE CROWD CAN BE A WHOLE LOT OF FUN. IN THIS CHAPTER, I’LL SHOW YOU HOW TO ADD LIGHTS AND SPEAKERS TO YOUR ROBOT TO MAKE IT FLASHIER, LOUDER, AND MORE EXCITING. AS USUAL, WE’LL COVER THE THEORY, THE PARTS YOU’LL NEED, AND HOW TO USE THEM.

ADDING NEOPIXELS TO YOUR RASPBERRY PI ROBOT

One of the best ways to grab attention is to have your robot put on a light show. With the right code and wiring and the help of some bright and colorful LEDs, you can make dazzling spectacles as your robot scuttles around the floor!

In this project you’ll outfit your robot with a string of super-bright, multicolor LEDs. I’ll guide you through getting the components, wiring them up, and programming ...

Get Learn Robotics with Raspberry Pi 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.