CHAPTER 7

image

Building a Light-Sensitive Box

This project, which was inspired by a jewelry box. In the previous projects, you worked with servo motors, which predominantly have a limited field of motion of 180 degrees, but what happens if you want to make something turn all the way around, like the ornamentation in a jewelry box? This project will allow you to do so based on whether the box is open or closed.

Most jewelry boxes have a button hidden somewhere that controls the motor and tells the ornament to spin, but you will take a more technological approach to this concept. Instead, you will read how much light is in the box and based on that, ...

Get Arduino and LEGO Projects 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.