tag:blogger.com,1999:blog-35745153151758692792024-03-13T04:58:19.077-07:00Electrical and ElectronicsA COMPLETE MAGAZINE FOR EEE
you can find all topics,books,articles,projects and everything else related to electrical and electronics & there's lots of fun awaiting for you so take what all you need and have loads of fun hope this blog will be helpfull to you
- rahuluppala@gmail.comrahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.comBlogger127125tag:blogger.com,1999:blog-3574515315175869279.post-66187527231076114982011-05-01T10:36:00.000-07:002011-05-01T10:37:54.204-07:00A simple homemade Van de Graaff generator<span class="Apple-style-span" ><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a name="electromagnetism"></a></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><dl><a href="http://scitoys.com/scitoys/scitoys/electro/electro.html#motor"></a><dt><br /></dt></dl></td><td width="50"><br /></td></tr></tbody></table><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a name="vdg"></a><h2>A simple homemade Van de Graaff generator</h2></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">In the previous two projects, we stole high voltage from a television set to power our high voltage motors. In this project we will build a device that can generate 12,000 volts from an empty soda can and a rubber band.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The device is called a Van de Graaff generator. Science museums and research facilities have large versions that generate potentials in the hundreds of thousands of volts. Ours is more modest, but is still capable of drawing 1/2 inch sparks from the soda can to my finger. The spark is harmless, and similar to the jolt you get from a doorknob after scuffing your feet on the carpet.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">To build the toy, you need:<ul><li>An empty soda can</li><li>A small nail</li><li>A rubber band, 1/4 inch by 3 or 4 inches</li><li>A 5x20 millimeter GMA-Type <a href="http://scitoys.com/scitoys/scitoys/electro/vdg/fuse_pack.jpg">electrical fuse</a> (such as Radio Shack #270-1062)</li><li>A small <a href="http://scitoys.com/scitoys/scitoys/electro/vdg/small_motor.jpg">DC motor</a> (such as Radio Shack #273-223)</li><li>A battery clip (Radio Shack #270-324)</li><li>A battery holder (Radio Shack #270-382)</li><li>A styrofoam cup (a paper cup will also work)</li><li>A hot glue gun (or regular glue if you don't mind waiting)</li><li>Two 6 inch long stranded electrical wires (such as from an extension cord)</li><li>Two pieces of 3/4 inch PVC plumbing pipe, each about 2 or 3 inches long</li><li>One 3/4 inch PVC coupler</li><li>One 3/4 inch PVC T connector</li><li>Some electrical tape</li><li>A block of wood</li></ul></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">That sounds like a lot of stuff, but take a look at the step-by-step photos below, and you will find that the whole project can easily be put together in an evening, once all the parts have been collected.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">We'll start at the bottom, and work our way up.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/vdg/step_1.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/vdg/small_step_1.jpg" width="640" height="526" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The first thing to do is to cut a 2 to 3 inch long piece of 3/4 inch PVC pipe, and glue that to the wooden base. This piece will hold the generator up, and allow us to remove it to more easily replace the rubber band, or make adjustments.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The PVC "T" connector will hold the small motor. The motor fits too loosely by itself, so we wrap paper or tape around it to make a snug fit. The shaft of the motor can be left bare, but the generator will work a little better if it is made fatter by wrapping tape around it, or (better) putting a plastic rod with a hole in the center onto the shaft to act as a pulley for the rubber band.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Next, we drill a small hole in the side of the PVC "T" connector, just under the makeshift pulley on the motor. This hole will be used to hold the lower "brush", which is simply a bit of stranded wire frayed at the end, that is <i><b>almost</b></i> touching the rubber band on the pulley.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">As the photo shows, the stranded wire is held in place with some electrical tape, or some other tape or glue.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The rubber band is now placed on the pulley, and allowed to hang out the top of the "T" connector.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/vdg/step_2.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/vdg/small_step_2.jpg" width="640" height="705" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Next, cut another 3 or 4 inch piece of 3/4 inch PVC plumbing pipe. This will go into the top of the "T" connector, with the rubber band going up through it. Use the small nail to hold the rubber band in place, as in the photo below. The length of the PVC pipe should be just enough to fit the rubber band. The rubber band should not be stretched too tightly, since the resulting friction would prevent the motor from turning properly, and increase wear on the parts.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/vdg/step_3.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/vdg/small_step_3.jpg" width="640" height="738" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Cut the styrofoam cup about an inch from the bottom, and carefully cut a 3/4 inch diameter hole in the center of the bottom of the cup. This hole should fit snugly onto the 3/4 inch PVC pipe.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/vdg/step_4.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/vdg/small_step_4.jpg" width="640" height="671" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Now drill three holes near the top of the PVC union coupling. Two of these holes need to be diametrically opposite one another, since they will hold the small nail which will act as an axle for the rubber band. The third hole is between the other two, and it will hold the top "brush", which, like the bottom brush, will almost touch the rubber band.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The top brush is taped to the PVC union coupler, and the coupler is placed on the 3/4 inch pipe, above the styrofoam cup collar. The rubber band is threaded through the coupler, and held in place with the small nail, as before.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Bare the top brush (so it has no insulation) and twist it to keep the individual wires from coming apart. You can solder the free end if you like, but it is not necessary.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The free end of the top brush will be curled up inside the empty soda can when we are done, and thus electrically connect the soda can to the top brush.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/vdg/step_5.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/vdg/small_step_5.jpg" width="640" height="938" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">We need a small glass tube to act as both a low-friction top pulley, and as a "triboelectric" complement to the rubber band, to generate static electricity by rubbing. Glass is one of the best materials to rub against rubber to create electricity.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">We get the tube by taking apart a small electrical fuse. The metal ends of the fuse come off easily if heated with a soldering iron or a match. The solder inside them drips out when they come off, so be careful. The glass, the metal cap, and the molten solder are all quite hot, and will blister the skin if you touch them before they cool.<br /><b><i>Save the metal caps -- we will use them in a future project!</i></b></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/vdg/heat_the_fuse.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/vdg/small_heat_the_fuse.jpg" width="640" height="531" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The resulting glass tube has nice straight, even edges, which are "fire polished" for you, so there is no sharp glass, and no uneven edges to catch on the PVC and break the glass.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The next step is a little tricky. The small nail is placed through one of the two holes in the PVC union coupler, and the small glass tube is placed on the nail. Then the rubber band is placed on the glass tube, and the nail is then placed in the second hole. The rubber band is on the glass tube, which is free to rotate around the nail.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/vdg/step_6.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/vdg/small_step_6.jpg" width="640" height="739" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Now we glue the styrofoam collar in place on the PVC pipe. I like to use a hot glue gun for this, since the glue can be laid on thickly to stabilize the collar, and it sets quickly and does not dissolve the styrofoam.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/vdg/step_7.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/vdg/small_step_7.jpg" width="640" height="542" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">At this point we are ready for the empty soda can. Aluminum pop-top cans are good for high voltage because they have nice rounded edges, which minimizes "corona discharge".</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">With a sharp knife, carefully cut out the top of the soda can. Leave the nice crimped edge, and cut close to the side of the can so as to leave very little in the way of sharp edges. You can smooth the cut edge by "stirring" the can with a metal tool like a screwdriver, pressing outward as you stir, to flatten the sharp edge.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Tuck the free end of the top brush wire into the can, and invert the can over the top of the device, until it rests snugly on the styrofoam collar.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/vdg/step_8.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/vdg/small_step_8.jpg" width="640" height="738" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The last step is to attach the batteries. I like to solder a battery clip to the motor terminals, and then clip this onto either a nine-volt battery, or a battery holder for two AA size batteries. The nine-volt battery works, but it runs the motor too fast, making a lot of noise, and risking breakage of the glass tube. It does, however, make a slightly higher voltage, until the device breaks.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/vdg/step_9.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/vdg/small_step_9.jpg" width="640" height="527" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">To use the Van de Graaff generator, simply clip the battery to the battery clip. If the brushes are very close to the ends of the rubber band, but not touching, you should be able to feel a spark from the soda can if you bring your finger close enough. It helps to hold onto the free end of the bottom brush with the other hand while doing this.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/vdg/step_10.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/vdg/small_step_10.jpg" width="640" height="803" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">To use our generator to power the Franklin's Bells we built in the previous section of the book, clip the bottom brush wire to one "bell", and attach a wire to the top of the generator, connecting it to the other "bell".</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The pop-top clapper of the Franklin's Bells should start jumping between the soda cans. It may need a little push to get started.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/vdg/vdg_in_action.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/vdg/small_vdg_in_action.jpg" width="640" height="526" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><h2>How does it do that?</h2></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">You may have at one time rubbed a balloon on your hair, and then made the balloon stick to the wall. If you have never done this, try it!</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The Van de Graaff generator uses this trick and two others to generate the high voltage needed to make a spark.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><h3>The first trick</h3>When the balloon made contact with your hair, the molecules of the rubber touched the molecules of the hair. When they touched, the molecules of the rubber attract electrons from the molecules of the hair.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Then you take the balloon away from your hair, and some of those electrons stay with the balloon, giving it a negative charge.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The extra electrons on the balloon repel the electrons in the wall, pushing them back from the surface. The surface of the wall is left with a positive charge, since there are fewer electrons than when it was neutral.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The positive wall attracts the negative balloon with enough force to keep it stuck to the wall.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">If you collected a bunch of different materials and touched them to one another, you could find out which ones were left negatively charged, and which were left positively charged.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">You could then take these pairs of objects, and put them in order in a list, from the most positive to the most negative. Such a list is called a<i>Triboelectric Series</i>. The prefix <i>Tribo-</i> means "to rub".</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><h3>The Triboelectric series</h3><ul><b>Most positive<br />(items at this end lose electrons)</b><p></p><li>asbestos</li><li>rabbit fur</li><li>glass</li><li>hair</li><li>nylon</li><li>wool</li><li>silk</li><li>paper</li><li>cotton</li><li>hard rubber</li><li>synthetic rubber</li><li>polyester</li><li>styrofoam</li><li>orlon</li><li>saran</li><li>polyurethane</li><li>polyethylene</li><li>polypropylene</li><li>polyvinyl chloride (PVC pipe)</li><li>teflon</li><li>silicone rubber<b></b><p><b>Most negative<br />(items at this end steal electrons)</b></p></li></ul></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Our Van de Graaff generator uses a glass tube and a rubber band. The rubber band steals electrons from the glass tube, leaving the glass positively charged, and the rubber band negatively charged.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><img src="http://sci-toys.com/scitoys/scitoys/electro/vdg/vdg_drawing_2.jpg" width="452" height="637" /></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><h3>The second trick</h3>The triboelectric charging is the first trick. The second trick involves the wire brushes.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">When a metal object is brought near a charged object, something quite interesting happens. The charged object causes the electrons in the metal to move. If the object is charged negatively, it pushes the electrons away. If it is charged positively, it pulls the electrons towards it.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Electrons are all negatively charged. Because like charges repel, and electrons are all the same charge, electrons will always try to get as far away from other electrons as possible.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">If the metal object has a sharp point on it, the electrons on the point are pushed by all of the other electrons in the rest of the object. So on a point, there are a lot of electrons pushing from the metal, but no electrons pushing from the air.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">If there are enough extra electrons on the metal, they can push some electrons off the point and into the air. The electrons land on the air molecules, making them negatively charged. The negatively charged air is repelled from the negatively charged metal, and a small wind of charged air blows away from the metal. This is called "corona discharge", because the dim light it gives off looks like a crown.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The same thing happens in reverse if the metal has too few electrons (if it is positively charged). At the point, all of the positive charges in the metal pull all the electrons from the point, leaving it very highly charged.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The air molecules that hit the metal point lose their electrons to the strong pull from the positive tip of the sharp point. The air molecules are now positive, and are repelled from the positive metal.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><h3>The third trick</h3>There is one more trick the Van de Graaff generator uses. After we understand the third trick, we will put all of the tricks together to see how the generator works.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">We said earlier that all electrons have the same charge, and so they all try to get as far from one another as possible. The third trick uses the soda can to take advantage of this feature of the electrons in an interesting way.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">If we give the soda can a charge of electrons, they will all try to get as far away from one another as possible. This has the effect of making all the electrons crowd to the outside of the can. Any electron on the inside of the can will feel the push from all the other electrons, and will move. But the electrons on the outside feel the push from the can, but they do not feel any push from the air around the can, which is not charged.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">This means that we can put electrons on the inside of the can, and they will be pulled away to the outside.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">We can keep adding as many electrons as we like to the inside of the can, and they will always be pulled to the outside.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><h3>Putting all three tricks together</h3></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">So now let's look at the Van de Graaff generator with our three tricks in mind.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The motor moves the rubber band around and around. The rubber band loops over the glass tube and steals the electrons from the glass.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The rubber band is much bigger than the glass tube. The electrons stolen from the glass are distributed across the whole rubber band.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The glass, on the other hand, is small. The negative charges that are spead out over the rubber band are weak, compared to the positive charges that are all concentrated on the little glass tube.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The strong positive charge on the glass attracts the electrons in the wire on the top brush. These electrons spray from the sharp points in the brush, and charge the air. The air is repelled from the wire, and attracted to the glass.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">But the charged air can't get to the glass, because the rubber band is in the way. The charged air molecules hit the rubber, and transfer the electrons to it.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The rubber band travels down to the bottom brush. The electrons in the rubber push on the electrons in the wire of the bottom brush. The electrons are pushed out of the wire, and into whatever large object we have attached to the end of the wire, such as the earth, or a person.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The sharp points of the bottom brush are now positive, and they pull the electrons off of any air molecules that touch them. These positively charged air molecules are repelled by the positively charged wire, and attracted to the electrons on the rubber band. When they hit the rubber, they get their electrons back, and the rubber and the air both lose their charge.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The rubber band is now ready to go back up and steal more electrons from the glass tube.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The top brush is connected to the inside of the soda can. It is positively charged, and so attracts electrons from the can. The positive charges in the can move away from one another (they are the same charge, so they repel, just like electrons). The positive charges collect on the outside of the can, leaving the neutral atoms of the can on the inside, where they are always ready to donate more electrons.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The effect is to transfer electrons from the soda can into the ground, using the rubber band like a conveyor belt. It doesn't take very long for the soda can to lose so many electrons that it becomes 12,000 volts more positive than the ground.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">When the can gets very positive, it eventually has enough charge to steal electrons from the air molecules that hit the can. This happens most at any sharp points on the can. If the can were a perfect sphere, it would be able to reach a higher voltage, since there would be no places where the charge was more concentrated than anywhere else.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">If the sphere were larger, an even higher voltage could be reached before it started stealing electrons from the air, because a larger sphere is not as "sharp" as a smaller one.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The places on our soda can where the curves are the sharpest are where the charge accumulates the most, and where the electrons are stolen from the air.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Air <i>ionizes</i> in an electric field of about 25,000 volts per inch. Ionized air conducts electricity like a wire does. You can see the ionized air conducting electricity, because it gets so hot it emits light. It is what we call a spark.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Since our generator can draw sparks that are about a half inch long, we know we are generating about 12,500 volts.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a name="paper"></a><h2>Some fun with the Van de Graaf generator</h2></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">One of the fun things to do with a Van de Graaff generator is to show how like charges repel.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><img src="http://sci-toys.com/scitoys/scitoys/electro/high_voltage/small_paper_before.jpg" width="308" height="480" /></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">We take a paper napkin, and cut thin strips of the lightweight paper. We then tape the ends of the paper together at one end, and tape that end onto the Van de Graaf generator.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The effect will look somewhat like long hair cascading down the soda can.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Now turn the Van de Graaff generator on. The thin strips of paper all get the same charge, and start to repel from one another. The effect is "hair raising". The strips start to stand out straight from the can, like the hair on the back of a scared cat.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/high_voltage/paper.avi"><img src="http://sci-toys.com/scitoys/scitoys/electro/high_voltage/small_paper_after.jpg" width="640" height="480" /><br /><span >Click on the image for an <b>animated movie</b></span></a></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a name="ionmotor"></a><h2>A high voltage ion motor</h2></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">This motor is very simple to build, and goes together in a few minutes. All you need is two pieces of wire, the small metal cap from the fuse we took apart in the previous project, and some cellophane tape.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The motor creates an ion wind that spins it around like a helicopter.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/high_voltage/ion_complete.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/high_voltage/small_ion_complete.jpg" width="640" height="499" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">First, take one piece of wire (a straightened paper clip will do), and cut the end at an angle so it is sharp. Bend the other end into a rough loop or triangle, so the wire will stand up with the sharp point facing straight up. A little tape will help hold it onto the table, or a block of wood.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/high_voltage/ion_apart.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/high_voltage/small_ion_apart.jpg" width="640" height="287" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The armature (the part that spins) is made from the other piece of wire and the metal cap we saved when we took apart the fuse. Sharpen both ends of the wire by cutting the ends at a diagonal, like we did with the base wire. Bend the wire into an S shape. The pointed ends of the wire should point at 90 degrees from the center straight part of the wire.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><a href="http://sci-toys.com/scitoys/scitoys/electro/high_voltage/ion_closeup.jpg"><img src="http://sci-toys.com/scitoys/scitoys/electro/high_voltage/small_ion_closeup.jpg" width="640" height="491" /></a><span >Click on the image for a larger picture</span></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Attach the metal cap to the center of the wire with tape. Place the cap onto the pointed end of the base wire, and bend the S shaped ends of the armature wire down, so it will balance easily on the sharp end of the base wire.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The armature should now spin freely if you tap it gently.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Connect a source of high voltage to the base wire using an alligator clip or a wire. The high voltage source can be the Van de Graaff generator, or just a couple square feet of aluminum foil pressed against the front of your television set, as we did in earlier projects.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">As the high voltage is turned on, the armature will start to spin in the direction away from the sharp points. The Van de Graaff generator may need a good ground, or a person holding onto the ground wire. The television will give the motor a good kick every time it is turned on or off, and turning it on and off every second will get it spinning quite rapidly.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><h2>How does it do that?</h2></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">The motor works by ionizing the air, and then pushing against the ionized air.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">As we explained in the previous project, electric charges are concentrated by sharp points. The sharp points on the ends of the armature concentrate the charges so much that the air around the points becomes charged as well.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400">Since the air has the same charge as the wire, the two repel one another. You can actually feel a small wind coming from the sharp point. As the wire pushes on the charged air, they both move away from one another. The air blows away, and the wire spins.</td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"></td><td width="50"> </td></tr></tbody></table><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><br /></span><table border="0" width="550" style="font-family: 'Times New Roman'; font-size: medium; "><tbody><tr><td width="50"> </td><td width="400"><p></p></td><td width="50"><br /></td></tr></tbody></table>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com4tag:blogger.com,1999:blog-3574515315175869279.post-3963019424169760752010-10-18T07:58:00.000-07:002010-10-18T08:08:44.006-07:00proteus at 89c2051 Layout<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_u9adiuTo4dM/TLxi77blhHI/AAAAAAAAADM/1QIzpLgntgM/s1600/at89c2051+bord.BMP"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 225px;" src="http://3.bp.blogspot.com/_u9adiuTo4dM/TLxi77blhHI/AAAAAAAAADM/1QIzpLgntgM/s320/at89c2051+bord.BMP" alt="" id="BLOGGER_PHOTO_ID_5529403224209327218" border="0" /></a><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_u9adiuTo4dM/TLxhZH5-hSI/AAAAAAAAADE/25H9JSHpdFE/s1600/out+look.bmp"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 315px; height: 250px;" src="http://1.bp.blogspot.com/_u9adiuTo4dM/TLxhZH5-hSI/AAAAAAAAADE/25H9JSHpdFE/s320/out+look.bmp" alt="" id="BLOGGER_PHOTO_ID_5529401526750971170" border="0" /></a><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_u9adiuTo4dM/TLxhY9y8JNI/AAAAAAAAAC8/6Gd53do9qQQ/s1600/at89c2051+bord.BMP"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 315px; height: 250px;" src="http://2.bp.blogspot.com/_u9adiuTo4dM/TLxhY9y8JNI/AAAAAAAAAC8/6Gd53do9qQQ/s320/at89c2051+bord.BMP" alt="" id="BLOGGER_PHOTO_ID_5529401524037100754" border="0" /></a>praveeniscoolhttp://www.blogger.com/profile/14822844999395482715noreply@blogger.com1tag:blogger.com,1999:blog-3574515315175869279.post-22227785214945619482010-10-05T04:44:00.001-07:002010-10-05T04:45:19.032-07:00basic line follower robot..<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_u9adiuTo4dM/TKsPxVyfFbI/AAAAAAAAACs/bA3k7zik9xc/s1600/line.bmp"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 242px;" src="http://2.bp.blogspot.com/_u9adiuTo4dM/TKsPxVyfFbI/AAAAAAAAACs/bA3k7zik9xc/s320/line.bmp" alt="" id="BLOGGER_PHOTO_ID_5524526708236948914" border="0" /></a>praveeniscoolhttp://www.blogger.com/profile/14822844999395482715noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-59027887952224261502010-10-03T07:47:00.000-07:002010-10-03T07:50:24.911-07:00AT89C52 RF ID BASED SECURITY SYSTEM DOOR OPEN AND CLOZ..<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_u9adiuTo4dM/TKiYENjT9YI/AAAAAAAAACk/ipq8fA9UyRs/s1600/RFID.bmp"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 242px;" src="http://2.bp.blogspot.com/_u9adiuTo4dM/TKiYENjT9YI/AAAAAAAAACk/ipq8fA9UyRs/s320/RFID.bmp" alt="" id="BLOGGER_PHOTO_ID_5523832141094581634" border="0" /></a>praveeniscoolhttp://www.blogger.com/profile/14822844999395482715noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-21695667294148651072010-10-02T13:22:00.000-07:002010-10-02T13:26:39.377-07:00cell phone operated robot.........<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_u9adiuTo4dM/TKeVc0vf5LI/AAAAAAAAACc/sNh19L2z8xw/s1600/DTMF+ROBO.bmp"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 242px;" src="http://4.bp.blogspot.com/_u9adiuTo4dM/TKeVc0vf5LI/AAAAAAAAACc/sNh19L2z8xw/s320/DTMF+ROBO.bmp" alt="" id="BLOGGER_PHOTO_ID_5523547790419944626" border="0" /></a>praveeniscoolhttp://www.blogger.com/profile/14822844999395482715noreply@blogger.com1tag:blogger.com,1999:blog-3574515315175869279.post-19815271968017417432010-10-02T13:00:00.000-07:002010-10-02T13:08:47.351-07:00Microcontroller Based Automatic Railway Gate Control system...<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_u9adiuTo4dM/TKeRRY4AMKI/AAAAAAAAACU/20zDF-vocYs/s1600/gatecont.bmp"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 242px;" src="http://3.bp.blogspot.com/_u9adiuTo4dM/TKeRRY4AMKI/AAAAAAAAACU/20zDF-vocYs/s320/gatecont.bmp" alt="" id="BLOGGER_PHOTO_ID_5523543195914350754" border="0" /></a>praveeniscoolhttp://www.blogger.com/profile/14822844999395482715noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-53489101058411628362010-10-02T12:47:00.000-07:002010-10-15T02:14:28.203-07:00basic microcontroller interfacing circuits and programs<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_u9adiuTo4dM/TLYh6TGu0hI/AAAAAAAAAC0/wM5lbqmK_FY/s1600/lcd.bmp"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 242px;" src="http://4.bp.blogspot.com/_u9adiuTo4dM/TLYh6TGu0hI/AAAAAAAAAC0/wM5lbqmK_FY/s320/lcd.bmp" alt="" id="BLOGGER_PHOTO_ID_5527642878088499730" border="0" /></a><br /><span style="color: rgb(102, 0, 204);"><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />lcd interfacing with 89c52..................<br /><br />; *********************************************** <br />; * PRAVEEN LABS..... *<br />; * LCD INTERFACING *<br />; ***********************************************<br /> ORG 0000H ; RESET ENTRY POINT<br />;;;;;;;;;;;; LCD PROG..... ;;;;;;;;;;;;;;;;;;;;;;<br />MAIN: <br /> MOV A,#38H<br /> ACALL COMMAND1<br /> MOV A,#0EH<br /> ACALL COMMAND1<br /> MOV A,#06H<br /> ACALL COMMAND1<br /> MOV A,#0CH<br /> ACALL COMMAND1<br /> MOV A,#01H<br /> ACALL COMMAND1<br /> <br /> <br />;;;;;;;;;; DISPLAY POINT ;;;;;;;;;; <br /> <br /> <br /> ACALL DELAY <br /> MOV A,#80H<br /> ACALL COMMAND1<br /> MOV DPTR,#DATA0<br /> ACALL PASS_DATA1<br /> ACALL DELAY <br /><br /> MOV A,#0C0H<br /> ACALL COMMAND1<br /> MOV DPTR,#DATA1<br /> ACALL PASS_DATA1<br /> ACALL DELAY <br /> ACALL DELAY <br /> <br /> SJMP MAIN<br /><br />;;;;;;;;;;;;DISP COMMANDS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br />PASS_DATA1:<br /> <br />JUMP1: CLR A<br /> MOVC A,@A+DPTR<br /> ACALL DATA_D1<br /> acall secdel<br /> acall secdel<br /> INC DPTR<br /> CJNE A,#00H,JUMP1<br /> RET<br />COMMAND1:<br /> ACALL READY1<br /> CLR P2.0<br /> CLR P2.1<br /> SETB P2.2<br /> MOV P0,A<br /> CLR P2.2<br /> RET<br />DATA_D1:<br /> ACALL READY1<br /> SETB P2.0<br /> CLR P2.1 <br /> SETB P2.2<br /> MOV P0,A<br /> CLR P2.2<br /> RET<br />READY1: <br /> SETB P0.7<br /> CLR P2.0<br /> SETB P2.1<br />HEX1: CLR P2.2<br /> SETB P2.2<br /> JB P0.7,HEX1<br /> RET <br />;;;;;;;;;;;;;;; 1 BY 1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br /><br />SECDEL:<br /> MOV 75H,#0FFH<br /> MOV 76H,#0FFH<br />HERE8: <br /> DJNZ 75H,HERE8<br /> DJNZ 76H,HERE8<br /> RET<br />;;;;;;;;;;;;;;;;;;;;; DELAY ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br />DELAY: MOV 70H,#0FFH<br /> MOV 71H,#0FFH<br /> MOV 72H,#02H <br />LOOP: <br /> DJNZ 70H,LOOP <br /> DJNZ 71H,LOOP<br /> DJNZ 72H,LOOP<br /> RET<br />;;;;;;;;;;;;;;; DISPLAY DATA ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br />DATA0: db "PRAVEEN LABS....",00<br />DATA1: db " LCD INTERFACING",00<br /><br />;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; <br />END<br /></span>praveeniscoolhttp://www.blogger.com/profile/14822844999395482715noreply@blogger.com4tag:blogger.com,1999:blog-3574515315175869279.post-61807868246852213282010-10-02T12:29:00.000-07:002010-10-02T12:42:08.283-07:00dtmf based home automation 6 devices control....<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_u9adiuTo4dM/TKeKzfWsJRI/AAAAAAAAACM/aps_N5xeMgQ/s1600/DTMFF+control++on+off.bmp"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 242px;" src="http://3.bp.blogspot.com/_u9adiuTo4dM/TKeKzfWsJRI/AAAAAAAAACM/aps_N5xeMgQ/s320/DTMFF+control++on+off.bmp" alt="" id="BLOGGER_PHOTO_ID_5523536085187831058" border="0" /></a>praveeniscoolhttp://www.blogger.com/profile/14822844999395482715noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-39752114957876020792010-10-02T06:01:00.000-07:002010-10-02T12:21:59.225-07:00coming soon....speed breaker electricity generation..mechanical designs..............................praveeniscoolhttp://www.blogger.com/profile/14822844999395482715noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-2904639388989733672010-09-21T08:43:00.001-07:002010-10-02T13:15:00.513-07:00running brake lights.. for bikes.....<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_u9adiuTo4dM/TJjTMfFlpNI/AAAAAAAAACE/867NPWaFxUI/s1600/New+Bitmap+Image.bmp"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 205px;" src="http://1.bp.blogspot.com/_u9adiuTo4dM/TJjTMfFlpNI/AAAAAAAAACE/867NPWaFxUI/s320/New+Bitmap+Image.bmp" alt="" id="BLOGGER_PHOTO_ID_5519393554799371474" border="0" /></a><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_u9adiuTo4dM/TJjSyGMGS2I/AAAAAAAAAB8/hnzxCSIY-CU/s1600/light.bmp"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 242px;" src="http://1.bp.blogspot.com/_u9adiuTo4dM/TJjSyGMGS2I/AAAAAAAAAB8/hnzxCSIY-CU/s320/light.bmp" alt="" id="BLOGGER_PHOTO_ID_5519393101439191906" border="0" /></a>praveeniscoolhttp://www.blogger.com/profile/14822844999395482715noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-16677708357549098582010-09-20T04:17:00.000-07:002010-10-02T13:11:47.779-07:00AT89C2051 based DANCING LEDS<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_u9adiuTo4dM/TJdGSjZSv3I/AAAAAAAAABo/NNmgqM-3Q6I/s1600/CKT.bmp"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 242px;" src="http://2.bp.blogspot.com/_u9adiuTo4dM/TJdGSjZSv3I/AAAAAAAAABo/NNmgqM-3Q6I/s320/CKT.bmp" alt="" id="BLOGGER_PHOTO_ID_5518957152918749042" border="0" /></a><br /><br /><img src="file:///C:/Documents%20and%20Settings/Administrator/Desktop/clock.c/clock-c-code/circuit%20diagram.GIF" alt="" />praveeniscoolhttp://www.blogger.com/profile/14822844999395482715noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-53499972246310058652010-06-18T12:07:00.000-07:002010-06-18T12:10:04.616-07:00guest article by Barbara Young<p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">Here’s a simple option to learn how solar panels work<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">What is solar energy ?<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">Solar power is radiant energy which is produced by the sun. Daily the sun radiates, or sends out, an incredible quantity of energy. The sun radiates more energy in a second than people have used since the beginning of time!<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">The energy of the Sun originates from within the sun itself. Like other stars, the sun is really a big ball of gases––mostly hydrogen and helium atoms.<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">The hydrogen atoms in the sun’s core combine to create helium and generate energy in a process called nuclear fusion.<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">During nuclear fusion, the sun’s extremely high pressure and temperature cause hydrogen atoms to come apart and their nuclei (the central cores of the atoms) to fuse or combine. Four hydrogen nuclei fuse to become one helium atom. But the helium atom contains less mass compared to four hydrogen atoms that fused. Some matter is lost during nuclear fusion. The lost matter is emitted into space as radiant energy.<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">It takes an incredible number of years for the energy in the sun’s core to make its way to the solar surface, and then just a little over eight minutes to travel the 93 million miles to earth. The solar energy travels to the earth at a speed of 186,000 miles per second, the velocity of sunshine.<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">Simply a small portion of the energy radiated from the sun into space strikes the earth, one part in two billion. Yet this quantity of energy is enormous. Each day enough energy strikes the usa to supply the nation’s energy needs for one and a half years!<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">Where does all this energy go?<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">About 15 percent of the sun’s energy that hits the earth is reflected back to space. Another 30 percent is used to evaporate water, which, lifted in to the atmosphere, produces rainfall. Solar energy is absorbed by plants, the land, and the oceans. The rest could be employed to supply our energy needs.<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">Who invented solar technology ?<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">People have harnessed solar energy for years and years. Since the 7th century B.C., people used simple magnifying glasses to concentrate the light of the sun into beams so hot they would cause wood to catch fire. More than a century ago in France, a scientist used heat from a solar collector to make steam to drive a steam engine. At first of this century, scientists and engineers began researching ways to use solar technology in earnest. One important development was obviously a remarkably efficient solar boiler invented by Charles Greeley Abbott, a united states astrophysicist, in 1936.<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">The solar water heater gained popularity at this time in Florida, California, and the Southwest. The industry started in the early 1920s and was in full swing just before World War II. This growth lasted until the mid-1950s when low-cost propane took over as primary fuel for heating American homes.<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">The public and world governments remained largely indifferent to the possibilities of solar power before oil shortages of the1970s. Today, people use solar energy to heat buildings and water and to generate electricity.<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">How we use solar power today ?<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">Solar power is used in several different ways, of course. There's two very basic types of solar energy:<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><span style="mso-spacerun:yes"> </span>* Solar thermal energy collects the sun's warmth through one of two means: in water or in an anti-freeze (glycol) mixture.<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><span style="mso-spacerun:yes"> </span>* Solar photovoltaic energy converts the sun's radiation to usable electricity.<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US">Here are the five most practical and popular ways that solar energy is used:<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><span style="mso-spacerun:yes"> </span>1. Small portable solar photovoltaic systems. We have seen these used everywhere, from calculators to solar garden products. Portable units may be used for everything from RV appliances while single panel systems are used for traffic signs and remote monitoring stations.<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><span style="mso-spacerun:yes"> </span>2. Solar pool heating. Running water in direct circulation systems via a solar collector is a very practical method to heat water for your pool or hot spa.<o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p></o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><o:p> </o:p></span></p> <p class="MsoPlainText"><span style="font-family:"Courier New";mso-ansi-language: EN-US"><span style="mso-spacerun:yes"> </span>3. Thermal glycol energy to heat water. </span><span lang="IT" style="font-family:"Courier New"">In this method (indirect circulation), glycol is heated by natural sunlight and the heat is then transferred to water in a hot water tank. Using this method of collecting the sun's energy is much more practical now than ever before. In areas as far north as Edmonton, Alberta, solar thermal to heat water is economically sound. It can pay for itself in 36 months or less.<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><span style="mso-spacerun:yes"> </span>4. Integrating solar photovoltaic energy into your home or business power. In many parts on the planet, solar photovoltaics is an economically feasible solution to supplement the power of your home. In Japan, photovoltaics are competitive with other types of power. In america, new incentive programs make this form of solar energy ever more viable in many states. A frequent and practical way of integrating solar energy into the power of your home or business is through the use of building integrated solar photovoltaics.<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><span style="mso-spacerun:yes"> </span>5. Large independent photovoltaic systems. For those who have enough sun power at your site, you could possibly go off grid. It's also possible to integrate or hybridize your solar energy system with wind power or other types of renewable power to stay 'off the grid.'<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">How can Photovoltaic panels work ?<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">Silicon is mounted beneath non-reflective glass to produce photovoltaic panels. These panels collect photons from the sun, converting them into DC electrical power. The power created then flows into an inverter. The inverter transforms the power into basic voltage and AC electricity.<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">Solar cells are prepared with particular materials called semiconductors like silicon, which is presently the most generally used. When light hits the Photovoltaic cell, a specific share of it is absorbed inside the semiconductor material. This means that the energy of the absorbed light is given to the semiconductor.<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">The energy unfastens the electrons, permitting them to run freely. Pv cells also have more than one electric fields that act to compel electrons unfastened by light absorption to flow in a specific direction. This flow of electrons is a current, and by introducing metal links on the top and bottom of the -Photovoltaic cell, the current can be drawn to use it externally.<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">What are the advantages and disadvantages of solar power ?<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">Solar Pro Arguments<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">- Heating our homes with oil or natural gas or using electricity from power plants running with fossil fuels is a reason behind climatic change and climate disruption. Solar power, on the contrary, is clean and environmentally-friendly.<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">- Solar hot-water heaters require little maintenance, and their initial investment may be recovered in just a relatively small amount of time. <o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">- Solar hot-water heaters can work in nearly every climate, even just in very cold ones. You just have to choose the right system for your climate: drainback, thermosyphon, batch-ICS, etc. <o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">- Maintenance costs of solar powered systems are minimal and the warranties large.<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">- Financial incentives (USA, Canada, European states…) can aid in eliminating the price of the initial investment in solar technologies. The U.S. government, for example, offers tax credits for solar systems certified by by the SRCC (Solar Rating and Certification Corporation), which amount to 30 percent of the investment (2009-2016 period).<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">Solar Cons Arguments<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">- The initial investment in Solar Hot water heaters or in Photovoltaic Electric Systems is higher than that required by conventional electric and gas heaters systems.<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">- The payback period of solar PV-electric systems is high, as well as those of solar space heating or solar cooling (only the solar domestic hot water heating payback is short or relatively short).<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">- Solar water heating do not support a direct combination with radiators (including baseboard ones).<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">- Some air conditioning (solar space heating and the solar cooling systems) are expensive, and rather untested technologies: solar air conditioning isn't, till now, a truly economical option.<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">- The efficiency of solar powered systems is rather determined by sunlight resources. It's in colder climates, where heating or electricity needs are higher, that the efficiency is smaller.<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New"">About the Author - Barbara Young writes on <a href="http://www.12voltsolarpanels.net/rv-solar-panels-101-ultimate-guide-12-volt-battery-charging">motorhome solar power</a> in her personal hobby web log 12voltsolarpanels.net. Her efforts are related to helping people save energy using solar energy to eliminate CO2 emissions and energy dependency.<o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p> <p class="MsoPlainText"><span lang="IT" style="font-family:"Courier New""><o:p> </o:p></span></p>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-51044119660784314882010-06-16T20:45:00.000-07:002010-06-16T21:34:11.490-07:00The Morph concept<img src="http://1.bp.blogspot.com/_OabFgDhu7VA/TBmko0XS5gI/AAAAAAAAAUg/GN_OF_jYJhA/s320/morph_phone_operating.jpg" style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 226px; height: 320px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5483595042458363394" /><div><u><span class="Apple-style-span" style="color:#33CC00;"><br /></span></u></div><div><span class="Apple-style-span" style="color:#33CC00;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OabFgDhu7VA/TBmkpbk4jEI/AAAAAAAAAUo/grd6XV1JPd8/s1600/morph_wrist_mode.jpg"></a></span><u><span class="Apple-style-span" style="color:#33CC00;"><br /></span></u><span class="Apple-style-span" style="color:#33CC00;"><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OabFgDhu7VA/TBmhmRGn6WI/AAAAAAAAAUY/V5cK3RWJP4o/s1600/morph_phone_operating.jpg"></a><br /></span><span class="Apple-style-span" style="font-size:large;"><span class="Apple-style-span" style="color:#33CC00;">The Morph concept<br /><br />WATCH ITS VIDEO HERE<br /></span><a href="http://www.youtube.com/watch?v=IX-gTobCJHs"><span class="Apple-style-span" style="color:#33CC00;">http://www.youtube.com/watch?v=IX-gTobCJHs</span></a><span class="Apple-style-span" style="color:#33CC00;"><br /><br /></span></span><span class="Apple-style-span" style="color:#33CC00;"><br /><br /><br /><br /><br /><br /><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><img src="http://1.bp.blogspot.com/_OabFgDhu7VA/TBmkpbk4jEI/AAAAAAAAAUo/grd6XV1JPd8/s320/morph_wrist_mode.jpg" style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 198px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5483595052984339522" /></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;">Launched alongside The Museum of Modern Art “Design and The Elastic Mind” exhibition, the Morph concept device is a bridge between highly advanced tec</span></div><div><span class="Apple-style-span" style="color:#33CC00;">hnologies and their potential benefits to end-users. This device concept showcases some revolutionary leaps being explored by Nokia Research Center (NRC) in collaboration with the Cambridge Nanoscience Centre (United Kingdom) – nanoscale technologies that will potentially create a world of radically different devices that open up an entirely new spectrum of possibilities.Morph concept technologies might create fantastic opportunities for mobile devices:</span><div><span class="Apple-style-span" style="color:#33CC00;">Newly-enabled flexible and transparent materials blend more seamlessly with the way we live</span></div><div><span class="Apple-style-span" style="color:#33CC00;">Devices become self-cleaning and self-preserving</span></div><div><span class="Apple-style-span" style="color:#33CC00;">Transparent electronics offering an entirely new aesthetic dimension</span></div><div><span class="Apple-style-span" style="color:#33CC00;">Built-in solar absorption might charge a device, whilst batteries become smaller, longer lasting and faster to charge</span></div><div><span class="Apple-style-span" style="color:#33CC00;">Integrated sensors might allow us to learn more about the environment around us, empowering us to make better choices</span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span><div><span class="Apple-style-span" style="color:#33CC00;">In addition to the advances above, the integrated electronics shown in the Morph concept could cost less and include more functionality in a much smaller space, even as interfaces are simplified and usability is enhanced. All of these new capabilities will unleash new applications and services that will allow us to communicate and interact in unprecedented ways.</span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;">Flexible & Changing Design </span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;">Nanotechnology enables materials components that are flexible, stretchable, transparent and remarkably strong. Fibril proteins are woven into a three dimensional mesh that reinforces thin elastic structures. Using the same principle behind spider silk, this elasticity enables the device to literally change shapes and configure itself to adapt to the task at hand.A folded design would fit easily in a pocket and could lend itself ergonomically to being used as a traditional handset. An unfolded larger design could display more detailed information, and incorporate input devices such as keyboards and touch pads.Even integrated electronics, from interconnects to sensors, could share these flexible properties. Further, utilization of biodegradable materials might make production and recycling of devices easier and ecologically friendly.</span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;">Self-Cleaning</span></div><div><span class="Apple-style-span" style="color:#33CC00;">Nanotechnology also can be leveraged to create self-cleaning surfaces on mobile devices, ultimately reducing corrosion, wear and improving longevity. Nanostructured surfaces, such as “Nanoflowers” naturally repel water, dirt, and even fingerprints utilizing effects also seen in natural systems.</span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;">Advanced Power Sources</span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;">Nanotechnology holds out the possibility that the surface of a device will become a natural source of energy via a covering of “Nanograss” structures that harvest solar power. At the same time new high energy density storage materials allow batteries to become smaller and thinner, while also quicker to recharge and able to endure more charging cycles.</span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;">Sensing The Environment</span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style="color:#33CC00;">Nanosensors would empower users to examine the environment around them in completely new ways, from analyzing air pollution, to gaining insight into bio-chemical traces and processes. New capabilities might be as complex as helping us monitor evolving conditions in the quality of our surroundings, or as simple as knowing if the fruit we are about to enjoy should be washed before we eat it. Our ability to tune into our environment in these ways can help us make key decisions that guide our daily actions and ultimately can enhance our health.</span></div><div><span class="Apple-style-span" style="color:#33CC00;"><br /></span></div><div><span class="Apple-style-span" style=" color: rgb(68, 68, 51); line-height: 15px; font-family:arial, helvetica, sans-serif;font-size:12px;"><b class="largebodybold" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-weight: bold; font-size: 12px; "><span class="Apple-style-span" style="color:#33CC00;">Press Material</span></b><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; position: relative; "></p><ul class="standard_list" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-type: none; list-style-position: outside; position: relative; display: inline-block; "><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 15px; background-image: url(http://www.nokia.com/pics/bullet_default_1b.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; display: list-item; font-size: 12px; position: relative; background-position: 0px 2px; background-repeat: no-repeat no-repeat; "><a href="http://www.nokia.com/A4136001?newsid=1194251" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-decoration: none; "><span class="Apple-style-span" style="color:#33CC00;">View press release</span></a></li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 15px; background-image: url(http://www.nokia.com/pics/bullet_default_1b.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; display: list-item; font-size: 12px; position: relative; background-position: 0px 2px; background-repeat: no-repeat no-repeat; "><a href="http://www.nokia.com/A4630650?category=rd" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-decoration: none; "><span class="Apple-style-span" style="color:#33CC00;">View and download photos</span></a></li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 15px; background-image: url(http://www.nokia.com/pics/bullet_default_1b.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; display: list-item; font-size: 12px; position: relative; background-position: 0px 2px; background-repeat: no-repeat no-repeat; "><a href="http://nds3.nokia.com/NOKIA_COM_1/About_Nokia/Research/Demos/Morph/video/morph_concept_small.mov" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-decoration: none; "><span class="Apple-style-span" style="color:#33CC00;">View Morph video (.mov, 46mb)</span></a></li></ul><span class="Apple-style-span" style="color:#33CC00;"> </span><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; position: relative; "></p><b class="largebodybold" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-weight: bold; font-size: 12px; "><span class="Apple-style-span" style="color:#33CC00;">Other resources</span></b><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; position: relative; "><span class="Apple-style-span" style="color:#33CC00;">To learn more about the “Design and The Elastic Mind” exhibition at The Museum of Modern Art visit </span><a href="http://www.moma.org/exhibitions/exhibitions.php?id=5632" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-decoration: none; "><span class="Apple-style-span" style="color:#33CC00;">MoMA webpage</span></a></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; position: relative; "><span class="Apple-style-span" style="color:#33CC00;">To learn more about the Cambridge Nanoscience Centre visit</span><a href="http://www.nanoscience.cam.ac.uk/" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-decoration: none; "><span class="Apple-style-span" style="color:#33CC00;">http://www.nanoscience.cam.ac.uk/</span></a></p></span></div></div></div>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-67661810133346148422009-12-16T21:42:00.000-08:002009-12-16T21:46:27.792-08:00Photonics: The key to life in the 21st century<span class="Apple-style-span" style=" ;font-family:verdana, arial, sans-serif;font-size:13px;"><h1 style="color: rgb(2, 54, 102); font-size: 19px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; font-weight: normal; "><h1 style="color: rgb(2, 54, 102); font-size: 19px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-size: 13px; font-weight: normal; "><h1 style="font-size: 19px; "><span class="Apple-style-span" style="color:#FFFFFF;"><br /></span></h1><h2 align="center" style="font-size: 17px; "><span class="Apple-style-span" style="color:#FFFFFF;">"The more you know about it, the more you can make it work for you"</span></h2><p><em><strong><span class="Apple-style-span" style="color:#FFFFFF;">Written by The Welsh Opto-electronics Forum</span></strong></em></p><p><span class="Apple-style-span" style="color:#FFFFFF;">This article will give you a taste of the technology that now affects everyone’s life, and is becoming increasingly important in the 21</span><sup><span class="Apple-style-span" style="color:#FFFFFF;">st</span></sup><span class="Apple-style-span" style="color:#FFFFFF;"> century. The 19</span><sup><span class="Apple-style-span" style="color:#FFFFFF;">th</span></sup><span class="Apple-style-span" style="color:#FFFFFF;"> century is often seen as the golden age of steam, the 20</span><sup><span class="Apple-style-span" style="color:#FFFFFF;">th</span></sup><span class="Apple-style-span" style="color:#FFFFFF;"> century an incredible advancement in electronics; whilst the 21</span><sup><span class="Apple-style-span" style="color:#FFFFFF;">st</span></sup><span class="Apple-style-span" style="color:#FFFFFF;"> century is set to be age of photonics or light. This article will also give you an insight into careers that make use of this technology.</span></p><h3 style="font-size: 15px; "><span class="Apple-style-span" style="color:#FFFFFF;"><a name="What_R_P_and_o-e"></a>WHAT ARE PHOTONICS and OPTO-ELECTRONICS?</span></h3><p><span class="Apple-style-span" style="color:#FFFFFF;">Photonics and Opto-electronics are often used interchangeably. However, photonics is concerned with the</span><strong><span class="Apple-style-span" style="color:#FFFFFF;">generation</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> (e.g. lasers), </span><strong><span class="Apple-style-span" style="color:#FFFFFF;">control</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> (e.g. optics) and the </span><strong><span class="Apple-style-span" style="color:#FFFFFF;">detection</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> (e.g. photo-multipliers) of light. Opto-electronics is the innovative combination of optics and electronics hardware to produce an exciting new range of products. This technology is powerful because it enables many new technical systems to work effectively. It includes any combination of light or images that works with electronics and can be as simple as the red light emitting diode (LED) that shows you that the TV is on, or as complex as the Hubble telescope in space.</span></p><h3 style="font-size: 15px; "><span class="Apple-style-span" style="color:#FFFFFF;"><a name="world_leaders"></a>WORLD LEADERS</span><img height="207" alt="" hspace="20" width="263" align="right" src="http://www.photonicsacademy.com/resource/photonics_Pic.jpg" style="width: 283px; height: 303px; " /></h3><p><span class="Apple-style-span" style="color:#FFFFFF;">Wales has many companies working in this area and several of them are recognised as world leaders in the technology. The work can be exciting; to stay in this position the companies need to use state of the art technology in design, manufacturing and testing. Two examples where this can be found are in military systems and in space</span></p><p><span class="Apple-style-span" style="color:#FFFFFF;">Try this experiment: look out of the window, then look back at this text for long enough for your eyes to re-focus and the words to become clear, then look out of the window and refocus your eyes again. How long did this take? 1 second? 2 seconds? When a pilot is flying a fighter aircraft at the speed of sound he cannot spend this amount of time looking away from the target, so the information from the critical instruments is displayed on a special glass panel in front of him, imaged so that his eyes do not have to change focus to read it. To do this well needs very good optical design, high-precision manufacture and advanced technology in holography and optical coatings....and Wales leads the world in this technology, with two companies in North Wales supplying to UK, USA and other Air Forces</span></p><p><span class="Apple-style-span" style="color:#FFFFFF;">On TV you will have seen satellites in space with large solar panels attached. These convert the sunlight directly into electricity, and the material to make solar cells for some of these satellites is made in South Wales. Space is a harsh environment for these electronic materials, and if unprotected the electrical output would fade away in about 18 months - which would mean no satellite TV programmes. To prevent this, greater than 50% of the satellites put up by the western world have their solar cells protected by an extremely thin piece of special glass made in North Wales.</span></p><h3 style="font-size: 15px; "><span class="Apple-style-span" style="color:#FFFFFF;"><a name="o-e_in_home"></a>OPTO-ELECTRONICS IN THE HOME</span></h3><p><span class="Apple-style-span" style="color:#FFFFFF;">Without realising it, you are using opto-electronics throughout the day; look around for these examples, and imagine how modern life would be without them</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Displays.</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> How many displays of numbers that glow red or green do you have in your house? They are to be found on the alarm clock, the TV and video recorder, the microwave cooker and some ovens. There are even more liquid crystal displays which look black on grey; you will find them on watches, calculators, telephones, portable radios, tape and CD players and office machines such as faxes and copiers. Most laptop computers have liquid crystal displays and those in colour include other optoelectronic technology as well. Large flat screen TVs that you can hang on the wall are now available, and the price will soon be down to prices a home can afford.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Communications.</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> When you make a phone call outside your local area you are almost certain to be using an optical fibre link with a laser sending the message down the fibre, and a detector receiving it at the other end. About 70% of the UK trunk lines are now optical fibre, and the rate at which optical fibre is being installed world wide now exceeds Mach 1! Optical fibre can carry far more information than copper wire and is the best way to link computers, outside broadcast TV cameras, Banks, Stock Exchange dealing rooms, etc. Again, in North Wales we have world class companies who make the fibre, the cables, and the electronics and control systems to go with it.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Cameras.</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> Camcorders and Digital still cameras depend on a high quality multi- component optical lens, often with zoom capability - which needs an advanced computer programme to design. The picture is imaged onto an electronic detector with a regular array of extremely small picture elements (pixels). There can be more than 1000 x 1000 of these on an area the size of your thumbnail.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Entertainment.</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> To control your TV you use a controller that sends a coded infra-red beam to the set. This light is detected at the set and converted to the control information. Your CD player uses a laser diode which is imaged onto the surface of the disc by a tiny precision lens made of plastic. Did you see the images of the football players projected onto the Arc de Triomphe after the World Cup final?. This was done using optoelectronic devices - lasers where the beam is switched on and off to create the image as it scans back and forth.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Manufacturing.</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> Lasers are being used more and more for cutting and welding as the beam covers a small area, and can be directed by computer exactly where it is required. Most clothes made in large quantity for High Street stores have been cut to shape using a laser. The gears in your family car have probably been welded to the shaft using a laser. Also, the symbols all over the dashboard that show you (in the dark) where the heater controls are located, have been produced using a different type of laser to remove the black overcoat from a coloured, light transmitting piece of plastic to reveal the symbols.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Energy. </span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> The effect of sunlight on various materials, generating a voltage and flow of electrons, give rise to enormous possibilities in generating electricity with no CO</span><sub><span class="Apple-style-span" style="color:#FFFFFF;">2</span></sub><span class="Apple-style-span" style="color:#FFFFFF;"> production. The material most commonly used is silicon. Sharp the world leader in the manufacture of solar cells has its factory in North Wales, supplying 200MW for the European market! At the Technium OpTIC in North Wales the south facing part of the building is covered with 1000m</span><sup><span class="Apple-style-span" style="color:#FFFFFF;">2</span></sup><span class="Apple-style-span" style="color:#FFFFFF;"> of photovoltaic cells (solar cells). This can achieve up to 95kW peak on good days of strong sunshine in summer. However, it will also work on dull days and during the winter months.</span></p><h3 style="font-size: 15px; "><span class="Apple-style-span" style="color:#FFFFFF;"><a name="hard_to_understand"></a>IS OPTO-ELECTRONICS HARD TO UNDERSTAND?</span></h3><p><span class="Apple-style-span" style="color:#FFFFFF;">Yes and No! If you are a research worker developing a new blue laser for use in the next generation of computer discs, you will be using skills that require more than a University degree, but the great importance of opto-electronics is that it finds many applications in life where what it does is important, and it is not necessary for the user to appreciate completely how it does it. After all, you can make good use of a TV controller without knowing what optics or electronics are inside it, or being able to design one.</span></p><p><span class="Apple-style-span" style="color:#FFFFFF;">But it does help to have some knowledge of the basic concepts, as this will help you to get the best out of the equipment - if you know that light has to come out of the red window on the controller you won’t cover it with your finger.</span></p><p><span class="Apple-style-span" style="color:#FFFFFF;">There are several different types of lasers and they are critical to many optoelectronic applications. What is a laser and how does it differ from a light bulb? There are two main differences; the light from a bulb is produced continuously from a white hot wire; it contains light of all colours and is emitted in all directions. A laser emits light of one colour (or light frequency), in a controlled way in one direction only and because of this high intensities can be achieved. Light can be emitted continuously or in a short burst. The latter gives a high power output over that very short time.</span></p><p><span class="Apple-style-span" style="color:#FFFFFF;">One way of understanding this difference in the way light is emitted is to compare it to sound. Imagine the River Dance group was on a stage and walking around in any direction they liked. The sound would be approximately continuous (but not very loud) and all frequencies are present as there is no control of the time when their feet touch the floor - this is like the light bulb. When they dance in time together, the sound of each footstep is much louder, and the beats come at a regular frequency - this is like the laser. If they all jump in the air and come down at the same time the sound is loudest, and this is like the pulse of the laser. In the laser, special mirrors at each end ensure that all the light comes out in one direction only.</span></p><h3 style="font-size: 15px; "><span class="Apple-style-span" style="color:#FFFFFF;"><a name="career_opportunities"></a>WHAT OPPORTUNITIES ARE THERE FOR CAREERS USING OPTO-ELECTRONICS?</span></h3><p><img height="155" alt="" hspace="20" width="234" align="left" src="http://www.photonicsacademy.com/resource/photonics_pic2.jpg" style="width: 266px; height: 247px; " /><span class="Apple-style-span" style="color:#FFFFFF;">Because it finds application in so many fields, careers that need an understanding of opto-electronics are numerous: doctors use lasers for surgery as do civil engineers for surveying; biochemists use the detection of light emission to monitor the effectiveness of anti-cancer drugs, and even supermarket managers rely on the everyday bar code scanner used for controlling their stock. In depth examples follow.</span></p><p><span class="Apple-style-span" style="color:#FFFFFF;">Knowledge and understanding of opto-electronics comes from studying subjects like Maths, Physics, Chemistry and of course, Technology; studying at GCSE level will introduce you to opto-electronics, and you could go into a lot of depth by choosing an opto-electronics theme for your major project in Technology. Beyond 16, choosing apprenticeships, traineeships, or ‘A’ Levels can all lead to careers with opto-electronics companies in North Wales and beyond. Many employees have studied at Degree level, and they are now influencing the technologies we use everyday, both now and in the future.</span></p><h3 style="font-size: 15px; "><span class="Apple-style-span" style="color:#FFFFFF;"><a name="careers_in_o-e"></a>CAREERS INVOLVING OPTO-ELECTRONICS</span></h3><p><span class="Apple-style-span" style="color:#FFFFFF;">Careers using opto-electronics are for people with a wide range of skills and knowledge at different levels, and include the manufacture of components, design, assembly and testing of systems, technical sales and fundamental research. Some examples of occupations and their use of opto-electronics are:-</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Biological Researcher and Technician</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> - uses microscopes with video camera attachment so that images of samples can be enhanced by computer to bring out information not normally visible. By chemically attaching firefly-like molecules to drugs, and by measuring the weak light emitted after treatment, it is possible to measure how effectively they target cancer cells using sensitive opto-electronics.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Civil Engineer</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> - uses a laser beam with a theodelite to create a straight line over long distances to measure the angle of a proposed road bridge from a reference position.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Autofocus camera lens designer</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> - is part of a team who use computer programmes to design the lens, the sensors and electronics to measure the sharpness of the image to control the focus, and CAD (Computer Aided Design) to design the components and housings. Such components may be made with machines which depend on optoelectronic equipment to achieve the required accuracy.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Heating Engineer</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> - uses a Thermal Imaging camera to give a high quality picture showing the temperature distribution across a scene, which enables them to measure heat loss from a poorly insulated factory or the discharge of hot effluent into a river.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Communications System Installer</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> - couples optical fibres to electronic systems to route the information between computers, monitors etc. or to control a production machine.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Conservation Specialist</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> - uses laser beams to blast away the grime that has built up on buildings and statues with less damage than other abrasive techniques.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Environmental Inspector</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> - uses a laser beam projected into the smoke plume from a factory to monitor the levels of the different gases emitted to see if they are within permitted limits.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Quality Control Inspector</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> - uses apparatus which measures the precise colour spectrum of the food product so that e.g. bad beans can be automatically rejected . Sorting of produce of different sizes into bins can be done using the dimensions of the video image.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Surgeon</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> - uses a slip-on device over the patients thumb which monitors an infra-red beam to continuously measure the pulse rate. Also, inserts a fibre optic endoscope into the patient with a camera attached, and when the defect has been located cuts it away with a laser beam which is transmitted down the fibre optic.</span></p><p><strong><span class="Apple-style-span" style="color:#FFFFFF;">Skilled Machinist</span></strong><span class="Apple-style-span" style="color:#FFFFFF;"> - uses various types of laser beam under computer control e.g. to cut holes finer than a human hair, treat or decorate the metal surface, or join components together in a vacuum where there is negligible contamination of the weld.</span></p><p><span class="Apple-style-span" style="color:#FFFFFF;"> </span></p></span></h1></span></h1><p style="color: rgb(51, 51, 51); "> </p></span>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com1tag:blogger.com,1999:blog-3574515315175869279.post-66260546879994143092009-09-09T04:04:00.000-07:002009-09-09T04:08:00.931-07:00seminarshello every one ,<div>i found a good site for paper presentations plz go through this site if u need any seminar topics</div><div><a href="http://techalone.com/index.php/category/electrical-seminar-topics/">http://techalone.com/index.php/category/electrical-seminar-topics/</a></div>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-87684416362572833632009-05-24T00:57:00.000-07:002009-05-24T00:59:47.085-07:00Some UnderGraduate Project Ideas<span class="Apple-style-span" style="color: rgb(61, 80, 102); font-family: Verdana; font-size: 11px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br /></h3><br /><br />Here are some undergraduate ( B.Tech 4th year) project ideas that are related to robotics and A.I which you can do to increase you experience and exposure in the field. Remember these projects are not quick fix projects generally carried out ( VB ,Oracle, ASP crap , or some simple copying of EFY circuit ) these will require lots of work and research from your side, sometimes loads of money too. <br /><br />If you need any help regarding these please go to http://www.roboticsindia.com/<br /><br /><b>AUTOMATED MISSILE GUIDANCE SYSTEM {Aeronautics/EC} </b>: The idea is a blend of <br />aeronautics(amateur),mechanics,mathematics,A.I.,electronics and communication(embedded systems) and of course some real innovative minds.but im sure u gonna blow'em up.No this is'nt a joke.These kinda projects have been done before by undergraduates from different universties.The project needs a fine understanding of mechanics and some state of art virtual processors like MATLAB (the one and only).this one needs real talent.<br /><br /><br /><b>3-D PAINTER {EC , CS} </b>: First of all this project is a state of art combination of graphics programming and embedded system designs. Its kinda fun making this project.. Actually it works like this -> you move an electronic pen or a small electronic stylus attached to your finger in the AIR and the computer will decode the motion of the stylus(attached to the computer with an embedded system) and convert it into a real time design. Yes this project will be a real time system.Ofcourse the stylus will be having accelerometers.<br /><br /><br /><b>Autonomous Chess/Checkers Robot [CS/ME/EE]:</b> This project is a big project and will involve expertise in many fields like micro controllers, A.I, kinematics, image processing, speech processing and recognition. This project will involve building a robot arm, which will pick and place the pieces on the board. The board recognition will be provided by web cam and the arm will be controlled by servos (SSC). Voice recognition and Synthesis will be used to interact with the user. You can use chess/checkers module or write your own (min-max). <br /><br /><br /><b>Autonomous De-mining Vehicle [CS/EE]:</b> This project though not very big is quite interesting. A Big Study WMR will have to be built, equipped with GPS and other navigational aids it will be able to map an area and detect metal objects and other irregularities in the terrain using metal detectors and web cam. Either is can drop a marker to mark the position of mine or simulate de-mining (place a small charge above the mine and detonating it from a safe distance]. All this data will also build a map of the area, which is available remotely.<br /><br /><b>Legged Robots [ME/EE]:</b> These projects mainly involve lots of Mechanical design and some basic Electronics to control the robot. You can also put in some sensors and some basic object avoidance. If you want to go ahead make the robot a little advanced make it learn how to walk and put in some kind of behavior. <br /><br /><b>Home Robot [CS/EE]:</b> This robot will be quite interesting and you might even keep it at your home once its done. The aim is to build a personal robot equipped with video/audio/speech which will be able to carry out basic tasks like switching off kitchen lights when your in the bedroom, by going to the kitchen and then using IR, switching channels on TV. Talk back to you using some basic NLI. The robot will be a WMR with ability to map its environment and successfully navigate it. All the processing will be done offline using a PC. The camera will be a Wireless blue tooth camera. And you can also use a High bandwidth RF data link to the PC. If you want to save or RF and Wireless cams (they are EXPENSIVE) you can go in for a ITX based embedded system board. <br /><br /><b>Balancing Robot [CS/EE]:</b> Though not a very complicated robot this is a iteresting one.You have to build a robot which balances itself and can manover around on two wheels only. The balnce is provided using a combination of Gyroscope and Accelometer. One the balance is achived slight bend towards a direction will make your robot move in that one.REquire more prgramming than electronics / Mech also makes for a interesting project.Search the net as people have built many balacing bots. THere are also ones which balance inverted pendulums etc.<br /><br /><b>Roomba clone [CS/EE/ME]: </b>Try and clone the functionality of Roomba in our own version of a robot. This robot is usefull as well as cool. Insted of a vaccum u can use a sweeper mechanism like swivel sweeper ( Goole to search for it ). You can put quite some inteligence in your tiny robot if you want to like aumated map building, path finding and other such cool learning features( Depending on the time you have ) . Have fun project is not very exp yet is quite fun and usefull after the thing has been achived.<br /><br /><b>Autonomous Surveillance robot:</b>These ahve been commen today.We hear of some students doing bots that can track down a person who is struck up inside the debris of a collapsed building or one that can see(actually sense) if a soldier is severely wounded so that he cannot move and carry him to a safer place.Such bots need a high degree of automation and sensing.<br /></span>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com3tag:blogger.com,1999:blog-3574515315175869279.post-79706647551317609062009-05-18T10:48:00.000-07:002009-05-18T10:52:55.521-07:00plz read according to the numbers given in the titles<span class="Apple-style-span" style="font-size: large;">I am sorry for the order of posts in embedded electronics...!</span><div><span class="Apple-style-span" style="font-size: large;"> kindly read the topics in embedded electronics according to the page numbers given in the title of the posts</span></div>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-69341745032439572822009-05-15T04:01:00.000-07:002009-05-15T04:07:00.384-07:00Beginning Embedded Electronics - 11<span class="Apple-style-span" style="color: rgb(119, 119, 110); font-size: 12px; line-height: 18px; "><h2 style="color: black; font-weight: bold; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; font-size: 1.33em; ">Common Mistakes, Tips and Tricks</h2><ol><li>All grounds need to be connected together.</li><li>TX/RX loop back trick: When in doubt of a serial conversion circuit, short the TX and RX pins together to get an echo.</li><li>Normal length wires for breadboard connections: Don't use a 9" wire where a 2" wire will do.</li><li>Minimize short potential in your breadboard wiring: Don't expose an inch of wire from the insulation if all you need is 1/4".</li><li>You will learn best when you have a *simple* project to work on. Don't create the 'house-pet robot' just yet.</li><li>Google is, of course, your friend. When you don't know, go do some research.</li><li>for(x = 0 ; x <><li>Soldering basics: Wet your @#$% sponge.</li><li>Take your time with ground plane solder joints. Do not be fooled by a cold joint.</li><li>Never trick yourself into thinking you're that good. Print out a 1:1 and compare the footprints!</li><li>Check that TX and RX are wired correctly to all peripherals. TX/RX swap is the one of the greatest causes of PCB failures.</li><li>When laying out a PCB with SMD micros, don't forget to include the programming port!</li><li>Don't run silkscreen across pads.</li><li>Connector PCB footprint mis-numbering: always check the pin number on your connector - they can have very obfuscated schemes.</li><li>In Eagle, use vector fonts only!</li><li>Review your gerber files before submitting them.</li></ol></span>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-85779415251056154102009-05-15T03:55:00.000-07:002009-05-15T04:00:53.634-07:00Beginning Embedded Electronics - 10<span class="Apple-style-span" style="color: rgb(119, 119, 110); font-size: 12px; line-height: 18px; "><h2 style="color: black; font-weight: bold; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; font-size: 1.33em; ">Lecture 10 - Eagle: Creating a new part</h2><div class="tutorial_text" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; font-family: Georgia, Palatino, Times, 'MS Serif', serif; "><p style="margin-top: 0px; ">You can dig around the Eagle libraries all you want. Very quickly you will discover that you need to create a new part. This can be very daunting at first. The following tutorial breaks down how we create a new part in Eagle. There are some recommendations here that are good to follow, but we are by no means experts at Eagle. This is going to be very long and painful, just try to get through it. These basics will hopefully form the foundation of all your future project layouts.</p><p style="margin-top: 0px; ">You are welcome to use stock Eagle libraries but use them under extreme caution. I rarely use other people's libraries. Trusting someone else' part or footprint can be a sure fire way to render a pile of PCBs worthless. I've done this far too many times! It takes lots of failures to get good at creating decent schematic parts and solderable footprints. You will mess up, but you <i>have to</i> mess up before you can be good at it.</p><p style="margin-top: 0px; ">To get 5V out of a 1.5V battery, we use something called a DC to DC step-up converter. This handy part is not in the stock Eagle library so let's create a new part for this controller IC - the NCP1400 (<a href="http://www.onsemi.com/pub/Collateral/NCP1400A-D.PDF" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">datasheet</a>).</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/NCP1400-Typical.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">The NCP1400 is a neat little step-up IC - we input a low voltage and get 5V out!</p><p align="left" style="margin-top: 0px; ">To start your first parts library:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-1.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Once the Library Editor is open, hit the Save icon and save your library with your name on it:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-2.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Click on create a new symbol. Name it 'NCP1400':</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-3.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Create a red box by clicking on the 'Wire' button:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-4.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Don't worry about centering the box at this time.</p><p align="left" style="margin-top: 0px; ">Key commands to try out:</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">Scroll the scroll wheel on the mouse to zoom in/out</p></li><li><p align="left" style="margin-top: 0px; ">Click the scroll wheel (on the main work area) and hold shift to move the work area around</p></li><li><p align="left" style="margin-top: 0px; ">If the work area image looks corrupt, just zoom in/out to refresh the area</p></li></ul><p align="left" style="margin-top: 0px; ">Add 5 pins to the box:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-5.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Press F4 and click on a pin. Name them according to the datasheet.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-6.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Pins are named, but we need to clean up how this part is sized and where the center is at. To grab the group press Alt+F7, click and hold, and drag from one corner of the work area to the opposite corner - boxing in the pins and part:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-7.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Once you have everything selected (everything should be highlighted red), press F7 and right click to move the group over the center cross. In my example part, I the right side was one block too far over so I sucked in the right side one square.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-8.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">The image above shows the part centered and symmetrical.</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">NEVER change the grid size in the library editor or in the schematic layout editor. Leave it on 0.1inch steps and don't use the alternate 0.01 step. If you do, you won't be able to hook wires to the pin tie points.</p></li></ul><p style="margin-top: 0px; ">Name and Value tags are always nice. Click on the text button and type '>NAME' and '>VALUE'. (Ok I lied. It's okay to use the alternate step size when moving around non-critical items like text. Hold the Alt key down while your placing the Name and Value tags to get them where you want them):</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-9.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Once you have Name and Value placed, you'll notice that these are red when they are normally gray in color. Be sure to modify what layer these two strings are on. We need to change the >NAME tag to the Name layer, and >VALUE tag to the value layer. To do this:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-10.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Click on the wrench, then Layer.. Choose the layer you'd like to change the object <i>to</i></p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-11.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Here is the final schematic part, centered and happy. If you want, you can change the pin definitions to indicate which pins are inputs, outputs, pwr, etc. I find these settings useful in a handful of situations. This is a simple enough part, we'll skip it.</p><p align="left" style="margin-top: 0px; ">Now for the footprint. Remember, when in doubt create your own footprint. Trusting anyone else' footprint without scrutinizing it closely is a very bad idea. If you're lucky, your datasheet will include a recommended footprint for the part you are working with. If it does not, google for the words 'recommended land pattern SOT-23' or whatever package you are looking for. The words 'land pattern' is the key.</p><p align="left" style="margin-top: 0px; ">Lucky us! The NCP1400 datasheet has a recommend footprint:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-12.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">This takes some getting used to. There are two numbers from every dimension, and not all the dimensions are indicated?! Lower left corner shows mm/inches meaning the top number is the dimension in mm and the bottom number is that <i>same</i> dimension in inches. Sorry folks, it's a metric world. More and more devices are spec'd in mm only (connectors, ICs, etc). From the Library editor, click on Package and let's start creating the footprint for this device. This is actually a pretty common package type called SOT23-5, so let's use that name:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-13.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Throw down 5 pads:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-14.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Hmm, some of the layers are not showing - let's turn them all on:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-15.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Click 'All' and then 'Ok'. You should now be able to view the solder mask (in Eagle as the 'Top Stop' layer) and solder paste layers (aka 'Top Cream' layer).</p><p align="left" style="margin-top: 0px; ">Now back in your datasheet you will find the width of each pad to be 0.7mm and the height to be 1.0mm. Before we can go editing the pads, we need to put Eagle into metric mode. Press Alt+F10 and you should see the coordinates in the upper task bar switch to mm. To alter the size of the five pads to 0.7x1.0mm, click on the wrench, then Smd, then '...':</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-16.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">You will then be prompted to enter the X and Y dimensions in mm with an 'x' in between:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-17.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Remember the X dimension always comes first.</p><p align="left" style="margin-top: 0px; ">Now click on all 5 pads. All 5 pads should now be the correct size. I really prefer to center the footprint with the center of the work area. This means we need to work out the various dimensions:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-18.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; "> Let's start with the easy pad - pin #2 will be located at (0,1.2). Before we can start moving pads, we need to adjust the alternate grid so that we can get the the side pads to 0.95mm. Click on the points/grid box:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-20.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Change the Alt: box from 0.1 to 0.05 and click on ok. Now lets move pin 2. In the work area, press F7, then hold control and click on a pad:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-19.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">F7 issues the move command. Holding control while clicking on a pad causes the pad to try to center to the cursor (this way you know that the coordinates displayed in the upper left task bar are displaying where the very center of the pad is at and not where your cursor may have been off when you first clicked on the pad). Because the pads are locked onto the 1mm grid, you'll notice the pad jump from 3mm to 4mm, etc. While holding control, hold alt as well. The pad should now jump on the alternate grid of 0.05mm instead of 1mm. Important buttons to know:</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">Again, the scroll wheel will zoom in/out</p></li><li><p align="left" style="margin-top: 0px; ">Clicking the scroll wheel will drag the work area around</p></li><li><p align="left" style="margin-top: 0px; ">Holding the shift key will allow you drag the work area further</p></li></ul><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-21.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">To position this pad to (0,1.2) I literally had to:</p><ol><li><p align="left" style="margin-top: 0px; ">Hold Control and click on the pad</p></li><li><p align="left" style="margin-top: 0px; ">Hold Alt, Shift, and control with one hand</p></li><li><p align="left" style="margin-top: 0px; ">Scroll in with the scroll wheel</p></li><li><p align="left" style="margin-top: 0px; ">Click+drag the scroll wheel to get the work area centered</p></li><li><p align="left" style="margin-top: 0px; ">Release Shift</p></li><li><p align="left" style="margin-top: 0px; ">Move the cursor to position (0,1.2) (Remember to hold alt!)</p></li></ol><p align="left" style="margin-top: 0px; ">This sounds really scary but after creating two footprints, you'll have it down without thinking about it.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-22.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Nifty</p><p align="left" style="margin-top: 0px; ">Press F4 and click on each pad renaming them to match the datasheet numbering:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-23.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Did you number them wrong? Double check. Make sure you get it right! We need to add a dimensional layer to indicate the size of the device. This is different than a silkscreen indicator. I like to use layer 51 (named 'tDocu' meaning top document layer?). This layer will only be displayed while we're playing on the layout window and won't show up on any production files. This allows us to display the physical size of awkward parts, hopefully avoiding collisions between bulky parts when we go to populate the PCB.</p><p align="left" style="margin-top: 0px; ">Why should be even care about these layers?</p><p align="left" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/FootprintIssues-0.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Here is our NCP1400 (label U4) next to three capacitors. See how crazy board layout can get? Notice C1 is next to U4 but the distance between them looks ok? When we add in the tDocu layer:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/FootprintIssues-1.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Whoa! That cap is way too close to the body of the NCP1400. You might be able to get those two components soldered onto the board, but it would be a mash up job. We need to know the rough physical outline of components during layout. To do that, we need to add a frame to our footprint.</p><p align="left" style="margin-top: 0px; ">Before we add lines to our footprint to indicate the physical size of our part, let's change the layer color - gray is a horrible color to try to see! Click on the 'Display' button, scroll down to layer 51 and double click on the gray box next to 'tDocu':</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-25.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-26.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Then click on the gray 'Color' box and change it to something interesting like lemon yellow, then click ok. Anything you do on this layer will now be yellow.</p><p align="left" style="margin-top: 0px; ">Click on the 'Wire' button. Select layer 51 (this layer will be yellow in the drop down box the next time you close/open the Library editor).</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-24.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">You should now be able to lay down yellow lines. Put four of them down in a box:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-27.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Press escape to stop drawing. Now we need to move the edges of the box to the outside edge of our part. Checking the datasheet again:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-28.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Ahh manufacturing tolerances. They can't really tell us how big the B and A dimensions will be, so I always pick a value in the middle of the min/max. A = 3mm, B = 1.5mm. Remember we have to center the frame so the upper right corner of the frame will be at (1.5, 0.75).</p><p align="left" style="margin-top: 0px; ">Now go back to the footprint, press F7 to issue the move command. Hold the control key and click on the upper right corner of the frame. When you do this, the 1 pad may light up - this is because Eagle does not know which part you are trying to move - the pad or the line? If you left click, Eagle will begin moving the 1 pad because it is highlighted. Right click and the frame should highlight. Now left click and you should be moving the upper right corner of the frame. I know, its really confusing at first. It's actually really handy once you're used to it!</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-29.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Once you've got the corner at (1.5,0.75), left click to anchor the corner at that location and adjust the other three corners.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-30.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">I can almost see it now! Notice how the part extends past the edges of the pads? If we would have put a component (like an 0603 resistor) next to pads 3 and 4 the two component may have been bumping into each other. Electrically, the layout would have been fine but when we would go to populate the PCB, this regulator might have been right up against the neighboring part.</p><p align="left" style="margin-top: 0px; ">Finally, I highly encourage you to add a bit of silkscreen to this part. What does a board look like without silkscreen?</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/FootprintIssues-2.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Can you tell where the components go and how they are supposed to get oriented without a silk indicator? I can't.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/FootprintIssues-4.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Add a little silkscreen and it's suddenly very apparent where the NCP1400 is supposed to go.</p><p align="left" style="margin-top: 0px; ">When you get a PCB with nothing but silver pads, the 4/5 pads on this part look a lot like the spot for an 0805 capacitor! Select layer 21 tPlace. You may notice this layer is gray as well! I hate gray. Re-color this layer to white. When you get your PCBs, the silkscreen is white, right? Might as well make them agree.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-31.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">I zoomed way in, held alt to get onto the alternate grid, and ran the line from (-0.25, -0.75) to (0.25, -0.75). You really do not want to put silkscreen across your pads. This will negatively affect how the pads react to solder. It would foul a board or anything, it's just best to keep the silkscreen layer away from pads. You could butt the white line right up against the pad, but the silkscreen layers has the worst tolerances and the greatest skew. The white lines in your beautiful layout could end up a couple mm to the left or right when you get your PCBs from the fab house. Besides, 0.25 is such a nice start/finish number!</p><p align="left" style="margin-top: 0px; ">Create silkscreen lines for the sides as well. Don't worry about itty-bitty silkscreen lines inbetween the upper pads or the little corners. Very small silkscreen lines will either be ignored by the fab house or else they will just flake off.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-32.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">When we laid out the tDocu layer, the wire thickness was 0.127mm or 0.005". 0.005" is also pronounced as '5 mil'. Time and time again, you will hear that fab houses can handle 8 mil traces and 8 mil spacing for their basic service (aka their cheap service). This means that no trace can be less than 0.008" in thickness and two traces cannot be closer than 0.008" to each other. Well guess what thickness our silkscreen traces are? The 5mil tDocu lines don't matter because they will not be printed or fabbed, but the 5mil silkscreen traces may give some fab houses fits! The fab house may increase the line thickness to 8mil, they may try to print the 5mil line as is and have it come out very thin with no weight, or they may not print it at all! Let's alter the thickness of the silkscreen lines to 8mil so that we are kosher with any fab house.</p><p align="left" style="margin-top: 0px; ">We're switching back to Imperial units! Press F10. Next click on the wrench, width, and '...':</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-33.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Why doesn't Eagle have 8mil listed? I have no idea. Enter 0.008 into the box prompt. Click on the three silkscreen lines:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-34.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">It looks a bit odd, but once you see it on a PCB, it will look great! The last things we need to do (I promise!) is to add a >NAME and >VALUE tag. Review the schematic component section to see how to do this in detail. Add two strings ('>NAME' and '>VALUE') and then modify the layers for these two strings to tName and tValue respectively.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-35.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">And we're done with the footprint creation for this one part! Now you see why engineers and companies hoard their libraries. The first couple footprints you create will be totally botched and will probably kill your PCB layout. But once you get a part created, and you use it once or twice successfully, the part will be proven and you'll never have to worry about it again! With a collection of 20-30 known good parts, you'll be able to whip up very reliable PCBs in surprisingly little time.</p><p align="left" style="margin-top: 0px; ">To finish this part in our library, we need to relate the pin numbers on our footprint to the pin identifiers on our schematic part. Save your library and click on the Device button:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-36.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Name the new device NCP1400 and then click on the Add button:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-37.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Drop the schematic part in the center of the work area. Hit escape twice to get rid of the part window. Now click on the 'New' button in the Package area:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-38.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Double click on the SOT23-5 listing.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-39.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Notice the yellow exclamation point in the Package area? This means that a footprint is associated with the schematic part but the pins have not yet been assigned. Double click on the 'SOT23-5' text in the Package area:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-40.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Review page 1 of the NCP1400 datasheet to know what pins connect to what pad numbers:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-41.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Double clicking on a given name on one side will assign it to the highlighted choice on the opposite side. You've done a great job up to this point! Double check that your pad assignments are correct!</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-42.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Right click on the Package name and click on Rename. Various different footprints can be associated with any given schematic part. To differentiate between parts, you can give the pin assignments different names. I mis-use this function a bit. I often name variants 'SMD', 'A', 'B', '8', '10', or in this case 'NCP1400'. Pick your poison.</p><p align="left" style="margin-top: 0px; ">It's ok if you do not give this device a variant name, but if you leave the default variant name as " and then try to add a new pad assignment you will get the "Package variant " already defined!" error:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-43.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Just rename one of the variants to a different name so that Eagle can add this new variant with the default " name.</p><p align="left" style="margin-top: 0px; ">Now let's add this newly created part to our schematic. Close the library editor and go back to the Eagle Control Panel. Click on File->New->Project. Name this new project - in this example we'll do 'Simon'. Right click on the Simon project and create a new Schematic:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-44.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">The schematic editor should open. Now go back to the Eagle Control Panel and open your new Library:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-45.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">You should see the NCP1400 part and the SOT23-5 footprint. Highlight the NCP1400 part and in the right screen click on ADD. The schematic editor will pop up allowing you to place the NCP1400.</p><p align="left" style="margin-top: 0px; ">And that's it! You now know how to create a component from scratch. Be sure to do a 1 to 1 print of your layout before sending it to the PCB fab house to verify all the parts against their respective footprints.</p></div></span>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com1tag:blogger.com,1999:blog-3574515315175869279.post-46366739457009777062009-05-15T03:53:00.000-07:002009-05-15T03:55:42.262-07:00Beginning Embedded Electronics - 9<span class="Apple-style-span" style="color: rgb(119, 119, 110); font-size: 12px; line-height: 18px; "><h2 style="color: black; font-weight: bold; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; font-size: 1.33em; ">Lecture 9 - Eagle: PCB Layout</h2><div class="tutorial_text" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; font-family: Georgia, Palatino, Times, 'MS Serif', serif; "><p style="margin-top: 0px; ">To learn how to use Eagle, we are going to create a simple breakout board for a popular USB IC. The FT232RL is a USB to TTL serial converter. This section covers the physical layout of the PCB.</p><p style="margin-top: 0px; ">We've got the schematic captured and the connections should be made correctly. The next step is to arrange various components on a board and then send the board files out to a manufacturer (also called a fabrication or 'fab' house).</p><p style="margin-top: 0px; ">Layout is an art and engineers make bad artists. It's all about the small polishing - text labels, stand off holes, correct footprints. Just keep turning out PCBs and you'll see your layouts improve dramatically with practice.</p><p style="margin-top: 0px; ">Before you do anything, turn on vector fonts! If you don't, your silkscreen text will be off on every PCB you create:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-22.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">From the Eagle control panel, click Options->User Interface</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-23.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Select 'Always vector font'.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/Eagle-LayoutMenu.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Above is a breakdown of all the different buttons in the Layout window. You can view the name of each button by hovering over the button with your mouse. Many of the short-cuts from the Schematic window still apply:</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">Press escape at any time to stop the current action and return to the Layout window</p></li><li><p align="left" style="margin-top: 0px; ">F7 to move a part</p></li><li><p align="left" style="margin-top: 0px; ">Alt+F7 to group a bunch together</p></li><li><p align="left" style="margin-top: 0px; ">F3 to delete a part</p></li><li><p align="left" style="margin-top: 0px; ">F4 to rename a part (change C7 to C2)</p></li><li><p align="left" style="margin-top: 0px; ">F5 to re-value a part (change 0.1uF to 10uF, etc)</p></li><li><p align="left" style="margin-top: 0px; ">F6 to smash a part (be able to move the name and value tags)</p></li><li><p align="left" style="margin-top: 0px; ">F9 to start routing a wire</p></li><li><p align="left" style="margin-top: 0px; ">Alt+F9 to rip up a wire</p></li></ul><p align="left" style="margin-top: 0px; ">If you get this error while moving bits around:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-32.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">This just means that you are trying to put a component outside of the allowed area. With the Light edition of Eagle, you can only place components in quadrant I (upper right quadrant), whereas the components show up by default in quadrant II (upper left quadrant). Just move the parts to a positive X and Y coordinate and you should be ok.</p><p style="margin-top: 0px; ">Starting with our current layout:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-1.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">The first thing to do is correct the board outline. I don't know why Eagle slightly offsets the default border.</p><p align="left" style="margin-top: 0px; ">Make sure you're on a 0.1" grid by pressing F10. Then hit F7 and hold control while clicking near the origin. This will grab the frame corner and force it onto the 0.1" grid. Make the bottom left corner sit at (0,0):</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-2.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Do this for the other three corners bringing them in to make a 1.5x1.0" square board size.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-3.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Now go to town bringing the components into the board area. Keep in mind the gold color un-routed 'air' wires. The less twisted you make these by creatively arranging your components, the easier the trace routing will be.</p><p align="left" style="margin-top: 0px; ">Remember:</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">Press F7 to move a component</p></li><li><p align="left" style="margin-top: 0px; ">Right click to rotate</p></li><li><p align="left" style="margin-top: 0px; ">Hold control to grab a component at its origin</p></li><li><p align="left" style="margin-top: 0px; ">Scroll wheel to zoom in/out</p></li></ul><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-4.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Hit the Ratsnest button from time to time to recalculate the air wires.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-5.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Here are the components arranged in a basic configuration. Another beef I have with Eagle is the default colors for the various layers make it impossible to see what is going to be printed on the silkscreen layer. Let's change the 'tPlace' layer to pure white and change the 'tDocu' layer to lemon yellow.</p><p align="left" style="margin-top: 0px; ">Click on the 'Display' button, scroll down to layer 51 and double click on the gray box next to 'tDocu':</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-25.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/10-Eagle-NewPart/Schematic-26.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Then click on the gray 'Color' box and change it to something interesting like lemon yellow, then click ok. Anything you do on this layer will now be yellow. Do the same for layer 21 'tPlace'.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-6.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Now this is starting to make sense! Anything in yellow is just there to indicate physical size. The yellow part of the USB connector is only there to indicate that the connector sticks over the edge that far. Only the white part of the USB connector footprint will actually show up on the silkscreen print on our PCB. Anything in light gray (tNames and tValues layers)<i> will not print </i>on the silkscreen layer<i>.</i> They're just there for your own reference. We can of course change how the various layers are processed (and include the value and name layers on the silkscreen) but this can cause a lot of squeezing and hassle. It's up to you and your design but we will leave the part indicators and values out of this layout.</p><p align="left" style="margin-top: 0px; ">The next thing we need to do, for all PCB layouts, is to add stand-off holes. These holes will allow you to insert a simple screw and hold a stand-off in place. Without standoffs, PCBs will sit uneven against a flat surface (because of the bumpy solder joints protruding on the bottom of the board). Having a PCB sit flat against a surface is also a bad idea electrically - I've sent $200 up in smoke because some bits of clipped wire shorted against the bottom of my board when I was troubleshooting it.</p><p align="left" style="margin-top: 0px; ">I like to use <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=447" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">4-40 screws</a> and <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=444" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">0.25" diameter plastic standoffs</a> on everything. These 4-40 screws need a 0.13" diameter hole and the standoffs have a 0.25" outside diameter that we will need to take into account. If you have not already done so, add four of the 'Stand-Off' components to the schematic (and therefore PCB). This component was created to couple the 0.13" drill with a keepout ring. This keepout ring helps show were the screw head will fall. If you fail to take this keepout layer into account, the screw will go through the hole, but the screw head may run into or short components.</p><p align="left" style="margin-top: 0px; ">Throw four standoff holes around the corners of your board.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-12.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Ahah! Now I see why I made that keepout circle. You can see where the standoffs would have run into the USB connector. Looks like we've got some bumping to do...</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-13.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p style="margin-top: 0px; ">By using the group (Alt+F7) and the move (F7) commands, I increased the border to 1.5x1.2" which is a bit bigger than I would like, but for the purposes of this tutorial, we're not going to stress tight packing of components - rather we want to stress the basics for a good PCB. Notice how I flipped and dropped C3 and C4 down a bit? Time to add labels!</p><p style="margin-top: 0px; ">A 'C2' label is handy when you're populating a board or when you're troubleshooting a complex circuit, but on a day to day basis, you probably won't need to know where C2 is. On the other hand, the TX and RX pins will probably be used every time you use the board! You really should label anything that will be connected to the outside world. To add a text label to a pin, click on the 'Text' button:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/Eagle-LayoutMenu3.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">A window will pop up asking you what text you would like to add. Type 'TX' and press enter. You will notice that the text may be appearing on an odd layer. Be sure that you add text on the tPlace layer.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/Eagle-LayoutMenu4.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Drop down the layer menu and select tPlace for top silkscreen text</p><p align="left" style="margin-top: 0px; ">Once you've placed 'TX', press escape. Eagle will now show the text window again. Enter 'RX' and press enter. Repeat for RX, VCC, and GND. When done, press escape twice to return to the layout window.</p><p style="margin-top: 0px; ">In this case we have VCC/GND/TX/RX to label:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-14.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Make sure you add your labels to the 'tPlace' layer!</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-15.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">To check which pin is connected to which net, hit the eye button and click on a pin.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-16.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Checkout the text at the bottom of the Eagle window - pin 1 is VCC. Do this for all the pins and arrange the labels accordingly. You should also take the font size down to 0.05:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/Eagle-LayoutMenu2.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">To change the font size, click on the Wrench ('Change' button), select 'Size', then 0.05. Now click on each text that you want to change the size on.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-17.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Labels in place and lined up</p><p align="left" style="margin-top: 0px; ">Try to get all the labels with the same vertical and horizontal alignment. This is a nit picky aesthetic thing, but it shows on the final board.</p><p align="left" style="margin-top: 0px; ">You will have many board revisions. It's always good to add a date code to the board so that you can match your files to the board version in hand. Add text to the bottom copper layer to an inconspicuous spot. The easiest way to do this is to add text to the top copper layer then hit the mirror button (you can also hit the scroll wheel on the mouse to move the component to a different layer). This will automatically mirror the text and drop it to the bottom layer.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-18.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">6-3-07 mirrored, on the bottom copper layer, and underneath the USB connector. There shouldn't be any signal traces in this part of the board so we're not wasting space. You could add text to the bottom silkscreen layer but some fab houses don't allow bottom silkscreen (it adds an extra printing step).</p><p align="left" style="margin-top: 0px; ">Also add some text to the top silkscreen layer indicating what the board is, what it does, who made it, etc.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-19.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Above is the completed board ready for trace routing.</p><p align="left" style="margin-top: 0px; ">Many people swear up and down that an auto-router is a bad idea. It may be, but if we're not concerned about trace impedance or high speed signals, an auto-router is a great way to whip up protos. Spend your time innovating, not routing mundane traces.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/Eagle-LayoutMenu5.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">To auto-route the board, click on the 'Auto' button. The defaults are all fine except for the 50mil grid:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-20.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Change the Routing Grid to 8 (<a href="http://www.batchpcb.com/" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">our fab house</a> uses 8 mil traces and spaces).</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-21.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Demo board auto-routed. Eagle <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/FT232-Breakout-v10.zip" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">files</a> / <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/FT232-Breakout-v10.pdf" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">PDF</a></p><p align="left" style="margin-top: 0px; ">It's not immaculate, but it will work just fine and the router took under 2 seconds to route. It would probably take me 5-10 minutes by hand. I will hand route sensitive parts of certain boards, but this is a very simple proto.</p><p align="left" style="margin-top: 0px; ">Things to check on every layout:</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">Date code</p></li><li><p align="left" style="margin-top: 0px; ">Silkscreen title and pin labels</p></li><li><p align="left" style="margin-top: 0px; ">Standoff holes</p></li><li><p align="left" style="margin-top: 0px; ">All connections routed</p></li><li><p align="left" style="margin-top: 0px; ">TX and RX routed correctly</p></li><li><p align="left" style="margin-top: 0px; ">Print off 1:1 and check footprints</p></li></ul><p align="left" style="margin-top: 0px; ">Routing TX and RX correctly? What does this mean? I can't tell you how many times I've heard newbies say 'well my PCB <i>would have</i> worked, but the manufacturer swapped the TX and RX pins'. No, the manufacturer did not swap them, the newbie neglected to actually <i>read</i> the datasheet (RTFD!). Sometimes an RX pin is an input. Sometimes an RX pin is an output. If you get it wrong, you'll look like a dunce. Read the datasheet and verify that everything is kosher. In the case of our FT232RL breakout, the TX pin is an output and RX pin is an input (pretty standard). I'm going to change the silkscreen indicators to read 'RX-I' and 'TX-O'. This should remove any doubt in my mind when I'm using the board a year from now - and so I don't have to go digging up the datasheet.</p><p align="left" style="margin-top: 0px; ">The last thing to check - print off 1:1 means to print on paper and 1 to 1 scale of the board layout. Then place the components on top the paper to verify that everything fits their associated footprint.</p><p align="left" style="margin-top: 0px; ">Another quick note about printing layouts - this can be a great way to create an assembly sheet. While you've got the PCB editor open, press Alt+F11. This will turn off all the layers that are not pertinent to assembly. Print this, I normally scale it up 3 times, and hand write in what parts go where. Quick and effective way to create a cheat sheet for PCB population. Pressing F11 will bring back the normal layers but you may want to activate/deactivate a few others.</p><p align="left" style="margin-top: 0px; ">Now that we've got the board laid out, stand-off holes in place, date code in place, and accurate pin labels, it's time to mash up the layers and create some gerber files.</p><p align="left" style="margin-top: 0px; "><b>What's a gerber?</b></p><p align="left" style="margin-top: 0px; ">There are lots of different layout packages out there (Protel, Orcad, Eagle, PCB, etc). One way or another all the PCB fab houses out there need a way to control their machines to work with your layout files. The universal format is something called <a href="http://en.wikipedia.org/wiki/Gerber_File" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">Gerber Files</a>. Basically these are txt files with coordinates that tell the PCB machines to go to location X,Y and do something (drill, expose, etch, print, etc). Because there are different layers to your PCB, you need to create different text files for the different layers. This is where the Eagle CAM program comes into play.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-24.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Once you're good and happy with your PCB layout (there is no turning back after you submit the files!), click on the CAM button to bring up the processor. This window will allow you to do different things to different layers. Eagle comes with a couple default *.cam files. The most common ones are the gerb274x.cam and excellon.cam. I got tired of running two seperate processors. I am also a hold over from Protel and a different naming convention so I created my own single file CAM processor. You can snag it <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/9-EaglePCBs/sfe-gerb274x.cam" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">here</a>. The <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/9-EaglePCBs/sfe-gerb274x.cam" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">sfe-gerb274x.cam</a> is based on the default Eagle file with a few tweaks:</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">Layers are renamed for easier reading - top copper, bottom silkscreen, etc.</p></li><li><p align="left" style="margin-top: 0px; ">All the mirroring is turned off - this will make gerber inspection much easier</p></li><li><p align="left" style="margin-top: 0px; ">A top paste layer was added in case you want to create a solder paste stencil</p></li><li><p align="left" style="margin-top: 0px; ">Excellon drill file is created along with the 6 magic layers</p></li><li><p align="left" style="margin-top: 0px; ">Drill file is 2:4 Leading (remember this!)</p></li></ul><p align="left" style="margin-top: 0px; ">What are these magical layers you ask of? Anytime you transmit a PCB layout to a gab house, you need to pass them 7 files, and 7 files only:</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">Top Copper (GTL)</p></li><li><p align="left" style="margin-top: 0px; ">Top Soldermask (GTS)</p></li><li><p align="left" style="margin-top: 0px; ">Top Silkscreen (GTO)</p></li><li><p align="left" style="margin-top: 0px; ">Bottom Copper (GBL)</p></li><li><p align="left" style="margin-top: 0px; ">Bottom Soldermask (GBS)</p></li><li><p align="left" style="margin-top: 0px; ">Bottom Silkscreen (GBO)</p></li><li><p align="left" style="margin-top: 0px; ">Drill File (2:4 leading - remember this)</p></li></ul><p align="left" style="margin-top: 0px; ">What is this GTL, GTS? These are the file extensions that the CAM processor will produce. A silkscreen is also called an 'overlay' (hence, GTO). And for your reference, a soldermask is also called a solder 'stop layer' because the soldermask prevents solder from being where it is not wanted.</p><p align="left" style="margin-top: 0px; ">Some fab houses will charge extra for a bottom silkscreen layer. You can just ignore this layer if you need to. You will also see a GTP file extension. This is the Gerber Top Paste file. You can use this file to get a solder paste stencil cut it you want. One would think that a GTP file would be the same as the GTS (top soldermask file). But no!</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-26.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-27.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">On the left, the soldermask layer. On the right, the top paste layer. The soldermask layer exposes the pads<i> and the vias</i>. You wouldn't want solder paste in vias! So the paste layer only has the SMD component pads exposed.</p><p align="left" style="margin-top: 0px; ">To create these layers, click on File->Open->Job</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-28.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">And select the sfe-gerb274x.cam file. Then click 'Process Job'. Some status bars will blink by, and within a few seconds, you should have a handful of extra files in your project directory:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-29.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">The magic 7 gerber files</p><p align="left" style="margin-top: 0px; ">Something I highly recommend is to review the gerber files before submitting them for fabrication. Viewing just what is going to the fab house can exposed potential problems that were shrouded before by all the extra layers and graphics in the Eagle layout window. There are some <a href="http://www.mitsi.com/PCB/free%20viewers.htm" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">free viewers</a> out there that will let you view the gerber layers together. Most of the free viewers require you to enter an email, require 15 seconds for them to advertise at you, limited to one layer, or other really annoying limitations. Luckily, <a href="http://www.viewplot.com/" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">Viewplot</a> still exists. This free program will let you open and look at your layers easily and you don't have to fill out any silly forms to get to the download link! Be sure to select the drill file type '2:4 Leading' to matchup the holes to the layers.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-30.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Simple</p><p align="left" style="margin-top: 0px; ">But oh wait, what is that?</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-31.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Silkscreen on top of a via</p><p align="left" style="margin-top: 0px; ">This silkscreen being broken up by the via is not a big deal. Mostly this is just to show how difficult it can be to detect problems from within the layout program. By viewing what you're actually submitting to the fab house, you can see exactly what they are going to deliver - be it good or bad. Review your gerber files before you submit! You'll save yourself time and monstrous amounts of money. If you want a $50 coaster, I'll sell you a truck full.</p><p align="left" style="margin-top: 0px; ">Zip these 7 files together and shoot them off to the fab house of your choice (Shameless Plug: we use <a href="http://www.batchpcb.com/" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">BatchPCB</a>). Depending on who you use and how deep your pockets are, you'll have to sit on your hands for 1 day up to 20 days. What do I do? I start other designs! While this board is being fabbed in 2 weeks, I create and submit a new design 7 days into it. That way I always have a new PCB proto coming in every few days. It's like Christmas every week! What am I getting this week? Is it going to work? I can't wait to test out my new cat tracker!</p><hr width="80%" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; background-color: rgb(216, 213, 203); color: rgb(216, 213, 203); width: 100%; height: 1px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "><p align="left" style="margin-top: 0px; ">With the magic of television, I can jump 20 days into the future and show you...</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-33.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-33.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">In the flesh</p><p align="left" style="margin-top: 0px; ">It looks great! Time to whip out some parts and the soldering iron.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-34.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-34.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Assemble your new board!</p><p align="left" style="margin-top: 0px; ">Soldering was not too bad. Silkscreen looks good. Standoffs look good. Time for testing!</p><p align="left" style="margin-top: 0px; ">Always assume a proto will short out the first time you use it. Be very cautious and be ready to kill power immediately. Plugging this board onto the computer - guess what happens?</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-36.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-36.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Uh-oh</p><p align="left" style="margin-top: 0px; ">What went wrong? Nothing is heating up. Nothing smoked or popped. The FT232 IC doesn't seem to be enumerating onto the USB bus. But why? Let's check the schematic one more time...</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-37.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-37.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">FT232 Breakout v1.0 Schematic</p><p align="left" style="margin-top: 0px; ">Son of a... This is why we prototype! Mistakes like this happens to the best of us. What is the problem you ask? Checkout the GND pin on the USB connector. It's not connected to anything. Without a ground connection to the board, no current can flow, the FT232RL will never enumerate. The board is shot! Or is it?</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-35.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-35.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">The green wire fix</p><p align="left" style="margin-top: 0px; ">(I know the wire is not green, but this is the nick-name for an oops! fix) This is my final thoughts on PCB layout - anyone can layout a PCB, but it takes a true magician to get a bad PCB working. Scratch, cut, splice, and otherwise modify your PCB until you get it working. This example was an easy fix. I've seen some really impressive fixes over the years.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/Prototyping/General/P1030013.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">From the <a href="http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=42&page=1" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">SFE PCB History Museum</a></p><p align="left" style="margin-top: 0px; ">Don't immediately throw up your hands and layout a new board. Instead, make sure you get every bit of the functionality of your board working, by any means necessary, and then make all the revisions. Otherwise, you'll constantly spin your wheels with PCB revisions.</p><p align="left" style="margin-top: 0px; ">Things to remember:</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">Be sure to save your schematic as a new file name: *-v11</p></li><li><p align="left" style="margin-top: 0px; ">Be sure to update the date code on the board</p></li><li><p align="left" style="margin-top: 0px; ">Be sure to update the silkscreen on the board</p></li></ul><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-38.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-38.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Updated v1.1 schematic with GND connection on the USB connector</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-39.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-39.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Updated v1.1 board layout with new GND connection, updated silkscreen and date code</p></div></span>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com1tag:blogger.com,1999:blog-3574515315175869279.post-83592330653373143732009-05-15T03:52:00.000-07:002009-05-15T03:53:05.806-07:00Beginning Embedded Electronics - 8<span class="Apple-style-span" style="color: rgb(255, 255, 255); font-family: Arial; font-size: 11px;"><span class="Apple-style-span" style="color: rgb(119, 119, 110); font-family: Georgia; font-size: 12px; line-height: 18px; "><h2 style="color: black; font-weight: bold; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; font-size: 1.33em; ">Lecture 8 - Eagle: Schematics</h2><div class="tutorial_text" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; font-family: Georgia, Palatino, Times, 'MS Serif', serif; "><p style="margin-top: 0px; ">Welcome to the wonderful world of PCB creation! We've used a few software packages over the years (namely Protel DXP) and have found <a href="http://www.cadsoft.de/" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">Eagle Layout Editor</a> from CadSoft to be very easy to use, very cost effective, and very powerful.</p><p style="margin-top: 0px; ">Eagle is free! There are some limitations in place, but basic students and non-profit groups can use it. Protel is currently about $12,000 a seat.</p><p style="margin-top: 0px; ">Eagle is not the 'hobbyists' tool you may think it is. I've seen some very complex 8-layer BGA boards going into a firewall/router consumer product. I too was amazed to hear it was created in Eagle. It can be done, you just need to dream up the device!</p><p class="MsoNormal" style="margin-bottom: 14pt; margin-top: 0px; ">There are a few files that you will need to download for this workshop.</p><ol><li><p class="MsoNormal" style="margin-bottom: 14pt; margin-top: 0px; ">Download <a href="http://www.cadsoft.de/download.htm" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">Eagle</a> itself. Currently we use v4.16 (~8MB). Versions are available for Windows, Linux, and Mac. If the above link does not work, google ’eagle pcb download’ to get the latest version.</p></li><li><p class="MsoNormal" style="margin-bottom: 14pt; margin-top: 0px; ">Download the <a name="" classname="" class="" href="http://www.opencircuits.com/SFE_Footprint_Library_Eagle" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">SparkFun Eagle Library</a>. This is the collection of all the components SparkFun designs with and therefore components and footprints that have been tested. Unzip and place the SparkFun.lbr file into the Eagle\lbr directory. If the above link does not work, google ‘sparkfun eagle library’ to get the latest collection. </p></li><li><p class="MsoNormal" style="margin-bottom: 14pt; margin-top: 0px; ">Download the SparkFun <a name="" classname="" class="" href="http://www.opencircuits.com/SFE_Eagle_Shortcuts" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">Eagle keyboard shortcuts</a>. Place this file in the Eagle\scr directory. If the above link does not work, google ’sparkfun eagle shortcut’.</p></li><li><p class="MsoNormal" style="margin-bottom: 14pt; margin-top: 0px; ">Download the SparkFun <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/9-EaglePCBs/sfe-gerb274x.cam" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">CAM file</a>. Place this file in the Eagle\cam directory. This file is responsible for creating the gerber files for submission to a PCB fab house.</p></li></ol><p class="MsoNormal" style="margin-bottom: 14pt; margin-top: 0px; "><b>Note:</b> The SparkFun Eagle shortcut key script file has an .scr extension. This is a common virus infiltration method. If you choose to download <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/8-EagleSchematics/sfe_eagle_shortcuts.zip" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">our keyboard shortcuts</a>, and you don't trust us, rename the file to a .txt extension and view it in a text viewer. There's nothing there but text and Eagle commands. Just be sure to rename the file to the .scr extension so that Eagle will use it.</p><p style="margin-top: 0px; ">To learn how to use Eagle, we are going to create a simple breakout board for a popular USB IC. The FT232RL is a USB to TTL serial converter.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-34.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/9-EaglePCBs/EP-34.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/FT232_img.jpg" alt="" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">What is a USB to TTL converter?</p><p align="left" style="margin-top: 0px; ">Once the FT232RL is attached to the USB port on your computer, you will need to install some simple drivers (available for Windows, Linux, Mac), and then you will see a Virtual Com Port (VCP) appear on your computer. You can then use hyperterminal to open this new com port number. Any letters that are typed in hyperterminal are converted to a USB packet in the background, sent down the USB cable to the FT232RL where it reconstructs the serial information and passes these letters out the TX pin on the IC at whatever baud rate you choose. If you have a device connected to this TX pin, it will hear the serial letter and react. This will effectively give your device USB connectivity and you won't need to know a thing about how USB actually works!</p><p align="left" style="margin-top: 0px; ">This IC is very popular, but only comes in surface mount device (SMD) packages (sound familiar?). So let's spin a simple PCB that will allow us to use this handy IC.</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; "><a href="http://www.ftdichip.com/Products/FT232R.htm" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">FT232R Page</a></p></li><li><p align="left" style="margin-top: 0px; "><a href="http://www.ftdichip.com/Documents/DataSheets/DS_FT232R.pdf" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">FT232R Datasheet</a></p></li><li><p align="left" style="margin-top: 0px; "><a href="http://www.ftdichip.com/Drivers/VCP.htm" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">FT232R VCP Drivers</a></p></li></ul><p style="margin-top: 0px; ">When in doubt, follow the manufacturer's recommended circuit. This 'typical' application is just what we need.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/ES-1.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">This is a bare-minimum feature setup for the FT232R. Just what we need for simple TX/RX to USB. We want to plug the FT232RL on to the USB port, have it bus powered, and possibly power the rest of our circuit. Our ATmega8 uses 5V so we'll tie VCCIO to the USB 5V. A USB connector, a couple 0.1uF caps, a bigger tantalum cap, a ferrite bead, this doesn't look so bad!</p><p align="left" style="margin-top: 0px; ">Before we can get started, we need to create or locate a library part for the FT232RL. I really don't like using other people's footprints and schematic parts but in this case, FTDI has created some free libraries for their parts. <a href="http://www.cadsoft.de/cgi-bin/download.pl?page=/home/cadsoft/html_public/download.htm.en&dir=eagle/userfiles/libraries" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">This page</a> should have the Eagle library (search the page for FT232RL) but if not, google 'ft232rl eagle footprint'. We also have this part proven in the <a href="http://www.opencircuits.com/SFE_Footprint_Library_Eagle" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">SparkFun.lbr</a> library. Use their library, use ours, create your own, it doesn't matter. But because we are most comfortable with our own parts (we know they work!) we will be using the <a href="http://www.opencircuits.com/SFE_Footprint_Library_Eagle" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">SparkFun.lbr</a> file for this tutorial.</p><p align="left" style="margin-top: 0px; ">Now let's add the FT232RL part to our schematic. Close the library editor and go back to the Eagle Control Panel. Click on File->New->Project. Name this new project 'FT232-Breakout'. Right click on the FT232-Breakout project and create a new Schematic:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/ES-2.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">The schematic editor should open. Now go back to the Eagle Control Panel and expand the SparkFun Library:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/ES-3.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">You should see a long list of parts. Highlight the FT232RL-Basic part and in the right screen click on ADD. The schematic editor will pop up allowing you to place the FT232RL.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/ES-4.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Now save your schematic!</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/ES-5.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">I like to use a board name and a version number within the file name. -v10, -v11, v12, etc as 1.0, 1.1, and 1.2 advance through layout changes.</p><p align="left" style="margin-top: 0px; ">Now add these other items to your schematic:</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">1 x FRAME-LETTER : This will add a nice frame to your schematic. Add all parts inside this frame.</p></li><li><p align="left" style="margin-top: 0px; ">3 x CAP (Device name CAP0603) : 0.1uF/0.01uF 0603 capacitors</p></li><li><p align="left" style="margin-top: 0px; ">1 x CAP_POL (Device name CAP_POL1206) : 10uF tantalum capacitor</p></li><li><p align="left" style="margin-top: 0px; ">1 x INDUCTOR (Device name INDUCTOR0603) : Ferrite bead</p></li><li><p align="left" style="margin-top: 0px; ">4 x STAND-OFF( Device name STAND-OFF): This part will add a hole and a keepout ring for a #4-40 screw. These can be used to raise your board up off a surface or to mount your board to an enclosure.</p></li><li><p align="left" style="margin-top: 0px; ">USB (Device name USBPTH) : USB Type B through-hole connector</p></li><li><p align="left" style="margin-top: 0px; ">M04 (Device name M04PTH) : Four pin 0.1" connector</p></li><li><p align="left" style="margin-top: 0px; ">GND (Device name GND) : Ground connections</p></li><li><p align="left" style="margin-top: 0px; ">VCC (Device name VCC) : Power connections</p></li></ul><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/ES-6.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Parts added to the schematic</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/Eagle-SchematicMenu.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">You can click on the button you need on the menu on the left side of the screen. You can also hover over each button and its name will pop up. This works great for beginners but as you advance, you'll want to speed up layout by using keyboard shortcuts. Here are some of the basic quick keys:</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">Press escape at any time to stop the current action and return to the schematic window</p></li><li><p align="left" style="margin-top: 0px; ">F7 to move a part</p></li><li><p align="left" style="margin-top: 0px; ">Alt+F7 to group a bunch together</p></li><li><p align="left" style="margin-top: 0px; ">F3 to delete a part</p></li><li><p align="left" style="margin-top: 0px; ">F4 to rename a part (change C7 to C2)</p></li><li><p align="left" style="margin-top: 0px; ">F5 to re-value a part (change 0.1uF to 10uF, etc)</p></li><li><p align="left" style="margin-top: 0px; ">F6 to smash a part (be able to move the name and value tags)</p></li><li><p align="left" style="margin-top: 0px; ">F9 to start a wire</p></li><li><p align="left" style="margin-top: 0px; ">Alt+F9 to add a label to a wire</p></li></ul><p align="left" style="margin-top: 0px; ">NEVER change the grid size in the schematic editor. Leave it on 0.1inch steps and don't use the alternate 0.01 step. If you do, you won't be able to hook wires to the pin tie points.</p><p align="left" style="margin-top: 0px; ">Now we just need to begin wiring nets. Arrange the pieces so that there is as little net overlaps as possible.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/ES-7.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Primordial FT232RL breakout</p><p align="left" style="margin-top: 0px; ">To wire a pin (TXD) to a far point (the 4-pin connector for example), instead of sending a wire half way across the page, we use net names. The green wire is not physically seen on the schematic, but Eagle knows to connect the two points on the layout because the two green wires have the same name.</p><p align="left" style="margin-top: 0px; ">Press F9 and click on pin 1 (TXD). Bring out the net a couple square widths and left click again to end the net. Press Alt+F9 to name the net. Click on the wire you just created. You should see a net name (like N$5) appear and be floating. Anchor it to the wire and TX pin:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/ES-8.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">To change the name on the N$5 wire, press F4 (Name command) and click on N$5. A window will appear - type 'TX' and press return. The TX pin should be correctly labeled and we have a few of the schematic connections.</p><p align="left" style="margin-top: 0px; ">To rename a device (change U$1 to U1), press F4 and then click on the device you want to rename. This also works to rename a net.</p><p align="left" style="margin-top: 0px; ">To change the value of a component (0.1uF to 10uF) press F5 and click on the device you want to change the value of. To move a device, press F7 (move command) and click on the device you wish to move. Now with a little renaming and rearranging the various components:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/ES-9.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">We've thrown a 4-pin connector into the schematic and used a very stripped down schematic symbol for the FT232R. For the purposes of this tutorial, we really only care about VCC/GND/TX/RX - the bare minimum. If you need access to more of the pins, use the more complete FT232R symbol and break them out!</p><p align="left" style="margin-top: 0px; ">Use the mirror command and rename the 4-pin connector (press F4 to rename a device):</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/ES-10.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Eagle <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/FT232-Breakout-v10.zip" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">files</a> / <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/FT232-Breakout-v10.pdf" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">PDF</a></p><p align="left" style="margin-top: 0px; ">I probably could have wired JP1 directly to the various pins but I wanted to demonstrate the net/name properties. This will also make it easier to label the pins on the PCB. Speaking of which, if you have not already, click on the 'Board' button to open the PCB editor:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/ES-11.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/ES-12.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">All right! We've got the components onto a board and most of the nets connected, time for PCB layout!</p><p align="left" style="margin-top: 0px; "><b>How to copy and paste in Eagle Schematic:</b></p><p align="left" style="margin-top: 0px; ">This is perhaps the most counter intuitive part of Eagle. As with any new technical software, it's like learning a new language. Once you know the intricacies, you'll love it.</p><p align="left" style="margin-top: 0px; ">To copy one thing within a schematic is reasonably simple. Click on the 'Copy' button, then click on the thing you want to copy and that thing (component, wire, net name) will be duplicated and floating under your cursor. Drop it wherever you want it.</p><p align="left" style="margin-top: 0px; ">To copy a group of stuff within a schematic is completely wacky. First click on the group command:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/Eagle-LayoutMenu6.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">You are going to create a frame around the stuff you want to group together. Left click and hold on one corner. Drag to the opposite corner. Now release the mouse button. The items that are part of the group should now be highlighted like this:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/Eagle-LayoutMenu7.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Now click on the <i>Cut</i> button. I know you don't want to delete these items - this is just how it works. Click on cut, move your mouse cursor to the middle of the group, and left click. Nothing happened right? That's okay. The group of items has been <i>copied</i> to the buffer. Now click on the paste button:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/8-EagleSchematics/Eagle-LayoutMenu8.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">You should now have a copy of the group of items floating around. Drop these items wherever you need them in the schematic, or hit escape to return to the schematic window. I know, very odd but this type of group/modify steps comes in very handy over time.</p></div></span></span>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-89397320429290289812009-05-15T03:47:00.000-07:002009-05-15T03:50:19.078-07:00Beginning Embedded Electronics - 7<span class="Apple-style-span" style="color: rgb(119, 119, 110); font-size: 12px; line-height: 18px; "><p style="margin-top: 0px; "></p><p style="margin-top: 0px; ">You can get all the parts for this lecture <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8404" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">here</a>.</p><p style="margin-top: 0px; ">Remember, 'Yes, I really can solder that'. It's time to put Simon together! This SMD kit will show you just what it takes to solder SMD components.</p><p style="margin-top: 0px; ">The SparkFun SMD Soldering Workshop is a pseudo-class that we've been working on at SparkFun. We hand out some paper materials and teach people these lectures and have them assemble a Simon kit. It's a lot of fun! You can download the handout <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/6-SolderingBasics/SMD-SolderingWorkshop.pdf" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">here</a> that contains the following material and a bit more.</p><p style="margin-top: 0px; ">Here are the various files you will need:</p><ul style="margin-top: 0px; "><li><a name="" classname="" class="" target="_blank" href="http://www.sparkfun.com/datasheets/Prototyping/General/Simon%20assembly%20instructions.pdf" style="text-decoration: none; color: rgb(240, 53, 40); ">Simon Assembly Procedure</a> (follow the steps!)</li><li><a name="" classname="" class="" target="_blank" href="http://www.sparkfun.com/datasheets/Prototyping/General/Simon-AssemblyProcedure.pdf" style="text-decoration: none; color: rgb(240, 53, 40); ">Simon Board</a> (component print)</li><li><a name="" classname="" class="" target="_blank" href="http://www.sparkfun.com/datasheets/Prototyping/General/Simon-0E-v21-Eagle.zip" style="text-decoration: none; color: rgb(240, 53, 40); ">Simon Eagle Files</a> (for trouble shooting)</li><li><a name="" classname="" class="" target="_blank" href="http://www.sparkfun.com/datasheets/Prototyping/General/Simon-v2-Firmware.zip" style="text-decoration: none; color: rgb(240, 53, 40); ">Simon ATmega168 Firmware</a> (for programming)</li><li><a target="_blank" href="http://www.sparkfun.com/datasheets/Prototyping/General/Simon-v12-Firmware.zip" style="text-decoration: none; color: rgb(240, 53, 40); ">Simon (Old) ATmega8 Firmware</a> (for programming)</li><li><a name="" classname="" class="" target="_blank" href="http://www.sparkfun.com/datasheets/Prototyping/General/Simon-0E-v21.pdf" style="text-decoration: none; color: rgb(240, 53, 40); ">Simon Schematic</a> (for general reference)</li></ul><p style="margin-top: 0px; ">Here is some good information for SMD soldering:</p><ul style="margin-top: 0px; "><li><a target="_blank" href="http://www.sparkfun.com/datasheets/Prototyping/General/SolderingBasics.pdf" style="text-decoration: none; color: rgb(240, 53, 40); ">SMD Soldering Basics</a> (big 4MB)</li><li><a target="_blank" href="http://www.sparkfun.com/datasheets/Prototyping/General/SMD-SolderingWorkshop.pdf" style="text-decoration: none; color: rgb(240, 53, 40); ">SMD Soldering Workshop</a></li></ul><p style="margin-top: 0px; ">Here is some basic code examples to show how to control various parts of the Simon board:</p><ul style="margin-top: 0px; "><li><a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/7-SMDSoldering/Simon-BasicControl.zip" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">Basic Simon Control</a></li></ul><p style="margin-top: 0px; ">For more soldering tutorials, there are some great videos and instructions on the SparkFun website <a href="http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=36&page=1" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">here</a>. Read up on those basics as well.</p><p style="margin-top: 0px; ">Two words : solder wick. Get some. Actually, get a lot.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-0.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-0.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Simon SMD Kit</p><p align="left" style="margin-top: 0px; ">This is what we will be assembling today.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-1.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-1.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Assembled and blinking!</p><p align="left" style="margin-top: 0px; ">Make sure you've got all the components you need. Remember, SMD resistors are marked, capacitors are not so be sure to correctly identify the caps by writing on the tape immediately after you cut it off the reel. If you've just got a Digikey bag, make sure the correct components make it back into the correct bag.</p><p align="left" style="margin-top: 0px; ">Through-hole components:</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">1 x Simon PCB</p></li><li><p align="left" style="margin-top: 0px; ">2 x AA Battery Clips</p></li><li><p align="left" style="margin-top: 0px; ">1 x Buzzer</p></li><li><p align="left" style="margin-top: 0px; ">2 x Slide switches</p></li><li><p align="left" style="margin-top: 0px; ">1 x ISP Header</p></li><li><p align="left" style="margin-top: 0px; ">4 x LED (Yellow, Blue, Red, Green)</p></li><li><p align="left" style="margin-top: 0px; ">1 x Momentary Push Button</p></li><li><p align="left" style="margin-top: 0px; ">6 x Screws</p></li><li><p align="left" style="margin-top: 0px; ">6 x Plastic Standoffs</p></li><li><p align="left" style="margin-top: 0px; ">1 x Rubber 4-Button Pad</p></li></ul><p align="left" style="margin-top: 0px; ">SMD components:</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">5 x 10k Resistors</p></li><li><p align="left" style="margin-top: 0px; ">4 x 220 Ohm Resistors</p></li><li><p align="left" style="margin-top: 0px; ">1 x 47uF Capacitor</p></li><li><p align="left" style="margin-top: 0px; ">1 x 10uF Capacitor</p></li><li><p align="left" style="margin-top: 0px; ">1 x 0.1uF Capacitor</p></li><li><p align="left" style="margin-top: 0px; ">2 x 22pF Capacitor</p></li><li><p align="left" style="margin-top: 0px; ">1 x 16MHz Crystal</p></li><li><p align="left" style="margin-top: 0px; ">1 x MBRA140 Diode</p></li><li><p align="left" style="margin-top: 0px; ">1 x 22uH Inductor</p></li><li><p align="left" style="margin-top: 0px; ">1 x NCP1400 SOT-23-5 IC</p></li><li><p align="left" style="margin-top: 0px; ">1 x ATmega168 TQFP IC</p></li></ul><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-2.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-2.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Parts and assembly sheet</p><p align="left" style="margin-top: 0px; ">We created an Eagle shortcut button to help us produce assembly sheets. Pressing Alt+F11 will turn off all the extraneous layers, and turn on only the layers we need for assembly purposes. Pressing F11 will turn all layers back on.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-11.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-11.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-12.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-12.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">All layers vs. assembly layers</p><p align="left" style="margin-top: 0px; ">Once you have just the assembly layers turned on, you can print the assembly sheet. I like to scale this print out by 3 so that the printout is 3 times larger than actual size. This helps when writing component values next to tightly packed components. With the printout in hand, write in all the pertinent component values so that you know what goes where.</p><p align="left" style="margin-top: 0px; ">When soldering a mix of through-hole and SMD components, always start with the smaller, tighter pitch devices. If you go jumping into the easy ones (the power switch, LEDs, ISP header, etc), you will run the risk of touching the iron against these larger plastic items and melting them. Let's start with the power circuit:</p><p align="left" style="margin-top: 0px; ">The first thing we are going to build is the DC to DC step up power supply. This will take the 1.5V from the AA battery and boost it to 5V.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-3.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-3.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">NCP1400 surrounded by inductor and diode</p><p align="left" style="margin-top: 0px; ">Be sure to start with the inner most parts and work your way out. Otherwise, it can be difficult to get the iron into tight spaces.</p><p align="left" style="margin-top: 0px; ">Let the videos begin!</p><p align="center" style="margin-top: 0px; "><object></object></p><p align="left" style="margin-top: 0px; ">Clean your iron on the wet sponge. Place a blob of solder on one or two pads on the PCB. Slide the component into the blob and remove the iron. If the IC is not lined up, or is not flat against the PCB, heat the blob back up and re-align the IC square and flush against the PCB. You can do this 3-4 times before you start to thermally stress the PCB.</p><p align="left" style="margin-top: 0px; ">Once you have the IC to your liking, solder the other pins. Don't worry about jumpers.</p><p align="center" style="margin-top: 0px; "><object></object></p><p align="left" style="margin-top: 0px; ">If you have jumpers, pull out the solder wick. Watch the video closely! First I put a blob of solder on the end of the iron, hold the wick over the jumper, then I hold the iron w/ blob against the wick. You will notice a change in color of the wick - this is the solder climbing the wick! The blob on the iron aids in transferring heat and flux to the wick and jumper. After a few seconds, the blob travels up the wick and pulls the jumper along with it. Remove the wick <i>along with</i> the iron (do not remove the iron and allow the wick to attach to the component). The jumper is removed.</p><p align="left" style="margin-top: 0px; ">Not so bad, right? Now let's solder the diode.</p><p align="center" style="margin-top: 0px; "><object></object></p><p align="left" style="margin-top: 0px; ">Add solder to one pad. Make sure the white mark on the diode lines up with the bar on the silkscreen. Slide the diode in, hold it in place while you remove the iron. If alignment looks good, solder down the other end.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-3.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-3.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">NCP1400 with inductor and diode</p><p align="center" style="margin-top: 0px; "><object></object></p><p align="left" style="margin-top: 0px; ">The inductor requires a bit more solder and patience. The footprint is pretty tight. Make sure you slide the inductor all the way over your first pad so that you can solder the 2nd pad.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-5.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-5.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Solder on the 10uF cap and 47uF cap. Make sure you get the polarization correct. Solder in the power switch.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-6.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-6.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Solder in the AA battery lugs. They will require a bit more heat and time because they act like heat sinks. Once you have all these power components attached, insert a AA battery into the power clips. Be sure the '+' and '-' signs on the board match up to the battery.</p><p align="left" style="margin-top: 0px; ">Whip out your multimeter, cross your fingers, flip the power switch to 'On', and measure the voltage across the 47uF capacitor. It should read approximately 5V. 4.8V to 5.2V is fine. If you read something much lower, turn off the board immediately and check to see if anything is warm. Check your polarization of components (diode, caps, and battery). Check to make sure all the solder connections are sound. Touch up as necessary and re-test. Make sure you've got a solid 5V supply before moving on. Remove the battery to prevent accidental turn on during soldering.</p><p align="left" style="margin-top: 0px; ">Time to solder the ATmega168!</p><p align="center" style="margin-top: 0px; "><object></object></p><p align="left" style="margin-top: 0px; ">Same steps: put a blob of solder on one or two pads as the anchor. Slide the IC into the molten solder and align the IC. Once you have everything square and flush against the PCB, remove the iron. Do not worry about jumper, but <i>do not</i> solder more than 2-3 pads while you are doing this alignment step.</p><p align="center" style="margin-top: 0px; "><object></object></p><p align="left" style="margin-top: 0px; ">Soldering Side 1: Now that you've got the IC in place, jumper the <i>opposite</i> side like crazy. Make sure each pin gets heat/solder. Then go back with wick and wick away the excess.</p><p align="center" style="margin-top: 0px; "><object></object></p><p align="left" style="margin-top: 0px; ">Soldering Side 2: More of the same. Jumper, and wick away.</p><p align="center" style="margin-top: 0px; "><object></object></p><p align="left" style="margin-top: 0px; ">Soldering Side 3: If the wick starts to get in your way, cut off the used wick (once it's silver, it's not re-usable) and throw it away.</p><p align="center" style="margin-top: 0px; "><object></object></p><p align="left" style="margin-top: 0px; ">Soldering side 4: Same motions, but two of the pins should already have a jumper. Add solder to all pins like before, and wick away the extra.</p><p align="left" style="margin-top: 0px; ">The ATmega168 should now be soldered! Congrats! That was the hardest part! Let's solder the crystal next.</p><p align="center" style="margin-top: 0px; "><object></object></p><p align="left" style="margin-top: 0px; ">Add solder to an anchor pad, slide and and align the crystal so that you can see equal parts of all four pads. Solder the other four pads. Be careful not to allow solder to jumper from the pad to the top cover. The crystal packaging is ceramic (non-conductive) but the top is metal and will short pads together if you're not careful. This shouldn't harm the crystal, it just won't oscillate.</p><p align="left" style="margin-top: 0px; "> </p><p align="left" style="margin-top: 0px; "> </p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-7.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-7.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">0603 Resistor pinned down</p><p align="left" style="margin-top: 0px; ">Now we have a handful of discretes to solder down. Be sure you get the 220Ohm, 10k Ohm resistors, 22pF, and 0.1uF capacitors in the correct places. They are not polarized.</p><p align="left" style="margin-top: 0px; ">Add solder to one pad (in the picture above I've added anchor solder to all components on the board), slide the component in, and remove the iron. Add solder to the 2nd pad. Add solder to the first pad if you want, to try to minimize the 'horns'.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-8.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-8.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">220Ohm 0603 resistor all happy</p><p align="left" style="margin-top: 0px; ">Continue soldering all 0603 components.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-9.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-9.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Close-up of the ATmega168</p><p align="left" style="margin-top: 0px; ">Don't worry about the gunky brown stuff too much. That's residual flux and can be cleaned off with a little rubbing alcohol if it bothers you.</p><p align="left" style="margin-top: 0px; ">Now it's time for the easy stuff! Soldering in the through-hole components!</p><p align="center" style="margin-top: 0px; "><object></object></p><p align="left" style="margin-top: 0px; ">Use the weight of the PCB to hold the ISP connector in place. Be sure to solder the ISP connector so that the long pins point up when looking at the front of the board. You will be soldering from the back of the PCB. Tack one pin down and check that the ISP connector is flush against the PCB. If it's not, re-heat the one pin while lightly applying pressure to the connector/PCB until they are flush. Now solder the other 9 pins, finally touching up the original anchor pin.</p><p align="left" style="margin-top: 0px; ">Ground pins will require extra time/heat. Don't get speedy. Childs play compared to SMD components, right?</p><p align="center" style="margin-top: 0px; "><object></object></p><p align="left" style="margin-top: 0px; ">Now insert and solder the reset switch. The reset switch should lock into place so just make sure it's flush before soldering it.</p><p align="left" style="margin-top: 0px; ">Repeat these steps for all through hole components (sound switch, buzzer, etc).</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-10.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-10.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Almost there!</p><p align="left" style="margin-top: 0px; ">Notice we have not yet soldered in the LEDs. Because they are clear, we don't know which LED goes where. Also, we've been tricked in the past by mistakenly marked LEDs (the flat mark on the LED did not correctly match with the silkscreen). We first need to program the board with <a name="" classname="" class="" href="http://www.sparkfun.com/datasheets/Prototyping/General/Simon-v2-Firmware.zip" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">Simon game firmware</a> and then hold the LEDs in place for testing.</p><p align="left" style="margin-top: 0px; ">First step - add some stand-offs. This will levitate the board above your work area and avoid the possibility of shorting bits of scrap wire across the back of your PCB. Insert the AA and make sure we still have 5V on the board. If not, immediately disconnect power and check for shorts. Continuity probe if necessary. Now attach the AVR-PG2 programmer and open Programmer's Notepad as we did in <a name="" classname="" class="" href="http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=93" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">Lecture 2</a>. The AVR-PG2 programmer requires power from the board so be sure to turn on your board before attempting to program.</p><p align="left" style="margin-top: 0px; ">We will need to configure the ATmega168 to use its external 16MHz crystal. Review<a name="" classname="" class="" href="http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=95" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">Lecture 3</a> and in a command prompt send:</p><ul style="margin-top: 0px; "><li><p align="left" style="margin-top: 0px; ">avrdude -p atmega168 -P lpt1 -c stk200 -U lfuse:w:0xff:m -U hfuse:w:0xc9:m</p></li></ul><p align="left" style="margin-top: 0px; ">If the fuse programming throws an error (it always does on the first try for some reason), select 'n' and try again. The second time, it should complete successfully.</p><p align="left" style="margin-top: 0px; ">Here is the <a name="" classname="" class="" href="http://www.sparkfun.com/datasheets/Prototyping/General/Simon-v2-Firmware.zip" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">firmware</a> for Simon for the ATmega168. Open Simon.c in PN2, select Tools->Program and the firmware should load onto your Simon board. Now insert one of the LEDs and hold it slightly at an angle. It should light up momentarily. Turn off Simon. Whatever color the LED is, insert it into the appropriate place on the PCB, bending the legs once it's flush against the PCB to hold it in place. Solder this LED in place and repeat these steps for the other three LEDs. If the LED does not light up, flip the LED around to see if it's an orientation problem. If the LED still does not light up, check to make sure the firmware is loaded correctly.</p><p align="left" style="margin-top: 0px; ">Once you have all four LEDs soldered in place and blinking correctly, add the button pad and secure it in two places with a screw and standoff.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-1.jpg" alt="http://www.sparkfun.com/images/tutorials/BeginningEmbedded/7-SMDSoldering/SMD-1.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Simon!</p><p align="left" style="margin-top: 0px; ">You should now have a functioning Simon game! Congratulations!</p><p align="left" style="margin-top: 0px; ">Now if you are the lucky type that runs into problems during assembly/testing, there are a few things that should be checked. In order of priority:</p><ol><li><p align="left" style="margin-top: 0px; ">Test for shorts between VCC and GND</p></li><li><p align="left" style="margin-top: 0px; ">Check that the board has 5V</p></li><li><p align="left" style="margin-top: 0px; ">Test ISP pins for shorts to GND, or shorts to VCC</p></li><li><p align="left" style="margin-top: 0px; ">Probe connections from ISP connector to given pins on ATmega168</p></li><li><p align="left" style="margin-top: 0px; ">Probe connections from pins on ATmega168 to various components</p></li></ol><p align="left" style="margin-top: 0px; ">If any one of these steps fails, you should be able to localize the problem and cut traces, green wire, whatever it takes to get the PCB working.</p><p align="left" style="margin-top: 0px; ">for further details go to </p><p align="left" style="margin-top: 0px; "><a href="http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=107">http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=107</a><br /></p><p align="left" style="margin-top: 0px; ">you can find all the videos in the above mentioned link...</p><p></p></span>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-17964974671470826032009-05-15T03:45:00.000-07:002009-05-15T03:47:31.919-07:00Beginning Embedded Electronics - 6<span class="Apple-style-span" style="color: rgb(119, 119, 110); font-size: 12px; line-height: 18px; "><p style="margin-top: 0px; ">Say it with me - 'Yes, I really can solder that'. Yes, you really can solder that and anything else.</p><p style="margin-top: 0px; ">First, we will solder a through-hole component kit. Here are the ground rules for soldering:</p><ul style="margin-top: 0px; "><li>Rule 1: Irons get hot. Don't poke your lab partner in the eye with it.</li><li>Rule 2: You need to wet your sponge. This may seem counter-intuitive, <i>just do it</i>. I hate seeing people ruin irons because they're too lazy to get the sponge wet. This wet sponge is used to clean the corrosion on the tip of the iron. A dry sponge does nothing but damage the tip. Every time you pull the iron from the stand, it's a good idea to swipe the tip on the sponge just to clean it off and get a nice silver tip - it will allow you to solder much quicker and much cleaner.</li><li>Rule 3: The point on the iron-tip is NOT the hottest part. This takes some practice but learn to use the side of the tip near the point. It's all about getting the heat to flow from the iron to the joint. If you sit in one spot for a long period of time and nothing is flowing, take a step back, clean your tip, add a bit a solder to the tip, and try soldering the joint again.</li><li>Rule 4: The soldering iron is only there for heat, not solder. You use the iron to heat two things - the part and the board, and then you add solder to the two heated parts. You <i>do not</i> add a glob of solder to the tip and then rub this mess against the two things you're trying to solder together. Use the side of the iron (remember, not the point) to heat the two parts while adding solder from the opposite side.</li><li>Rule 5: Perfectionism kills. If you solder a joint, and it looks alright, let it be. Do not solder, then touch up, and re-solder, and then have to touch up a third time. This heating/reheating stresses the PCB (printed circuit board). You will quickly delaminate the board, lifting traces, pads, and destroying the board. Do this for fun on your own time.</li><li>Rule 6: This is really getting ahead of ourselves here, but it's good to hear as many times as possible. When soldering joints that have a lot of thermal weight, heat the joint up for an additional 5-10 seconds. When you solder to a big part or a pad that has a lot of copper attached to it (very common with GND connections), it takes a few extra seconds for the iron to pump enough heat into the part to get it to the correct temperature to form a connection. If you notice your iron tip feels 'sticky', or if you see the solder balling to the pin instead of flowing to the joint, this is because one part of the joint is not hot enough. Hold the iron on the joint for a few extra seconds and allow the solder to flow correctly.</li></ul><p style="margin-top: 0px; ">Here is a short video to demonstrate how to clean your iron tip, solder a through hole component, and clip off the extra leads.</p><p align="center" style="margin-top: 0px; "><object></object></p><p style="margin-top: 0px; ">Now about irons:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-3.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">This is my cheap-o Sunkko iron. It was under $100, it can solder lead-free solder just fine, and I use the standard included iron tip. You don't really need a digital read-out for home use, but do get an iron that has an adjustable temp dial. I set mine temp to about 350C for leaded solder. Notice my sponge is wet!</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-4.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">A cold iron tip. You can see the barrel and upper area of the iron are discolored by heat over time. No problem. You <i>do not need</i> an needle-sized iron tip to solder SMD devices. This is a common fallacy. This tip works very well!</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-5.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Here's my solder. I stole this from work because 1) It's leaded and we use lead-free for production. 2) It's 0.020" diameter which is really too thin for production. Because it's so thin, the assemblers would have to use many many inches of solder to solder larger joints (like DB9 connectors). Smaller diameter solder helps you control how much solder goes into very tight pitch joints but it's not magic - it is not required. Just don't buy the solder at the hardware store that they sell for copper pipe plumbing, that stuff is ridiculously thick.</p><p align="left" style="margin-top: 0px; ">This solder is SN63PB37 meaning it's 63% tin and 37% lead. It's also called 'rosin core solder' because it has an organic core of rosin. As you melt the solder into the joint, a small amount of rosin inside the core will come out and help the solder flow. Rosin basically changes the surface tension of the solder allowing it to flow better (we're talking about liquid metal after all). Rosin will burn off and that's the small amount of smoke you see while you're soldering. Standard rosin smoke is not harmful! It has been known to irritate some people's eyes but I've never known anyone to have a problem with it. When in doubt, get a fan or open a window. Lead is known to be a <a href="http://en.wikipedia.org/wiki/Lead_poisoning" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">carcinogen</a>. In general, don't eat the solder. Wash your hands before you eat and you should be safe.</p><p align="left" style="margin-top: 0px; ">This is a 1lb spool which should last me until 2020. $18.95 from JB Saunders. JBSaunders is a surplus shop in Boulder, CO. They sell some handy tools and supplies but it's not your standard hobby shop - it can be tricky to get help some days. Solder aficionados may watch the DOM (date of manufacture) and claim that solder will go bad at some point. I have no idea. I imagine the rosin may change slightly over time but this solder is probably good for many years to come.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-6.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=106" alt="" vspace="" border="0" hspace="" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p style="text-align: center; margin-top: 0px; "><img alt="http://www.sparkfun.com/tutorial/BeginningEmbedded/6-SolderingBasics/BEE6-1.jpg" src="http://www.sparkfun.com/tutorial/BeginningEmbedded/6-SolderingBasics/BEE6-1.jpg" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Here is a hot iron, with a blob of oxidized solder on the tip.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-7.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">A quick double swipe on the sponge and the tip is clean and shinny. This is the iron you should be soldering with! Keep your tip clean and shinny. Clean it often. Wipe it on the sponge every time you take it out of the base. Add a bit of solder to the end of your cleaned tip to increase heat flow</p><p style="margin-top: 0px; ">That's the starters. Soldering takes practice! Just go and get your hands dirty already.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-23.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">The Shifter board assembled</p><p align="left" style="margin-top: 0px; ">You will be assembling the '<a href="http://www.sparkfun.com/commerce/product_info.php?products_id=133" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">Shifter board</a>'. (Please note: the component placement on the shifter board in the photos in this tutorial might not be the same as the shifter board you purchase. Make sure to follow the silkscreen indicators on the board you receive for proper component placement.) This board is a MAX232 equivalent circuit meaning it does some dirty tricks to convert RS232 signals to TTL level signals. It does this with a few pennies worth of parts instead of a proper MAX232 IC.</p><p align="left" style="margin-top: 0px; ">The benefits of the shifter board vs. a conventional MAX232 circuit:</p><ol><li><p align="left" style="margin-top: 0px; ">The shifter board is smaller than a MAX232 DIP with its charge-pump caps</p></li><li><p align="left" style="margin-top: 0px; ">Cheaper</p></li><li><p align="left" style="margin-top: 0px; ">Works at voltages down to 2.5V (compared to the MAX232 that only works at 5V)</p></li></ol><p align="left" style="margin-top: 0px; ">Problems with the Shifter board:</p><ol><li><p align="left" style="margin-top: 0px; ">It's a bit dirty, meaning it does not follow the proper RS232 +/-12V convention (shifter board only puts out -3V to +5V)</p></li><li><p align="left" style="margin-top: 0px; ">It will not operate faster than 115200bps (some MAX232 ICs can operate up to 1 mega-bit per second)</p></li><li><p align="left" style="margin-top: 0px; ">It only has TX/RX where a MAX232 has TX/RX/CTS/RTS (additional control lines)</p></li></ol><p align="left" style="margin-top: 0px; ">In response to problem 1 - I've never come across a modern computer that the shifter board does not work. This is because the RS232 ports on modern computers are designed to deal with poorly designed serial devices! So even though our shifter board can't quite get to the -12V and +12V, the computer can still understand what it's trying to say.</p><p align="left" style="margin-top: 0px; ">Problem 2 - Windows simply can't handle serial speeds faster than 115200bps (well, not without some serious finagling). The shifter board works fine at this speed so the MAX232 has no real advantage for the every-day application.</p><p align="left" style="margin-top: 0px; ">Problem 3 - Almost all the serial interfaces you will be building, hardware flow control (CTS/RTS = clear to send and ready to send) is rarely used. The shifter circuit is simple. Replicate it twice if you want flow control.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-0.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">So let us build up this kit and replace the MAX232 circuit in the breadboard with our shifter circuit. Always lay out all your parts to make sure you've got everything you need.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-1.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Plated through-hole (PTH) resistors have color bands on them. Surface mount device (SMD) resistors have readable numbers on them. I can't read the color bands on resistors to save my life, but your multimeter can! The shifter kit is easy to tell which is which - there are five 10k resistors and two 220Ohm resistors.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-2.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Resistors are non-polarized meaning they can be inserted into the board either way. You can pre-bend the resistor leads if you like. After the resistor is inserted into the board, bend the legs out the other way so that it stays in place. Pull out your iron and solder the resistor from the bottom side of the board.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-8.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Hold the iron against the PCB and the leg of the component. Insert solder into this trio. It should melt as you add it. If not, re-orient the iron to get better heat conduction. It's not hard, just practice. Once you've got the two joints soldered, clip off the legs.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-9.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Clip off the legs. Don't worry about clipping the legs absolutely flush. Doing so can stress the mechanical nature of the joint and the PCB.</p><p align="left" style="margin-top: 0px; ">The kit has various indicators showing the assembler how to orient parts. Pay close attention to these and the resistor values.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-10.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Notice the small pool of solder at the base of the resistor legs we just soldered in? This is good. Enough solder was applied to come through the holes from the bottom of the board to fill all the way through the via.</p><p align="left" style="margin-top: 0px; ">The single diode in the kit <i>is polarized</i> so you'll need to get the orientation right. In the picture above, the black line on the diode matches with the white line on the silkscreen.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-11.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Soldering the diode like this would be bad. Make sure you get the component flush against the PCB, within reason. Some components (like the transistors we're about to solder) ride above the PCB. Solder up the rest of the resistors.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-13.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">All the resistors and diode</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-12.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Soldered and trimmed. Notice the small amounts of residual flux - it's the clear, shiny, sticky material left of the board. For production assemblies, this flux is cleaned off with a light solvent or rubbing alcohol. Flux is slightly acidic and will degrade solder joints over a period of years. For our purposes, this flux is ok and shouldn't cause any problems.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-14.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Solder in the electrolytic capacitor noting the '-' sign polarization matching with the silk screen.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-16.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">LEDs installed. Note the flat side of the LED matches the silkscreen polarization.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-17.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Install the 2N3904 and 2N2906 transistors. Note the flat side of the BJT transistor matches the flat side of the silkscreen. Make sure you get the correct '3904' and '3906' labeled parts in the correct spot.</p><p align="left" style="margin-top: 0px; ">Here is a short video to demonstrate how to clean your iron tip, solder a through hole component, and clip off the extra leads.</p><p align="center" style="margin-top: 0px; "><object></object></p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-20.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Install and solder the DB9 connector.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-21.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">You can see now why it would have been a bad idea to solder the DB9 connector first. The PCB would have been at an angle during soldering.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-22.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Solder in the four connection wires - VCC, GND, TX, and RX. Pick your own color scheme. I only recommend that red and black go to VCC and GND respectively.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-23.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">The shifter board, all assembled!</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-24.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Guess how we're going to test it? A loop-back jumper of course! Plug the shifter board into your breadboard, VCC and GND, and insert the TX/RX wires into one row, shorting them together.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/6-SolderingBasics/Solder-26.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="left" style="margin-top: 0px; ">Power your board, pound some characters into hyperterminal and verify that you get an echo. You should see the TX and RX LEDs blink briefly. Congrats! You now have a serial connection for all your future breadboard prototypes! This should open up some significant space on your breadboard and allow you to skip building a MAX232 circuit for future breadboard projects.</p><p align="left" style="margin-top: 0px; ">In the end, I use the shifter board on all my breadboard prototyping and a conventional MAX3232 circuit on my PCB designs. Sorry to confuse you so much. When you solder together as many prototype PCBs as I do, you really want to limit how many solder connections you have to solder. Inserting through-hole components for the shifter circuits takes much more time than a MAX3232 circuit. I also like the MAX3232 circuit because it has fewer parts that could break.</p></span>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-19084636824066228642009-05-15T03:37:00.000-07:002009-05-15T03:44:25.202-07:00Beginning Embedded Electronics - 5<span class="Apple-style-span" style="color: rgb(119, 119, 110); font-size: 12px; line-height: 18px; "><h2 style="color: black; font-weight: bold; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; font-size: 1.33em; ">Lecture 5 - AVR GCC Compiling</h2><div class="tutorial_text" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; font-family: Georgia, Palatino, Times, 'MS Serif', serif; "><p style="margin-top: 0px; ">Sorry for the confusion. When these tutorials were written and photographed, we used the ATmega8. We now carry the newer ATmega168. You will find all ATmega168 information in the following pages, but the pictures will show an ATmega8.</p><p style="margin-top: 0px; ">I know very little about the ins and outs of the AVR-GCC compiler. I've learned a few basics that helped me along the way, but when you run up against a jam, google and AVRfreaks.net are your friend.</p><p style="margin-top: 0px; ">First, we did the blinky. Open this code in PN2 and make sure you can compile it. Click on Tools->Make All. The window in the bottom screen should say 'Process Exit Code: 0' meaning the compilation was successful. If not, there should be a line number listing of the problem line of code. Be sure to check above and below the indicated line for problems.</p><p style="margin-top: 0px; ">In the second example C file called <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/5-Compiling/basic-out-atmega168.zip" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">basic-out-atmega168.c</a> (<a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/5-Compiling/basic-out.zip" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">basic-out.c</a> for the ATmega8), I've inserted a handful of functions and lines of code. First of the black magic:</p><blockquote><p style="margin-top: 0px; "><b><span style="font-size:85%;">#define FOSC 16000000
<br />#define BAUD 9600
<br />#define MYUBRR FOSC/16/BAUD-1</span></b></p></blockquote><p style="margin-top: 0px; ">What is all this noise at the top of the file? This is a series of defines that calculates the MYUBRR variable with the correct number. Since serial communication depends on the fact that we will be transmitting and receiving at 9600 bits per second, it's crucial to tell the ATmega168 what bit rate to set. Because the ATmega168 is dictated by the oscillator that it is using, we must correctly calculate what value we need to load into the ATmega168 hardware so that the ATmega168 sends the serial pulses at the correct rate with a given oscillator type. In our case, we are using a 16MHz oscillator so we can setup the define statement as shown. MYUBRR is calculated at compile time and is loaded successfully into the hardware UART during run time.</p><hr width="80%" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; background-color: rgb(216, 213, 203); color: rgb(216, 213, 203); width: 100%; height: 1px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "><p style="margin-top: 0px; "><b>A reader's untested submission:</b></p><blockquote><p style="margin-top: 0px; ">The UBRR value calculation in Lecture 5 could be more accurate with the following macro:</p><blockquote><p style="margin-top: 0px; ">#define MYUBRR (((((FOSC * 10) / (16L * BAUD)) + 5) / 10) - 1)</p></blockquote><p style="margin-top: 0px; ">There is also pretty useful web form for UBRR calculation:</p><blockquote><p style="margin-top: 0px; "><a href="http://www.wormfood.net/avrbaudcalc.php" class="moz-txt-link-freetext" style="text-decoration: none; color: rgb(240, 53, 40); ">http://www.wormfood.net/avrbaudcalc.php</a></p></blockquote></blockquote><hr width="80%" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; background-color: rgb(216, 213, 203); color: rgb(216, 213, 203); width: 100%; height: 1px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "><blockquote><p style="margin-top: 0px; "><b><span style="font-size:78%;">static FILE mystdout = FDEV_SETUP_STREAM(uart_putchar, NULL, _FDEV_SETUP_WRITE);</span></b></p></blockquote><p style="margin-top: 0px; ">This line creates a buffer for the printf statement to post to. I'd rather not explain it, simply because I don't understand it. When I am working on a new coding project I never start from a blank page, I *always* start from a known working program and slowly bring in bits of other projects to get the code I need, writing bits along the way. Please start from this printf example and build away. The purpose here is to get your printing string to the terminal window.</p><p style="margin-top: 0px; ">Checkout the ioinit() function. You'll notice some new commands.</p><blockquote><p style="margin-top: 0px; "><b><span style="font-size:85%;">U</span></b><b><span style="font-size:85%;">CSR0B = (1<<rxen0)|(1<<txen0);</span></b></p></blockquote><p style="margin-top: 0px; ">This is the really funky, but very practical, method of setting bits on the AVR series. RXEN0 is defined in some file as '5'. 1<<rxen0 translates="" shift="" a="" 1="" left="" 5="" spaces="" is="" handy="" because="" don="" t="" remember="" specifically="" where="" enable="" you="" only="" need="" know="" to="" or="" not="" rxen0="" by="" this="" bit="" same="" goes="" for="" using="" example="" code="" these="" two="" bits="" rxen0="" get="" set="" loaded="" into="" ucsr0b="" enabling="" tx="" and="" rx="" hardware="" on="" the=""><rxen0 the="" on="" hardware="" rx="" and="" tx="" enabling="" ucsr0b="" into="" loaded="" set="" get="" bits="" two="" these="" code="" example="" using="" for="" goes="" same="" bit="" this="" by="" rxen0="" not="" to="" know="" need="" only="" you="" enable="" where="" specifically="" remember="" t="" don="" because="" handy="" is="" spaces="" left="" a="" shift="" translates=""></rxen0></rxen0></p><p style="margin-top: 0px; ">Finally, we see the very comfortable line of code:</p><blockquote><p style="margin-top: 0px; "><b><span style="font-size:85%;">printf("Test it! x = %d", x);</span></b></p></blockquote><p style="margin-top: 0px; ">What did you say? This is not a comfortable line of C code for you? Ok - printf is somewhat of a universal function to pass serial strings and variables to the outside world. The line of code above will pass the string "Test it! x =" to the serial port and it should display on the terminal window. After that, the %d gets converted to an actual decimal number so that whatever digital number is currently stored in the variable x gets printed to the terminal screen. So what? This simple printf statement allows you to print variable contents and see what's going on within your C program.</p><p style="margin-top: 0px; ">Time to load the <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/5-Compiling/basic-out-atmega168.zip" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">basic-out-atmega168.c</a> file onto your breadboard. Open up PN2, compile basic_out-atmega168.c. Power up your board, click on Tools->[WinAVR] Program from within Programmer's Notepad. The code should now be loaded onto your ATmega168. If WinAVR throws a verification error, try again. Open up the terminal window at 9600bps if you don't already have it open.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/5-Compiling/Compiling1.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Text output from the ATmega168 and MAX232 circuit</p><p align="left" style="margin-top: 0px; ">All right! We've got output from the ATmega168! Now let's talk about some more of the code:</p><blockquote><p align="left" style="margin-top: 0px; "><span style="font-size:85%;"><b>sbi(PORTC, STATUS_LED);</b></span></p></blockquote><p style="margin-top: 0px; ">Another funky one if you're not used to the AVR series. To toggle a GPIO pin (general purpose input/output pin), you need to read the state of the port, mask the bit change into the state-word, and then write the 8-bits back onto the port effectively modifying just the one bit. Instead of doing all that by every time you want to toggle a port pin, there's this handy macro:</p><blockquote><p align="left" style="margin-top: 0px; "><span style="font-size:85%;"><b>#define sbi(var, mask) ((var) |= (uint8_t)(1 <<></span></p></blockquote><p style="margin-top: 0px; ">SBI sets a bit. CBI clears a bit. You have to specify which port you're working with and which pin you want to alter. Throw another define at the top of your code:</p><blockquote><p align="left" style="margin-top: 0px; "><span style="font-size:85%;"><b>#define STATUS_LED 0</b></span></p></blockquote><p style="margin-top: 0px; ">Now you can control your STATUS_LED on PORT C using these two simple commands:</p><blockquote><p style="margin-top: 0px; "><span style="font-size:85%;"><b>sbi(PORTC, STATUS_LED);</b></span></p></blockquote><p style="margin-top: 0px; ">To turn on the LED and</p><blockquote><p style="margin-top: 0px; "><span style="font-size:85%;"><b>cbi(PORTC, STATUS_LED);</b></span></p></blockquote><p style="margin-top: 0px; ">To turn it off.</p><p style="margin-top: 0px; ">You should have an LED tied to pin 23 on the ATmega168. When in doubt, toggle your status LED to figure out where the code is hanging or use a printf statement.</p><p style="margin-top: 0px; ">There are also some tweaks to the delay_ms() routine. Because we increased the oscillator from 1MHz to 16MHz, I increased the loop iterations to tie up the processor for longer. I didn't do any real calculations so don't depend on my delay_ms routine. delay_ms(1000) looks to be roughly a 1 second delay.</p><p style="margin-top: 0px; ">Open <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/5-Compiling/basic-in-atmega168.zip" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">basic-in-atmega168.c</a> (<a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/5-Compiling/basic-in.zip" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">basic-in.c</a> for the ATmega8) and load up your breadboard:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/5-Compiling/Compiling2.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Key presses and various responses</p><p align="left" style="margin-top: 0px; ">Here we see that whatever character we hit, the ATmega168 responds with 'I heard : ' and the character. Also, if you hit return, X, or g, you will see various special output.</p><blockquote><p style="margin-top: 0px; "><span style="font-size:85%;"><b>key_press = uart_getchar();
<br />
<br />printf("I heard : %c\n", key_press);
<br />
<br />if(key_press == 'g') printf(" GO!\n");
<br />if(key_press == 'X') printf(" EXIT\n");
<br />if(key_press == 13) printf(" RETURN\n");</b></span></p></blockquote><p style="margin-top: 0px; ">uart_getchar sits waiting for a character to appear in the UART. Once received, the ATmega168 outputs the character (%c) and goes to a new line (\n). It then checks to see if the key press was one of three special cases. If so, it prints an extra string accordingly. I hope you are starting to see the power of the input/act-upon/output that a microcontroller is capable of. With a little bit of work, you could program your own text-based adventure game. Go to town.</p><p style="margin-top: 0px; ">Remember back when you were struggling to get your power supply wired up? Nice job! Time to heat up your irons.</p></div></span>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com0tag:blogger.com,1999:blog-3574515315175869279.post-34056275966618886032009-05-15T03:33:00.000-07:002009-05-15T03:34:16.072-07:00Beginning Embedded Electronics - 4<span class="Apple-style-span" style="color: rgb(119, 119, 110); font-size: 12px; line-height: 18px; "><h2 style="color: black; font-weight: bold; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; font-size: 1.33em; ">Lecture 4 - UART and Serial Communication</h2><div class="tutorial_text" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; font-family: Georgia, Palatino, Times, 'MS Serif', serif; "><p style="margin-top: 0px; ">Hello, Hello World</p><p style="margin-top: 0px; ">You can get all the parts for this lecture <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8394" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">here</a>.</p><p style="margin-top: 0px; ">Sorry for the confusion. When these tutorials were written and photographed, we used the ATmega8. We now carry the newer ATmega168. You will find all ATmega168 information in the following pages, but the pictures will show an ATmega8.</p><p style="margin-top: 0px; ">The ATmega168 has tons of hardware built into it. Let's unleash the serial communication. Everyone has programmed the 'Hello World' program. You've got your micro breadboarded and running at 16MHz. You've got WinAVR up and running. We've already demonstrated LED control. Now it's time to pass some serial data back and forth.</p><p style="margin-top: 0px; ">I am not a huge coder. I just want my printf() statement to do what it is supposed to do. I don't use a hardware debugger, I debug by printf statements. Sure, there are limitations with this, but for 90% of the applications out there, debugging with printf statements works just fine.</p><p style="margin-top: 0px; ">First, a quick history of RS232. What is <a href="http://en.wikipedia.org/wiki/RS-232" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">RS232</a>? It's just a name for a standard that has propagated from generation to generation of computers. The first computers had serial ports that used RS232, and even current computers have serial ports (or at least USB ports that act like RS232 ports). Back in the day, serial information needed to be passed from devices like printers, joysticks, scanners, etc to the computer. The simplest way to do this was to pass a series of 1s and 0s to the computer. Both the computer and the device agreed on a speed of information - 'bits per second'. A computer would pass image data to a printer at 9600 bits per second and the printer would listen for this stream of 1s and 0s expecting a new bit every 1/9600 = 104us (104 micro-seconds, 0.000104 seconds). As long as the computer output bits at the pre-determined speed, the printer could listen.</p><p style="margin-top: 0px; ">Zoom forward to today. Electronics have changed a bit. Before they were relatively high power, high voltage devices. The standard that is 'RS232' dictates that a bit ranges from -12V to +12V. Modern electronics do not operate at such high positive and negative voltages. In fact, our ATmega168 runs 0V to 5V. So how do we get our 5V micro to talk the RS232 +/-12V voltages? This problem has been solved by the IC manufacturers of the world. They have made an IC that is generically known as the MAX232 (very close to RS232, no?).</p><p style="margin-top: 0px; ">The MAX232 is an IC originally designed by a company called Maxim IC that converts the +/-12V signals of RS232 down to the 0/5V signals that our ATmega168 can understand. It also boosts the voltage of our ATmega168 to the needed +/-12V of the RS232 protocol so that a computer can understand our ATmega168 and vice versa. To get our ATmega168 IC sending serial characters to a computer, we have to send these serial signals through a MAX232 circuit so that the computer receives +/-12V RS232 signals. Don't worry if you're working with a chip labeled 'ICL232' or 'ST232' - these are just generics of the MAX232. Everyone says 'MAX232' just like they say 'Kleenex' or Coke. The ICs all function the same and nearly all have the same pinout.</p><p style="margin-top: 0px; ">The MAX232 circuit that we will be breadboarding looks like this:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/4-UART/UART1.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">MAX232 Circuit - Eagle <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/ATmega8-RS232.zip" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">schematic</a> / <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/ATmega8-RS232.pdf" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">PDF</a></p><p align="left" style="margin-top: 0px; ">This MAX232 IC uses three 0.1uF capacitors (C5, C6, C7) to operate (go read about '<a href="http://en.wikipedia.org/wiki/Charge_pump" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">charge pumps</a>'). You must have these installed. The forth (C8) is what is called a 'decoupling cap'. As the MAX232 IC switches various signals (from +/-12V to 0/5V) it uses bits of current. Because it needs these bits of current in bursts, it can disrupt your 5V supply. The C8 0.1uF capacitor helps 'decouple' or remove the ill effects of this IC (switching back and forth) from your power supply. This decoupling cap should be placed near the VCC and GND pins of the IC. This helps remove noise from your power system. Will your breadboard work without decoupling caps? Sure it will! Go without! But the day will come when something stops working and you're not sure why. Could it be my code? Do I have a short somewhere? A disconnect? Or perhaps I don't have enough decoupling caps?</p><p align="left" style="margin-top: 0px; ">A decoupling cap is meant to provide a quick burst of energy if the power supply dips down - sort of like a UPS system for your IC. The further the decoupling cap is from the IC, the less ability it has to provide that quick burst (long wires have intrinsic capacitance of their own). It's always good engineering practice to have at least one 0.1uF cap near any IC. Placing them within 0.5" of the VCC and GND pins is good. Placing them all the way across your breadboard won't do harm, they just won't provide as much help.</p><p align="left" style="margin-top: 0px; ">JP2 is a DB9 connector. It's called a 'DB9' connector because it contains 9 pins and is used universally for serial connections. You'll need a male to female serial cable to connect your breadboard's DB9 connector to the computer. The 'male' end of the cable has the metal pins, the 'female' end has the black colored plastic that receives the pins. If you look very close at a DB9 connector in real life, you can just make out some small numbers next to the holes.</p><p align="left" style="margin-top: 0px; ">So what all does this do? The ATmega168 is going to send 5V signals to the MAX232 IC. The MAX232 IC in turn will convert those 5V signals to +/-12V RS232 signals that the computer can understand through the DB9 port on the back of the computer. Admittedly this can be a bit ugly to setup at first. Will you believe me that once setup, this will be your life-line to sanity? The serial connection is everything! You'll need one on almost every application you do.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/4-UART/UART7.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Breadboard with MAX232 and large loop-back jumper installed</p><p align="left" style="margin-top: 0px; ">Once you have everything wired, you'll need to open up a terminal program. If you're playing under Windows, you can open up the included 'Hyperterminal' program normally located under Programs->Accessories->Communications. Linux and Apple people, you probably know how to get a terminal program running (sorry I can't be more help!).</p><p align="left" style="margin-top: 0px; ">All terminal programs have the same basic function: to do serial. All you need to specify is a few simple rules to get your micro playing successfully with your computer. Let's just get through the Hyperterminal screens:</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/4-UART/UART2.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">Call it whatever you want</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/4-UART/UART3.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">More than likely, the serial port on your computer is COM1</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/4-UART/UART4.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">You want 9600bps 8-N-1 without flow control</p><p align="left" style="margin-top: 0px; ">The main settings are <b>9600bps</b> and <b>8-N-1</b>. This means that the micro and the computer agree to talk at a rate of 9600bits per second (bps) and that each byte will have 8 data bits, with no parity bit, and only 1 stop bit. This '8-N-1' is very common and basic. If you like pain, go read about <a href="http://en.wikipedia.org/wiki/Parity_bit" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">parity</a>, 1.5 stop bits, and 5 data bits. No one really uses it in the breadboarding world.</p><p align="left" style="margin-top: 0px; ">Mkay, you've got hyperterminal open and kicking. You've got your MAX232 (or equivalent circuit) built up and powered on. Before you connect it to your micro, you should test that the MAX232 circuit works. The easiest way to test a MAX232 circuit is to tie TX and RX together. It's called a 'loop-back' (the big yellow wire pictured above). Pretty self explanatory, but just follow along:</p><p align="left" style="margin-top: 0px; ">When you press the 'A' key on the computer in the hyperterminal window, a series of 1s and 0s get generated and pumped out the serial port on the back of your computer (8 bits: '01000001' to be specific = 65d = 41h - see <a href="http://www.asciitable.com/" style="text-decoration: none; color: rgb(240, 53, 40); ">www.asciitable.com</a> for more info). These 0s and 1s hit the MAX232 on your breadboard which dutifully changes these RS232 signals to TTL signals. The 0s and 1s get asserted on the R1OUT pin. Because you've tied the TX and RX pins together (R1OUT should be shorted to T1IN) these 0s and 1s get sent right back out the MAX232 and down the DB9 serial cable. Upon hitting the computer, the computer 'sees' these 1s and 0s and says 'oh! there is a device passing me the ASCII character A'. The computer then displays the character 'A' in the hyperterminal screen. This is the essence of a loop-back test. If everything is kosher, you should be able to jam away on the keyboard and see those letters echoed back to the terminal window. Pull the jumper out and the characters should stop echoing. Got it? Use it! In the future, when you need to test a serial interface, short TX and RX together to make sure things are working correctly.</p><p align="left" style="margin-top: 0px; ">All right, you've got the MAX232 working correctly. Now connect the TX and RX pins of the ATmega168 to the MAX232 circuit.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/4-UART/UART5.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">ATmega8 with power supply and MAX232 circuit. Eagle <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/ATmega8-RS232.zip" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">schematic</a> / <a href="http://www.sparkfun.com/tutorial/BeginningEmbedded/ATmega8-RS232.pdf" target="_blank" style="text-decoration: none; color: rgb(240, 53, 40); ">PDF</a></p><p align="left" style="margin-top: 0px; ">You may have noticed C9 magically appeared next to the ATmega168 in the schematic above. This is a 0.1uF decoupling capacitor for the ATmega168. A 0.1uF capacitor places near the ATmega168's VCC and GND pins will help reduce power supply noise being injected into the ATmega168. Again, your board will more than likely run without decoupling caps but I just want to instill in you a habit of using 0.1uF like candy.</p><p align="center" style="margin-top: 0px; "><img src="http://www.sparkfun.com/commerce/images/tutorials/BeginningEmbedded/4-UART/UART8.jpg" alt="" border="0" style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " /></p><p align="center" style="margin-top: 0px; ">TX and RX connections between MAX232 and ATmega8</p><p align="left" style="margin-top: 0px; ">Savvy travelers will note (upside down) the picture MAX232 IC is actually a SP3232(EBCP). What is this 'SP3232'? It's a the Sipex generic of the MAX232. Notice the '3' in front of the 232? The original MAX232 ICs were designed to interface 5V logic to RS232. Because circuits started to run on lower voltages (3.3V for instance) the IC manufacturers had to redesign the MAX232 ICs to be more efficient so that they could take this lower voltage and boost it up to 12V for RS232. Hence the 3V designation 'SP3232'. This IC can input 3V TLL signals and successfully convert them to RS232. We are operating our breadboard at 5V but we are able to run our MAX232 from 3V up to 5V without problems.</p><p align="left" style="margin-top: 0px; "><b>Trivia:</b> In the picture above, which IC is the older sibling? These ICs have simple date codes: 0641 and 0625 means both ICs were manufactured in 2006 in the 41st and 25th weeks of the year.</p><p align="left" style="margin-top: 0px; ">You should now have the hardware in place to allow you to do printf statements. Let's mess with some code!</p></div></span>rahul uppalahttp://www.blogger.com/profile/05825119508291620414noreply@blogger.com0