Instructables

Building a device that clips to your belt and tracks how much time you spend inside and outside

Featured

Step 11: Wiring plan for button

Picture of Wiring plan for button
With the use of a 2.2K Ohm resister and a simple button, we will add the ability to signal to the device that we are ready to off-load data.  The button itself has 4 leads.  We first lay out the wiring of this connection on a breadboard to validate the wiring scheme. This enables us to test the button and ensure we will get a good signal.  We also do this so that one can clearly see how the wiring will work. The hot and ground are on the top side of this button.  The ground also has a 2.2K Ohm resister coming off of it.  The signal line is attached to the lead opposite the ground and runs to digital 6 on the Arduino WiFi Shield.  The ground runs to the common ground.  In an effort to reduce the number of wires we need to solder we will power the button through Digital 3.  Thus in this picture the hot is being fed by digital 3.
 
Remove these adsRemove these ads by Signing Up