The Amazon Dash button is a great new device that can be bought for only $5. Very shortly after the release of it the first working hack of it was published online. It showed you how to detect when the button was pushed on your computer and to launch a program in response to it using a few lines of python code. I was very impressed with the hack and I wondered if I could make it run something on hardware instead. My first thought was the Raspberry Pi.
In this tutorial I will show you how to use a Raspberry Pi with the Dash Button to control a lamp or any other electronic device.
1.Raspberry Pi-I would recommend using the new Raspberry Pi 2 or you could use the B/B+.You will also need the basics for it such as a mouse,keyboard, power supply, and display.
2.Amazon Dash Button-Any product button will do, just make sure to not set it up when you get it.
3.PowerSwitch Tail II-This is used by the Raspberry Pi to turn on and off any AC electronic device.
4.SD Card-You will need to install a fresh copy of Raspbian onto it. Make sure that it is 4GB or more.
5.Wifi Adapter-This is to make sure that your Raspberry Pi can connect to the internet to recieve an ARP probe any time the button is pushed.
6.Raspberry Pi ribbon cable-this is not needed if you want to solder or use alligator clips to connect the PowerSwitch Tail to your Raspberry Pi's GPIO connectors.
7. Any AC Device- this is up to you to decide what device you want to turn on. I will use a my bedroom lamp for this experiment.