Images

CHAPTER

4

IoT Hat

This chapter shows you how to take advantage of your technical capabilities to build a magic prop that you can use to impress your friends. Well, they will probably be more impressed with your wearable Raspberry Pi hacking skills than your magic skills, but in either case it makes for a great conversation piece.

We are going to build a magic top hat that is capable of divining the values of seemingly ordinary playing cards. By simply brushing the playing cards over the top of the hat or dropping them in the hat one at a time, we will instantly know the value of whatever card in the deck was used. With a little clever scripting, ...

Get Raspberry Pi with Java: Programming the Internet of Things (IoT) 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.