Difference between revisions of "SimpleBot Shield Assembly"

From Open Hardware Miniconf
Jump to: navigation, search
(Regulator & Capacitors)
(Regulator & Capacitors)
Line 62: Line 62:
 
All of these components need to be oriented correctly. Place the regulator as shown.
 
All of these components need to be oriented correctly. Place the regulator as shown.
  
Electrolytic capacitors have a grey stripe on the side marked "-", which is the '''negative''' side. The circuit board has a small plus marked next to the pin for the '''positive''' side. Both the positive sides face towards the regulator, as shown, so the capacitors are mirrored.
+
Electrolytic capacitors have a grey stripe on the side marked "-", which is the '''negative''' side. The circuit board has a small plus marked next to the pin for the '''positive''' side. Both the positive sides face towards the regulator, as shown, so the capacitors are "mirrored" in orientation to each other.
  
You can bend the pins on the capacitors and the regulator to make them easier to solder, or use Blu-Tack.
+
You can bend the pins on the capacitors and the regulator to make them stay in while you solder them, or use Blu-Tack.
  
 
[[File:SimpleBot regulator and capacitors bottom.jpg|400px]]
 
[[File:SimpleBot regulator and capacitors bottom.jpg|400px]]

Revision as of 05:00, 22 December 2014

SimpleBot Shield Assembly

The SimpleBot shield has a small number of through-hole components that need to be soldered on:

SimpleBot Shield parts.jpg

  • 5x Screw terminal headers
  • Male pin headers for Arduino shield mounting and hobby servo "motor" connections.
  • 4 pin female header for Ultrasonic Range Sensor (hacked up piece of a longer header shown, but the actual parts should be made to size).
  • 2x Electrolytic capacitors for the VIN & 6V power rails.
  • LDR & resistor for ambient light sensing.
  • 6V linear regulator for servo power supply (most hobby servos run much better at 6V than at 5V).

Soldering Arduino Headers

To solder the Arduino headers, it's easiest to use an Arduino-compatible board as a "jig". Start by mounting the Freetronics PiLeven on top of the Raspberry Pi, as shown:

PiLeven on Pi.jpg

Then cut sections of the male pin headers to match each header on the PiLeven:

  • 2x 8-pin headers
  • 1x 10-pin header
  • 1x 6-pin header

And place them into the PiLeven as shown:

PiLeven with headers.jpg

Mount the SimpleBot Shield on top of the headers:

PiLeven with SimpleBot shield in place.jpg

Then solder them in place:

PiLeven Arduino headers soldered.jpg

After you've soldered the headers, remove the SimpleBot shield from the PiLeven.

Screw Terminals

The next items to solder are the screw terminals. Each individual 2-pin screw terminal can slot together into a longer unit, like this:

SimpleBot screw terminals slotting together.jpg

The SimpleBot shield has one side with 6 pins (3 units), and one side with 4 pins (2 units).

Slot the terminals together and place them on top of the shield:

SimpleBot screw terminals on top of shield.jpg

Then use some Blu-Tack to hold them down so you can flip the shield over and solder the pins on the bottom.

SimpleBot screw terminals soldered.jpg

Regulator & Capacitors

Next step is to solder the 6V regulator and the electrolytic capacitors.

SimpleBot regulator and capacitors placed.jpg

All of these components need to be oriented correctly. Place the regulator as shown.

Electrolytic capacitors have a grey stripe on the side marked "-", which is the negative side. The circuit board has a small plus marked next to the pin for the positive side. Both the positive sides face towards the regulator, as shown, so the capacitors are "mirrored" in orientation to each other.

You can bend the pins on the capacitors and the regulator to make them stay in while you solder them, or use Blu-Tack.

SimpleBot regulator and capacitors bottom.jpg

After they are soldered you can cut the leads off:

SimpleBot regulator and capacitors trimmed.jpg

LDR, Range Sensor Header, Servo Headers

Next step is the LDR (Light Dependent Resistor), the 4-pin female header for the Ultrasonic Range Sensor, and the two 3-pin male headers for the "Motors" (actually continuous rotation hobby servos, not actual motors).

For the 3 pin headers, cut them from the longer male header strips.

Place the parts into the PCB as shown. Orientation doesn't matter with these parts.

SimpleBot LDR and range header.jpg

If you keep the LDR sitting up above the PCB surface, as shown, then you can bend it forwards 90 degrees to create a directional light sensor (recommended).

The LDR can be soldered from the top or the bottom, but the header needs to be soldered from the bottom. Use Blu-tack to hold items in place when flipping the board.

SimpleBot LDR and range header soldered.jpg

Wire AREF to 5V

There's a flaw in the current SimpleBot Shield design, the LDR is connected to the "AREF" pin on the shield when it should be connected directly to "5V".

To fix this problem, solder a "blue wire" fix from the AREF pin on the shield to either the "5V" pin or the "IORef" pin on the shield.

You can use the tops of the male pin headers, or you can solder to the leg of the LDR and any other pin on the shield.

(Photos for this step are not yet available, sorry.)

Reset Button & Resistor

The last step is to solder on the reset button, and the resistor that forms a [voltage divider] with the LDR in order to output a voltage proportional to the ambient light level.

The resistor and the reset button can be soldered from the top or the bottom, as you prefer. If soldering the reset button from the top, take care not to melt the plastic body of the button.

Reset and resistor soldered.jpg

All Done

All done! As a final check, look over the shield for any solder bridges and also double-check the polarity of the regulator and the electrolytic capacitors matches what is shown:

SimpleBot shield assembled.jpg

Here's a photo showing how the SimpleBot shield mounts onto the PiLeven:

SimpleBot shield mounted.jpg

Next step, you can move on to SimpleBot Chassis Assembly.