Evolution of a Blog
This blog has evolved as I have as a maker. It starts at the beginning of my journey where I began to re-tread my tires in the useful lore of micro electronics and the open-source software that can drive them. While building solutions around micro-electronics are still an occasional topic my more recent focus has been on the 3D Printing side of making.
Friday, February 22, 2013
Robot Kill Switch - GPIO
The picture shows the hardware. The push button is wired to pin 14 of the GPIO bus (blue wire). A 10k resistor connects that lead to ground (brown wire). The 3v power supply is connected to the other side of the push button. If the button is depressed during start-up the 'Bot will abort prior to starting any of it's modules. If it is pressed any time while the 'Bot is running it will shutdown cleanly.
Here is the code for the abort of start-up: