Thank you for your purchase of this RocketBot Robot from Rocket Brand Studios. You got yourself one great little robot. Follow these instructions step-by-step and you should have no problems. If you do run into an issue (of any kind) please do not hesitate to use any one the links below or contact me directly.
Rocket Brand Studios Homepage
Rocket Brand Studios Arduino Bot Page (Tutorials and Test Code)
You will need:
- Soldering iron
- Pliers and dikes (Diagonal cutters --little snippy things)
- Small Screwdrivers
- Hobby Knife (X-acto)
- Masking tape
Step 1: Let's Get Started (Soldering)
First off, this kit will require soldering and you shouldn't be intimidated by this. Soldering is an incredibly easy skill to learn and there are about 6 million tutorials out there. If you are unfamiliar with soldering, now might be a good time to hit the Googles or the YouTubes and find yourself a tutorial or walk-through. One particular tutorial I like is enclosed below:
Step 2: Assembly 1
Let's start by opening up your kit and removing the bag with all the electronic parts in it. These little parts have a terrible habit of rolling off your desk and getting lost forever. Use a small cookie sheet or shallow dish to keep them all together. Also grab the main board, it will probably be toward the bottom of the box. I personally use a cheap set of "helping hands" to hold the board while I solder, but this is not required. At this point, all you really need is a way to hold the board stable while working with it, some good light and your soldering iron.
Step 3: Assembly 2
We will start with the easy stuff, the resistors. There are a total of 7 on the board, we will be installing 5 and these guys can go in any direction.
- (4) 330 ohm resistors in the front corner
- (1) 10k resistor in the back
Do not install the (2) 4.7K resistors at this time.
The 4.7k resistors are what are known as "pull-up" resistors and are needed if you chose to use the I2c functions of the Arduino chip. Specifically, they are for the optional line-follow kit. You don't need to know what any of that means, just set the 2 resistors aside in your toolbox and remember where they are. You may need them later as your robot knowledge grows.
Step 4: Assembly 3
The crystal and the 3 capacitors are next and they can all go in at any direction.
- (1) 3-pin orange/brownish resonator between the 2 chip locations
- (1) .1uf cap toward the back, near the 10k resistor (you may have to bend the legs in just a bit)
Step 5: Assembly 4
There are 2 LED's on the board to indicate power is on for either the brain and/or the motors. I found these very cool square LED's and started using them for my robots. They look great (and even better when on!) but alas, the legs are just a tad bit too wide to fit through the holes on my board. I have taken the liberty to trim off the wide part of the legs thus allowing them to fit my boards, but in doing so I also eliminated the thing that told you which leg was which. --The legs were different lengths to determine + and -. To remedy this, I have placed a small black mark on the LEDs in your kit. This black dot indicates negative.
Grab your board and look at the spot for the 2 LED's. It is up front, next to the 330 and 4.7k resistors. If you look closely at the LED symbol, you will notice it is round with one flat side. This flat side is negative.
The black dot on the underside of your LED's should go to the flat side of the LED symbol on the board. To be more clear, the pin with the black dot on the LED will go through the hole with the SQUARE pad.
Double check yourself, solder them in and trim the legs.
Step 6: Optional Parts
You may have noticed that there are a few parts laid out on the board that you do not have parts for. Don't worry, they were not forgotten. Instead, these are for the purpose of "future-proofing" in that they will allow you to expand some of the capability of the robot in the future as your skills grow. One such area is on the front of the robot and appears to be 2 rows of holes right next to each other. These are for the optional line-follow kit (which may or may not be available at the time you are reading this).
Check http://www.rocketbrandstudios.com/projects-and-info for availability and for more info
The other spot of concern is near the back close to the 6-pin header. These (3) components are part of the 3.3v kit available at the link above. Your robot is a 5v device but some of the doo-dads you may want to connect to it could run at 3.3v instead. The best example of this would be an X-bee. X-bee's are little devices that can transmit and receive data wirelessly and they work at 3.3v --5v will cook them. If you purchased the 3.3v kit, you may install it now. If not, you may skip this step. Please note, the 3.3v kit can be installed at any time.
Step 7: Assembly 5
Go ahead and install the (2) main power switches. They can only go one way. These switches will be well, switched, and need to be very secure. Solder all three legs of both switches on both the top and bottom of the board. I have found that a regular clothes pin works great to hold these guys tight to the board as you solder them in. Solder these switches BEFORE you do the reset switch.
The reset switch sorta "clicks" into the board and will only fit one way. Look closely, the little button is slightly wider than it is deep. Clip it in the right way 'round and solder away. Just soldering the bottom of the board on this one should be just fine.
The legs on the switches are pretty short, but trim them anyway. --No reason not to be neat and tidy here.
Step 8: Assembly 6
The IC sockets are next on the list. We are not going to solder our little robot brain or motor driver chip in directly. Using the little sockets will allow you to easily swap out a chip and will protect the chip from being cooked from the soldering process. Each of these sockets include a small notch at the top. This is wicked important. Line up the notch on the socket with the notch in the symbol printed on the board.
It is best to keep these guys flat to the board so I suggest a small piece of masking tape to hold them down while soldering. Also, I suggest soldering only one leg (toward the center of the chip) to start. Solder this one leg then carefully remove your tape (without pulling up on the socket). Now you can place your finger on the socket, press it down and reheat that one leg you soldered. The solder will remelt and the socket will be pushed flush with your finger. Remove the heat, and count to 5 slowly before removing your finger. Take a quick look and be sure it is nice and tidy.
When you are happy with the placement, double check the notch (they should point to the front of the robot) and solder all the pins. Repeat this process with the other socket.
There is no need to trim any of the legs on the sockets after soldering. Do not install the chips at this time.
Step 9: Assembly 7
With all your IC socket practice, this should be a piece of cake. Find the 17-pin female header (NOT the male pins) and stick it the only place it will go, just above the square labeled "Mini Breadboard". Repeat the process you used for the IC sockets, a little tape to get started, solder just one pin, reheat and straighten with your finger and finish by soldering all the pins. It is sorta important that this guy sits flush to the board, but is also 90 degrees to the board. Do the same for the 5-pin female header on the other side of the breadboard.
Get this guy nice and straight and solder it in. No need to trim any of the legs.
Step 10: Assembly 8
We have a few pins to solder in here and I am not going to lie to you, there is simply no good way of holding these silly things while soldering. I personally use the same method as was used on the IC sockets and female header --solder one pin, straighten, solder them all. A wee bit of patience is needed to get and keep them straight when taping them down and the tape should only touch the very tips of the pins. After you get the one center pin soldered and start the finger-on-top-reheat-straighten process, be aware not to have your finger on the particular pin you are soldering (it's going to get hot, duh!) Also note, that some of the pins will go on the top of the board and some on the bottom. If you look closely at the board, you will notice that each part has an outline around where it goes. This outline will appear on either the top or bottom of the bottom of the board depending on where the part goes. It is very easy to get a rhythm going and solder the wrong thing on the wrong side so take you time, study the pictures and do it right the first time.
Let's get going. Find the strip of straight pins and also the bent pins. The bent pins can be set aside for now. The straight pins must be snapped apart into the lengths we need. The pins snap apart quite easily with some small pliers and your fingertips.
* (1) 3-pin header toward the front of the robot (Bottom) Solder this guy first
* (3) 3-pin headers toward the front of the robot (Top)
* (2) 2-pin headers on the bottom of the board near the "Motor" labels (Bottom)
* (1) 6-pin bent header on the back of the board, with the pins pointing outward
* (1) 10-pin bent header on the bottom of the board with the pins pointing backward (away from the front)
Be patient, get creative and do whatcha gotta do to get these guys in. Double check the pictures and be sure things are going to the correct side.
Solder them all in. There is no need to trim any of the pins.
Step 11: Assembly 9
This step is quite satisfying. Grab the little black breadboard from your parts kit. (I have no idea why they call these things "breadboards"). Peel off the backing, be sure it is straight and stick 'er down.
You only get one shot at this, Skippy --Take a deep breath and don't screw it up!
Step 12: Seventh Inning Stretch
At this point, you have had your head stuck in solder fumes for a couple/few hours now while staying pretty stressed about putting parts in the wrong places etc. Your brain is full. Take a break. Seriously.
- Have a smoke (you shouldn't really, its stupid, but if you do, now would be a good time)
- Have a cuppa tea or coffee outside
- Music is always good
Step 13: Assembly 10
Now we're getting to the good stuff. Grab these parts from the kit:
* (2) Motors
* (2) Little metal brackets
* (2) #4 x 1/2" Screws
* (4) 2-56 x 1/4" Bolts
* (4) 2-56 Nuts
* (4) 2-56 Washers
* (2) Red and Black wires (with the little connectors on the ends)
* (2) Capacitors (they will probably be brown with wider legs than what you used on the board)
Start by screwing the brackets to the motors with the #4 screws. You will need a right and left so be sure they are mirror images of each other. Note: The screw goes through the SECOND hole from the edge. It is slightly larger and goes all the way through the motor. Just go for snug here, you will strip the plastic if you go too tight.
Place the motor on the board (as shown in the picture --the one with my finger holding the wire) as a dry-fit. Do not screw it down at this time. Plug in one of your red and black motor leads and hold it as it appears in the picture. Make a nice little loop and make note where it goes past the contacts on the back of the motor. If in doubt, leave it a bit long. Go ahead and cut the wire to this length. Repeat this process for the other side.
With your hobby knife, split the 2 wires apart at the end without the connector. Be sure you cut DIRECTLY down the middle and that you don't nick either wire. Split it about 3/4" down from the end. Now, with your strippers or very carefully with your hobby knife, strip about 1/4" of wire from the end of each wire exposing the copper wire inside. Do not cut into this copper wire. With your finger tips, twist each of these wires so all the strands are nice and tight together.
Now hold up your capacitors up to the motor connections. Bend the legs outward (as shown in picture) and trim them so the ends will just reach the motor leads. Take the wires we prepared earlier and twist the copper end of the red wire on one leg and the black wire to the other leg. --Again, bunch of pictures below.
We need to "tin" the wires and motor connections. Place the wires so they hang off the edge of your desk and tape them down. With your soldering iron and solder, solder the exposed tips of each wire soldering them to the caps. It should go pretty quick, and you want it to as to not melt the insulation of the wires. Repeat this with the terminals on the motors, just a thin, quick layer of solder on each connection.
No go ahead and solder the wires to the motors. This will be the same as soldering any other connection, place the wire on the connection, tape it or do whatever you need to keep it there, and solder away. It does not matter which wire goes where or that the motors match. Note the picture here so the wires stick out the right way from the motor.
Plug 'em in and screw 'em down! Use (2) of the 2-56 nuts and bolts for each mount and snug them up. No need to go "red face tight" here, just good and snug is all you need. The washers go ON THE TOP of the board, under the head of the screws. Plug the connector into the pins labeled "Motor". It does not matter which way you plug it in, just be sure that your wire has that nice little loop in it and is tidy. Do both motors now.
Step 14: Assembly 11
This step might seem a bit out of order, but it needs to be done now. The reason we held off on this step until now is to be sure the motors were installed first and thus, that the battery pack would fit between them.
Grab the battery pack and clip off the wires at about 2" long. (See picture). Strip and tin the ends, the same way you had done with leads for the motors. Remove the backing off the (2) strips of double-stick tape on the back and stick 'er down.
Note: The wires MUST be on the side near the "Batt" label on the board.
At this point, you can work a neat loop in the wires an stick the stripped, tinned ends through the (2) holes labeled "+" and "-" on the board.
IT COULD NOT BE MORE IMPORTANT THAT THE RED WIRE GO THROUGH THE HOLE MARKED "+" AND THE BLACK THROUGH THE HOLE MARKED "-". Don't screw this one up.
Solder them from the top side of the board and trim the ends.
Step 15: Assembly 13
Stick the wheels on. Do not just push them on. Instead, squeeze them on, pushing against the back of the motor. See picture. Stick 'em on and secure with the little screw (included with the wheels).
Step 16: Assembly 12
I'm not going to lie to you here, the tailwheel assembly is going to be a wee bit tricky. The brackets and wheels were selected because they A) look cool and B) are very practical on a robot like this. They are super-adjustable, roll and rotate effortlessly and one can remove the wheels easily to remove any carpet fuzzies or dog hair that may have gotten wrapped around. I live in a household with 2 big Black Labs so dog hair is a huge ongoing issue.
Don't freak when you see all the little parts, we're going to get through this. I have taken the liberty of making a video to walk you through this step. Watch it now.
(Note: In the video I think I say, "2 extra collars in the bag of screws" I meant to say, "4 extra collars")
I think the video is pretty self-explanatory, but for the sake of clarity, I have included a bunch of photos as well. To review the highlights, make note of the following things (in no particular order):
- You must put a small notch (with your hobby knife) in the plastic bracket to allow the allen key of the top collar to rotate fully.
- Any and all adjusting (re-bending of the axle wires) must be done with the wires REMOVED from the plastic bracket. Note the picture with my finger pointing to one wheel that is a bit high. This wheel can be adjusted by moving the collars up and down and/or bending the wire into a steeper or more shallow angle. You may also do this to adjust the wheels to be 90 degrees to your table, etc. Again, do not try to bend the wires while still attached to the robot, you will break the plastic bracket.
- Do not bend anything without pliers! If you do, you will get sloppy, round bends and the brackets will not work.
- Don't over tighten the allen key screws in the collars, snug is all you need.
- Be patient with this step, study all the pictures, work slowly.
- If you screw anything up, you can email me to buy a replacement part --or-- you can get this bracket from any hobby shop that sells RC planes. The bracket is a Dubro DUB375.
I included plenty of pictures, you can do it.
Step 17: Assembly 13
This is a fun step. We're going to have something that sorta looks like a robot after this.
Grab the servo, the nifty plexiglass bracket, the Sharp distance sensor and the red/black/white wire as well as the little black plastic connector (it will look just like the one that is on the end of the servo).
The servo goes first, it simply fits in the notch at the front of the robot and gets attached with (2) 2-56 bolts and nuts --no washers. Note that the notch is not centered, this is because the output shaft on the servo is not centered. Place the servo so the output shaft at the top is inline with the center line of the robot. Bolt it down --remember, just snug. The servo plugs into the 3-pin header on the BOTTOM of the board labeled "D11" and the brown wire MUST be closest to the edge of the board. If you look closely, the pins on the board are labeled "- + S" which is, Negative Positive Signal ---> Brown Red Orange. With one of the zipties, make a nice bundle with the extra length of wire and zippy-zip it together. Clip off the extra ziptie sticking out.
We can now prepare the pigtail wire for the Sharp sensor. It has a white connector on one end and (3) bare connectors on the other end. These (3) connectors will snap into the small plastic housing (the one that looks like the one on the servo). Now, these need to go in the right way or they will not "click" in. Look closely at the pictures included as there is no good way (via text) to describe it. Each one will slide in and the gentle "click" tells you it is in far enough. The wires MUST be in this order: White/Red/Black --or-- Black/Red/White. You may now plug the white connector into the Sharp sensor itself. It will only go one way.
Sharp Distance Sensor Bracket
The bracket that holds the Sharp sensor should be pretty self-explanatory, but there is one modification to the servo horn you must do. If you look in the baggie of parts that came with the servo, you will find 3 "horns" --the little white things that attach to the top of the servo. Grab the one that is "double sided" but not the one with the 2 little extra "ears". (see pictures) The plexiglass bracket was designed to fit this servo horn however, the holes in the horn are not quite big enough. Feel free to use a fancy-schmancy drill and drill bit to make them bigger --or-- you can do what I do, just ream out the holes a bit with your hobby knife. The holes used are the second ones from the ends. If you hold it up to the plexi bracket, you will see which ones to use. When you are done, you may screw the plexiglass bracket to the servo horn, the Sharp sensor to the bracket and place it on the robot. Do not install the center screw yet. --We have no idea if the servo is centered or not. When you have finished the construction, one of the first things we will do is center the servo at which point we can install that screw.
Step 18: Assembly 14
Oh, are we getting close here! Grabs your brains, my friend...
You will find a little black piece of foam rubber with (2) chips stuck into it. The larger of the 2 is the Arduino brain and the smaller one is the motor driver. We will be installing these now. The first thing to note is that I use 2 suppliers for my Arduino chips. You may or may not have a white sticker on top of your chip. It makes no difference either way, and if you don't have the white sticker, you won't miss it. I think I used both chips in some of the pictures --they are the same.
One thing you may notice is that the legs of these chips will seem too wide to fit in our sockets. They are (all chips come like this) and we need to bend them in. DO NOT TRY TO DO THIS BY HAND! Instead (as shown in the picture) use the table top to bend the legs all at the same time. It is pretty easy to screw this one up so go slowly and carefully. It is also easy to accidentally bend the opposite side you are working on so be aware as to where your fingers are when you do this. Be gentle, be patient. Repeat this process with both the Arduino brain and also the motor driver chip.
At this point, you can press them into their respective sockets. Do not push against the robot itself, instead, put your hand against the underside of the board to support it when pressing them in. Also, note the notch at the top of each chip. The notch in the chip MUST match the notch in the socket.
Step 19: Assembly 15
If you noticed, there is a big 'ol cap included in your kit. What is this thing? Well, I have noticed through testing that when the motors or servo are run very hard or say, the line-follow sensor board is plugged in, there can be A) electrical noise or B)sudden (bursts) drains of power. This, on occasion, has caused a reset from our microcontroller. The big 'ol cap is a small insurance policy to be sure your robot runs without a problem.
Bottom line: If your robot is acting a bit "funky" (especially intermittently) and your batteries are fully charged, add this capacitor. The side with the "-" sign goes to ground, the other pin goes to VIN. See the picture.