PDA

View Full Version : Tutorial: Soldering 103 PCB Soldering: Building an Arduino Protoshield



Oneslowz28
06-29-2010, 12:57 AM
In this tutorial I will cover soldering through hole components to a PCB. To do this I will be setting up a Arduino Proto-Shield remixed from Seeed Studio (http://www.seeedstudio.com). So heat up your iron and get ready to melt some metal.

Warning: A soldering iron produces very high temperatures (http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8258.jpg) and can cause sever burns and even start fires. TheBestCaseScenario.com takes no responsibility for your personal safety if you chose to use this tutorial in your own project. Furthermore TheBestCaseScenario.com can not be held accountable for any damage to your person or property due to your use of this tutorial.

What you will need.

Soldering Iron
Solder (leaded or lead free will work)
Arduino ProtoShield Remixed (http://www.seeedstudio.com/depot/arduino-protoshield-kit-remixed-v10-p-318.html?cPath=35) from Seeedstudio.com
Helping hands
Self closing tweezers
Solder sponge and copper pot scrubber (optional)
Solder sucker or solder wick
Needle nose pliers


Building the SeeedStudio Arduino Protoshield Remixed.

Now that we have tip cleaning and care covered lets get down to business and build the proto shield. The first thing we need to do is check the kit and make sure we have all the components necessary. We wont use all of this in the tutorial but we should still check.

PCB
Break Away Headers - male 40 pin X2
Break Away Headers - Female 40 pins X1
Rubber ring string X1
Break Away Headers - female 8 pin X3
Break Away Headers - female 6 pin X1
Break Away Headers - DUAL male 40 pin for Arduino/Seeeduino X1
2X3 female pin header X1
2X3 male pin header X1
Mini Push Button Switch X4
USB Female Type B Connector X1
Vertical PCB Mount Potentiometer, 10K Ohms X1
DPDT Switch Black for Breadboard X2
Dual color p3 LED X1
5mm LED red X2
5mm LED green X2
Resistor 1kΩ X4
Resistor 10kΩ X2




http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8157.jpgI like to lay everything out and take inventory. Not all of this will be used in this tutorial but Seeed Studio included plenty of components for a variety of configurations.




When soldering on a PCB (Printed Circuit Board) it is always easiest to solder the smallest components first. So we will start with the resistors labled R1 and R2 on the PCB silk screen.



http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8164.jpgR1 and R2 are both 1k 1/8w resistors. You can identify a 1k resistor by its color bands. Brown, Black, Red. The Gold denotes it is a 5% tolerance.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8166.jpgBend the leads so they fit perfectly in the holes and sit flush against the PCB.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8169.jpgR1 is for the Pin 13 LED and R2 is for the power LED.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8170.jpgTo hold the resistors in place for soldering, I like to bend the leads in opposite directions.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8273.jpgWhen soldering the resistor's leads to the PCB you want to apply heat to both the pad and the lead at the same time with the soldering iron. Be sure to apply the solder to the opposite side and not directly to the iron. You want the solder to be melted by the hot pad and component leads.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8176.jpgThe resistor leads all soldered up.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8179.jpgNext we will solder the LED's to the board.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8182.jpgTo make a long story short the long lead of the LED is the Anode and the short lead is the Cathode. Some LEDs have leads that are the same length and you can usually tell what is what by the flat spot on the bottom edge of the LED. It will always be on the Cathode side of the LED. On a PCB the LED is marked on the silk screen by a circle with a flat spot. The hole closest to the flat spot is for the Cathode.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8183.jpg Again bend the leads to hold the LEDs in place.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8186.jpgUp next is the ISP headers. These are usually a pain to hold in place for soldering. Some people use a dab of super glue to hold them in place. I just bend the leads on opposite ends on opposite rows in opposite directions. Note that you can not do this with stack-able headers.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8188.jpgWe will also add the reset switch. It's leads are preformed and will "lock" into the PCB.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8192.jpgIn this shot you can see the leads of the button "locked in" and the ISP header pins sticking out.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8194.jpgPartialy soldered up. Pin Headers sink away a lot of heat so make sure you apply the heat for a few seconds longer than you would for other components to avoid a bad joint like I have on the two pins here.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8196.jpgHere I purposely bridged 2 of the pins with solder so I can show you how to fix this if it happens to you.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8197.jpgI use a solder sucker to remove the excess solder. You can pick these up at Radio shack for a few bucks or any online electronics store for about the same price. The same effect could be acheived with solder wick or a skilled swipe of a clean soldering iron tip.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8199.jpgNow it is time to move on to the pin headers that will connect the shield to the Arduino.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8201.jpgHere is a little trick I like to use when soldering headers to an Arduino shield. Slide the long end of the header pins into your arduino or in my case seeeduino.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8202.jpgHeaders fully inserted.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8203.jpgThen place your shield PCB on top of the headers for soldering.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8204.jpgReady for soldering.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8206.jpgWhen soldering the header pins on your joint should looks something like this. The solder should slope up to the top of the pin. If it looks more like a blob, use your solder sucker to remove the excess solder and try again.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8211.jpgNow lets solder on the female headers to the top of the shield. Again I like to bend the lead on each end to hold it to the PCB while soldering.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8212.jpgA shot of them from the bottom. To keep the female headers aligned I used some spare male headers.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8213.jpgSoldered up. A quick note here. These pins are very small and are surrounded by ABS plastic, so be careful with how long you apply heat for as you could melt the plastic onto the inside pin and render the header useless.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8214.jpgThe Arduino Protoshield Remixed from Seeed Studio comes with a USB port. This is a pretty cool feature and will allow you to add separate USB connectivity to your projects.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8215.jpgThis is a tricky one to hold flush against the PCB. The easiest thing to do is use some long clamping tweezers.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8216.jpgAnother shot of the tweezers.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8218.jpgThe first thing to solder is the large metal tabs that reinforce the USB port mounting.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8219.jpgNow solder the USB ports pins.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8220.jpgThe Arduino Protoshield Remixed also comes with a 10k pot. This is a very handy feature to include on a prototyping shield. It is a bit tricky to solder and connect to female headers though. Again we will use the clamping tweezers to old it in place.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8221.jpgSolder the pins.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8223.jpgNow using a hobby knife cut 3 individual female headers. Be careful and do not slice your finger off.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8225.jpgPlace the female headers into the small holes above the pot. In this shot you can see I also added female headers to the I2C and UART pins. That option is completely up to you.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8243.jpgSolder the pins in and use a bit of solder to bridge the gap between the Pot and Female header pins.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8229.jpgOn the bottom left corner of the PCB you can see I populated the 5V, Gnd, and 3.3V rails with female and male headers. These extra connections will come in handy when prototyping.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8247.jpgAnother shot of the power connections.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8228.jpgShot of the bottom.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8241.jpgHere is the Arduino Protoshield Remixed fully populated.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8229.jpgAnd from the back.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8231.jpgNow I am going to add a mini breadboard for further prototyping ability.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8232.jpgThese mini breadboards attach to the PCB by 2 sided tape.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8235.jpgJust stick it to the PCB making sure not to cover up any of the Arduino Pin labeling.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8236.jpgFrom the top.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8238.jpgNow to test the protoshield. Wire up a LED to pin 13 and load the blink sketch to the Arduino. If the LED blinks then the board works.

http://themakersworkbench.com/tutorials/Seeed_Studio_arduino_proto_shield_remixed/IMG_8239.gifHere are the parts left over. Extra parts are always a good thing and when it comes to electronics they are welcome addition.

Thanks for reading my tutorial.

x88x
06-29-2010, 01:50 AM
Good tutorial. That covered several tricks that took me a while to figure out on my own. :D

Oneslowz28
06-29-2010, 02:22 AM
Thanks!!

Yea I tried to add as many tricks as I could but there are still some I left out or forgot to write about. This should be a good starting point for all the soldering noobies though.

mDust
06-29-2010, 11:45 AM
This should be a good starting point for all the soldering noobies though.
Me...and yes it is. Thanks for posting it.

dr.walrus
06-29-2010, 08:54 PM
Might be worth noting that, though there weren't any transistors on this project, you have to be very careful to avoid overheating, and preferably use a heatsink

Oneslowz28
06-29-2010, 09:16 PM
That is a good point. The self clamping tweezers I used to hold the USB port down work very well as a heatsink. That's the primary reason I bought them.