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, ...