Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

9. Project: Lamp

Chapter 9. Project: Lamp

IN THIS CHAPTER

Parts List

Assembly Instructions

Program the Lamp

The Next Chapter

The Lamp project creates a Lego light that can be controlled via smartphone
Figure 9-1. The Lamp project creates a Lego light that can be controlled via smartphone

For our final project we’re going to create a lamp out of Legos that uses translucent bricks as the shade. We chose a classic kid’s night light for the bulb, in part because it’s very compact—all the better to fit in the modest confines of the Lamp project’s interior—as well as because of its low heat output.

You might express alarm at the prospect of triggering wall current with your Arduino. Is it safe? As long as you’re careful! We use a hobbyist power cord (see the sidebar, POWERSWITCH TAILS) that connects the night light to AC current in a way that’s as safe and effective as flicking a light switch. It’s a great tool that will encourage you to do more high voltage projects without your Arduino without getting fried.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint