Editing Snap-O-Lantern Kit Assembly Instructions

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
This page is part of the documentation for the [[Snap-O-Lantern]] kit.
+
 
 +
== INSTRUCTIONS: COMING SOON. ==
 +
 
 +
 
 +
''Instructions for building the [[Snap-O-Lantern]] kit will be posted on Tuesday, October 15. ''
 +
 
 +
 
 +
 
 +
 
  
 
== What's included with the kit? ==
 
== What's included with the kit? ==
  
http://shop.emscdn.com/wiki/snapolantern/1.jpg
+
* See the [[Snap-O-Lantern_Bill_of_Materials|Snap-O-Lantern kit Bill of Materials]] for a complete list.
  
See the [[Snap-O-Lantern_Bill_of_Materials|Snap-O-Lantern kit Bill of Materials]] for a complete list and quantities.
 
  
 
== Tools required for assembly ==
 
== Tools required for assembly ==
Line 22: Line 29:
 
== Assembly procedure ==
 
== 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 if it has been a while, you may also want to look at pages 2 and 5-7 of the [[Bulbdial|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 [http://www.instructables.com/id/How-to-solder/ this one].
+
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|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 [http://www.instructables.com/id/How-to-solder/ this one].
 +
  
== Wire up the eyes ==
 
  
http://shop.emscdn.com/wiki/snapolantern/2.jpg
+
=== 0.  The Snap-O-Lantern kit ===
 +
 
 +
Here are all the components that make up the kit:
 +
 +
http://shop.emscdn.com/wiki/snapolantern/1.jpg
  
You have two pairs of wires, and two orange LEDs. Solder the long lead of the LED to the lighter wire, and the short lead 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.
+
You can also go to the [[Snap-O-Lantern_Bill_of_Materials|Bill of Materials]] for the full list and quantities.  
  
  
== First component on the PCB: Socket ==
+
== Assembly procedure ==
  
http://shop.emscdn.com/wiki/snapolantern/2-5.jpg
+
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|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 [http://www.instructables.com/id/How-to-solder/ this one].
 +
  
The IC socket goes in the big rectangle in the middle of the circuit board, marked "'tiny2313".  One end of that rectangle has a little "half-moon" notch (indentation) at one end.  The socket has a matching notch, as does the microcontroller.  Insert the socket into the circuit board, making sure that all 20 pins go through the holes, and matching the notched end of the socket to the drawing on the circuit board.  Solder all 20 pins of the socket in place.
 
  
  
http://shop.emscdn.com/wiki/snapolantern/0.jpg
+
=== 1. First step: wire up the eyes ===
  
Next, we'll 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.
+
http://shop.emscdn.com/wiki/snapolantern/2.jpg
  
 +
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.
  
  
== Hooking up the resistors and LEDs ==
+
=== 2. First component: Socket ===
  
http://shop.emscdn.com/wiki/snapolantern/3.jpg
+
http://shop.emscdn.com/wiki/snapolantern/0.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.  
+
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.
  
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).  
+
First, install the socket, matching the half moon notch in the socket to the shape on the board. Solder the socket in place.  
  
Connect the second LED similarly, with the light wire to the second prototyping row and the dark wire to the remaining accessible ground location.
 
  
== Servo port ==
+
=== 3. Hooking up the resistors and LEDs ===
  
 
http://shop.emscdn.com/wiki/snapolantern/4.jpg
 
http://shop.emscdn.com/wiki/snapolantern/4.jpg
  
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 away from pin 13 (labeled PB1/AIN1/PCINT1) to the top prototyping row below. (These will connect the two range options for the servo motor.)
+
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.  
  
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.  
+
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).  
  
Finally, install the 6-pin DIL header with one pin in each of the top two prototyping rows and across the first two columns. The tall pins should go up so that you can fit the servo connector to them. The short ends go down through the board for soldering.
+
Connect the second LED similarly, with the light wire to the second prototyping row and the dark wire to the remaining accessible ground location.  
  
== Battery box and microcontroller ==
 
  
http://shop.emscdn.com/wiki/snapolantern/5.jpg
+
=== 4. Servo port ===
  
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.  
+
http://shop.emscdn.com/wiki/snapolantern/4.jpg
  
The final step for assembly of the electronics is to insert the microcontroller into its socket. Note that it may be either an ATtiny2313 or ATtiny4313. 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.
+
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.  
  
== Servo motor setup and testing ==
+
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.
  
http://shop.emscdn.com/wiki/snapolantern/servo1.jpg
+
Finally, install the 6-pin DIL header with one pin in each of the top two prototyping rows and across the first two columns.  
  
Take the servo horn, and push it onto the servo motor shaft.  (Do not screw it in place; its position is not final yet.)
 
  
Gently turn the motor by the servo horn until it reaches its stops, first one way, then the other way. The total range is about half of a turn. Locate the center position for your particular servo, which will be halfway between its two ends of travel. Once you know where center is, point the servo horn in that direction.  This orients the output shaft in the correct direction. Then, remove the servo horn, taking care to move the motor shaft as little as possible in the process.
+
=== 5. Battery box ===
  
 +
http://shop.emscdn.com/wiki/snapolantern/5.jpg
  
http://shop.emscdn.com/wiki/snapolantern/servo2.jpg
+
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.  
 
 
Now that the servo shaft is centered, we need to place the servo horn at the correct angle.  Orient the servo horn as shown: the horn points slightly above and away from the cable. Press the servo horn onto the shaft.
 
 
 
 
 
http://shop.emscdn.com/wiki/snapolantern/servo3.jpg
 
 
 
Use the small screw from the servo bag to fix the servo horn in place.  
 
 
 
 
 
http://shop.emscdn.com/wiki/snapolantern/servo4.jpg
 
 
 
The servo extender has a few holes for varying the length when attached to the horn. The two small screws (that were not included in the servo bag) will self tap into the pilot holes in the servo horn. However, if you use the hole in the very tip of the servo horn, it may split open, so it is better to use two of the other holes.
 
 
 
 
 
http://shop.emscdn.com/wiki/snapolantern/servo6.jpg
 
 
 
Use the two small screws to connect the servo horn extender to the servo horn.
 
 
 
 
 
http://shop.emscdn.com/wiki/snapolantern/6-1.jpg
 
 
 
Connect the servo motor to the lower row of the 6-pin header with the dark wire connected to ground on the right side of the board. Put batteries in the battery holder and turn it on. Allow it to go through the full range of motion. The lower position should be the smaller range.
 
 
 
http://shop.emscdn.com/wiki/snapolantern/6-2.jpg
 
  
Move the servo motor to the upper row of the 6-pin header to try out the larger range: one or the other position may work better for the size of your mini-pumpkin.
 
  
== Pumpkin Carving ==
+
=== 5. Microcontroller ===
  
Mini-pumpkins are typically available at grocery stores and supermarkets near the larger pumpkins. They are often placed with the decorative gourds. You can usually buy them singly, but sometimes they're bagged in sets of four or five. You may also be able to find them at florist shops for use in fall centerpieces, but they'll likely be more costly than at a grocery store.  
+
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.  
  
Please see the [http://www.evilmadscientist.com/2007/make-a-robotic-snap-o-lantern/ original Snap-O-Lantern article] for carving instructions.  
+
=== 6.Servo motor setup and testing ===
  
http://shop.emscdn.com/wiki/snapolantern/9.jpg
+
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.  
  
You can use the holes in the mounting tabs on the servo motor sides to mount part of a toothpick to help hold your servo motor into your pumpkin. Alternately, you can hold your servo motor down with toothpicks anchored entirely above it. If your servo motor sits too low or unevenly in your pumpkin, a scrap of cardboard makes a good leveling surface.
+
**Servo horn instructions in progress**

Please note that all contributions to Evil Mad Scientist Wiki are considered to be released under the GNU Free Documentation License 1.3 (see Evil Mad Scientist Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)