button

RaspberryPi shutdown button

RaspberryPi shutdown button

Last Friday I got some spare time (finally!) and, with the help and tools of my friend Alfredo, we placed a button in the RaspberryPi case so, when I push it, a custom command its executed on the RaspberryPi, like for example, a clean system shutdown. We mainly followed this post, but used a different

RaspberryPi shutdown button Read More »

Hardware button and LED to control association in wireless networks

Hardware button and LED to control association in wireless networks

Almost all wireless technologies use some kind of association process to enable devices to join the network. Such a process is typically initiated by pressing a button on the network controller and by subsequently pressing another button on the device to associate. Software gateways, like Dog, cannot naturally support this press-and-join interaction and the association

Hardware button and LED to control association in wireless networks Read More »

3 More LEDs and a Button

3: More LEDs and a Button

So we now have a traffic light/pelican (Tux!) crossing simulator. The 2nd Red LED is connected to wiringPi pin 3, (GPIO-22), and the 2nd Green LED is connected to wiringPi pin 4, (GPIO-23). Test them as before with the gpio command, e.g. for i in 0 1 2 3 4 ; do gpio mode $i

3: More LEDs and a Button Read More »

Scroll to Top