Cybug Scarab Kit
Description: Cybug Scarab KitExperience level: Expert
Time required: 2 hours
Goal
To build a light sensing robot capable of moving both forwards and backwards with antennae that help the robot steer clear of obstacles just like an actual insect.Introduction
Whenever I start a project, I like to look over the manual, and it is almost always possible to break the project into a series of steps. Below, I have broken up the project into the steps outlined in the manual and described some of my tips and tricks in building the Cybug Scarab.Step One: Resistors
Always measure the resistance of the resistors with a multimeter (Jameco P/N: 1928476). Just because a resistor labels its value, do not trust that you have read it correctly. Trying to find a misplaced (or a bad) resistor is as difficult as trying to find a needle in a haystack. 330Ω resistor measured with multimeter |
47µF eletrolytic capacitor with negative
end pointed up |
Step Two: Capacitors
Two of the capacitors are electrolytic, meaning they are polarized. The negative side (short lead) of the capacitor is marked while the positive side is seen on the silkscreen. Putting them in the wrong way produces some particularly acrid smoke when powered up, and it is always a surefire way of showing that you have placed a capacitor in wrong.Step Three: Semiconductors
These parts include the diodes, LEDs, and transistors. Always make sure you match the picture on the silkscreen to the part. If you think there might be a problem with any of the semiconductors, measure the voltage across the part and there should be:-
• ~ 0.6 Volts across an LED or diode
• ~ 0.6 Volts across the base and emitter of the transistors
• Non-infinite resistance across the photocell in room light
1N4148 diode with band matchingthe band on the silkscreen |
Position of U1 (top) andU2 (bottom) on the silkscreen |
Step Four: Integrated Circuits
As a word of caution: Even if what you are building does not have IC sockets, always put them in. You do not want to have to remove a 16 pin IC when it starts getting hot and smoking because you put it in the wrong way. In the picture above, one IC has the dot closest to the ‘+ -’ marking on the silkscreen (U2) while the other has it facing away from the 9 Volt marking (U1).Step Five: General Construction
-
• The hardest part of this entire project was breaking the PC board for the leg joints of the bug. If you have a razor blade or a sharp paring knife, saw off the joints next to D2 and S1 (D4 and R11 on the other side) first before applying pressure to each joint to break it. Then break the joint closest to C9 (or C5). Trying to break all the joints at once is very difficult.
-
• Do not try to hold the motor while soldering it. Instead, use a couple of pieces of masking tape to hold it in place while soldering.
-
• Save a couple of leads for the eye stalks of the robot (I forgot this and had to go fishing around in the garbage). To make them, I wrapped a lead around a pair of needle nose pliers and wrapped the excess around the straight part of the lead to create a loop.
Joints before being broken |
Holding the motor in place before soldering |
Creating the eyestalks for the Cybug |
Step Six: Final Tweaks
Amazingly, when I turned the Cybug Scarab on, it lit up and started walking around. However, there were a couple of tweaks that had to be made:-
• One LED did not turn on, so it had to be replaced. Unfortunately, this meant unsoldering from a plated hole. If you have solder wick or a desoldering pump (Jameco P/N 41082 and 19166, respectively), you can try to use those, but I ended up being too aggressive, and I removed the plating from the hole.
If you end up doing this, it is easy to see the traces on the silkscreen where the component is connected. (It is also good to verify this by looking at the circuit diagram
provided in the manual or online). Then, it is a simple matter of soldering a jumper from the end of the component in the unplated hole to the end of the component that it should be connected to.
-
• The biggest problem I faced was when one of the motors fell off from the Scarab when the motor's leads disconnected from the motor itself. I fixed this by filling the sockets (where the leads were) with solder. Then I pushed the motor back into its original holes and held the soldering iron on one of the holes until I saw the solder start to flow. Since I was not sure if I had pushed the motor in correctly, I turned the Scarab on, and wiggled the motor back and forth until the motor started turning and soldered it in place. Finally, I covered the large middle hole and the PC board around it with
super glue just to make sure it would not come out. This method was politically incorrect, but it worked.
Quick fix for the LED (top right) and traces on the silkscreen |
The Cybug Scarab in its natural environment
|
Finally, I remembered to have fun!
Ben Godfrey is an electrical engineering student at the University of California, Davis. Ben has written iPhone applications and is a Ham Radio operator.
330Ω resistor measured with multimeter
47µF eletrolytic capacitor with negative
1N4148 diode with band matching
Position of U1 (top) and
Joints before being broken
Holding the motor in place before soldering
Creating the eyestalks for the Cybug
Quick fix for the LED (top right) and traces on the silkscreen