Difference between revisions of "Snap-O-Lantern Kit Assembly Instructions"
(→6.Servo motor setup and testing) |
(→3. Hooking up the resistors and LEDs) |
||
Line 67: | Line 67: | ||
=== 3. Hooking up the resistors and LEDs === | === 3. Hooking up the resistors and LEDs === | ||
− | http://shop.emscdn.com/wiki/snapolantern/ | + | http://shop.emscdn.com/wiki/snapolantern/3.jpg |
Using the first 1K resistor, connect pin 8 (labeled T0/PD4) to the top row of prototyping holes directly below, in the second hole from the chip. Use the second 1K resistor to connect pin 9 (labeled OC0B/T1/PD5) to the second prototyping row below, using the hole closest to the chip. | Using the first 1K resistor, connect pin 8 (labeled T0/PD4) to the top row of prototyping holes directly below, in the second hole from the chip. Use the second 1K resistor to connect pin 9 (labeled OC0B/T1/PD5) to the second prototyping row below, using the hole closest to the chip. | ||
Line 73: | Line 73: | ||
Connect the lighter wire of your first LED to the upper prototyping row, and the darker wire to ground (pin 10 is conveniently nearby and connected to ground). | Connect the lighter wire of your first LED to the upper prototyping row, and the darker wire to ground (pin 10 is conveniently nearby and connected to ground). | ||
− | Connect the second LED similarly, with the light wire to the second prototyping row and the dark wire to the remaining accessible ground location. | + | Connect the second LED similarly, with the light wire to the second prototyping row and the dark wire to the remaining accessible ground location. |
− | |||
=== 4. Servo port === | === 4. Servo port === |
Revision as of 11:05, 15 October 2013
Contents
INSTRUCTIONS: COMING SOON.
Instructions for building the Snap-O-Lantern kit will be posted on Tuesday, October 15.
What's included with the kit?
- See the Snap-O-Lantern kit Bill of Materials for a complete list.
Tools required for assembly
- Small (0 or 00 size) phillips screwdriver
- Soldering Tools
- Pumpkin carving tools
Supplies required for assembly
- A mini pumpkin! Typical mini-pumpkins are 3-4 inches in diameter. Larger pumpkins can be much heavier, and likely will not work with the kit.
- Three AA cells
Assembly procedure
We'll go line by line through the kit components. This guide assumes that you have had some soldering experience. If not, or it's been a while, you may also want to look at pages 2 and 5-7 of the Bulbdial clock assembly instructions, which go over basic tools and technique. And, if you really are a beginner, there are plenty of good tutorials on line, like this one.
0. The Snap-O-Lantern kit
Here are all the components that make up the kit:
You can also go to the Bill of Materials for the full list and quantities.
Assembly procedure
We'll go one by one through the kit components. This guide assumes that you have had some soldering experience. If not, or it's been a while, you may also want to look at pages 2 and 5-7 of the Bulbdial clock assembly instructions, which go over basic tools and technique. And, if you really are a beginner, there are plenty of good tutorials on line, like this one.
1. First step: wire up the eyes
You have two pairs of wires, and two orange LEDs. Solder the long lead of the LED to the lighter wire, and the short leg to the darker one. Your wire pair colors may vary, but here, the yellow wire goes to the long lead and the blue one to the short lead. You can trim both the leads (as shown), or leave one long to stick into the top of the pumpkin.
2. First component: Socket
Follow along with the circuit diagram, as we populate the ATtiny2313 board. The board provides some of the necessary connections, such as pin 20 to power and pin 10 to ground. It also provides prototyping areas for us to hook up the remaining parts to.
First, install the socket, matching the half moon notch in the socket to the shape on the board. Solder the socket in place.
3. Hooking up the resistors and LEDs
Using the first 1K resistor, connect pin 8 (labeled T0/PD4) to the top row of prototyping holes directly below, in the second hole from the chip. Use the second 1K resistor to connect pin 9 (labeled OC0B/T1/PD5) to the second prototyping row below, using the hole closest to the chip.
Connect the lighter wire of your first LED to the upper prototyping row, and the darker wire to ground (pin 10 is conveniently nearby and connected to ground).
Connect the second LED similarly, with the light wire to the second prototyping row and the dark wire to the remaining accessible ground location.
4. Servo port
Using a zero-ohm jumper, connect the closest hole at pin 12 (labeled PB0/AIN0/PCINT0) to the second prototyping row directly below. Use the next zero-ohm jumper to connect the second hole way from pin 13 (labeled PB1/AIN1/PCINT1) to the top prototyping row below. These will form the two range options for the servo motor.
The third zero-ohm jumper connects the left-most prototyping column to VCC_3 directly to the right. Connect the final jumper from the middle prototyping column to GND_3, also directly to the right.
Finally, install the 6-pin DIL header with one pin in each of the top two prototyping rows and across the first two columns.
5. Battery box
Connect the red wire from the battery box to VCC_IN+. Connect the black wire to GND_IN. You can use the holes that would have been for a jack to provide strain relief for the battery box wires.
5. Microcontroller
The final step for assembly of the electronics is to insert the microcontroller into its socket. Orientation is critical: Make sure that the half-moon indentation at one end of the chip matches that on the socket and PCB. Insert it firmly, as far down into the socket as it will go.
6.Servo motor setup and testing
Connect the servo motor to one row of the 6-pin header with the dark wire connected to ground on the right side of the board.
Servo horn instructions in progress