Shown above are the ingredients for the build and the frame of the device assembled. Now that we know what we need, here is the schematic/info sheet for the build:
The image above shows the schematic. Besides this schematic, I wrote down which GPIO(General Purpose I/O) must be high for the corresponding led lights. On the right, you see the table for the used ports and their associated pin numbers. The frame for the electronics was built in the following way:
An Altoids case was cut apart so that it could be soldered to the paperclip to create a solid working space. The paperclip was widened so that it would clip around the eye patch and the CR2032 battery. The header seen on the back of the device is an ICSP header used to program the device. Most of the frame is covered in tape as the frame would be tied to the positive voltage supply of the battery. In wiring the device, I used 26 AWG enameled wire to connect all the pins.
As the frame was tied to positive I had less wires to run as the components could be tied to the frame for positive voltage. The resistor I mentioned earlier is seen on top of the microcontroller (I scavenged it from somewhere, along with the red led). The following images show the assembled device from top and bottom (with its skin on) and how the device would be used, from top and bottom:
The device operates when the paperclip is clipped around the mask and the battery and a
wire from ground is placed between the negative terminal of the battery and the mask. The source code for this build will be uploaded in the next post.
No comments:
Post a Comment