DarwinPowerAndCommunicationsCard

From RepRap
Revision as of 16:26, 3 February 2007 by ZachSmith (talk) (version migrated from twiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Communications and Power Distribution Board

DarwinPowerAndCommunicationsCard-comms-pcb-finished-small.jpg

Overview

All the KiCad files for this design are at [[1][reprap.org/svn/reprap/electronics/Comms_and_power_distribution]

It consists of a power input connector (A) that is the 12v supply for the whole RepRap machine, and an RS232 connector (B) that is the communications link to the computer controlling the machine. (C) is a power-on indicator LED. There is a row of seven power output connectors at (D); these are wired into the other circuit boards in the RepRap machine to power them (only five are used for the Darwin design; the other two are spare). The RS232 signals are converted to and from 5v TTL levels by the chip (G) and its associated capacitors. The data from (G) to and from RepRap's communications ring is sent and received by the connectors at (E). (F) is a large smoothing capacitor to keep the 12v supply clean.

Circuit and description

Here is the circuit diagram:

DarwinPowerAndCommunicationsCard-comms-circuit.png

P1 is the main 12v power input connector - make this chunky. It can either be a screw connector, or - more elegantly - a plug. The 12v supply is taken straight through (via a big smoothing capacitor) to P4...P10. These are the power distribution lines to the rest of the RepRap PCBs. There are two spare - you only need five for the Darwin design.

DB9 is a female PCB-mounting 9-pin RS232 socket. Serial data from your computer comes in here, is converted to TTL voltage levels by U2, and is fed out to the rest of the RepRap PCBs via P2 and P3. Remember that RepRap communicates using a token ring, so only two connectors are needed for data. U2 gets the 5v power it needs from U1.

Finally there is an indicator LED so you can remember when you've left your RepRap switched on...

Here is the component list:

Component Value
C1 100uF electrolytic 16v
C2 1uF electrolytic 50v
C3 1uF electrolytic 50v
C4 1uF electrolytic 50v
C5 1uF electrolytic 50v
C6 4700uF electrolytic 30v
D1 LED
J1 9-pin female PCB-mounting D connector
P1 2 pin high current connector 5.08 mm
P2 2 pin connector 2.54 mm
P3 2 pin connector 2.54 mm
P4 2 pin screw connector 2.54 mm
P5 2 pin screw connector 2.54 mm
P6 2 pin screw connector 2.54 mm
P7 2 pin screw connector 2.54 mm
P8 2 pin screw connector 2.54 mm
P9 2 pin screw connector 2.54 mm
P10 2 pin screw connector 2.54 mm
R1 560R
U1 78L05
U2 MAX232

Printed circuit

Here is the PCB:

DarwinPowerAndCommunicationsCard-comms-pcb-small.png

Click on the image for a larger clearer version.

Note that it has large ground and 12v planes on the two sides of the board. This both saves etching chemicals and also handles the current needed by all the other RepRap boards. The postscript files for the two sides of this PCB are also in the ~your-id/workspace/electronics/Comms_and_power_distribution directory; if you modify the design using KiCad you can reprint these, of course.

Follow this link for instructions on how to make your own PCBs.

Construction

Solder in all the components except U2 and its four associated capacitors (C2...C5).

If you etch your own PCB it will not be through-plated. This can make it hard to solder those components with flat bases that need to be soldered to the component side of the PCB. A good way to solve this is to tin round the hole where the component's leg is to go, then to tin the leg too. Now put the leg through the hole and touch the soldering iron onto the end of it sticking out of the bottom of the PCB. This melts the tinning and allows the component to be soldered in place. Alternatively, if the tinning on the PCB extends a bit beyond the periphery of the component, you can touch the soldering iron down there on the component side.

9-pin PCB D connectors come with a variety of ways of attaching them to the PCB in addition to the actual active pins. There are two pads on the PCB to drill out and mount these through, though different designs put the mountings in different places. If your connector coincides with those holes, all well and good. But if it doesn't it may be simplest just to cut/saw-off the mountings and rely on the pins to hold the connector in place. This should be quite strong enough. Under no circumstances use a mounting method that shorts the top (+) and bottom (-) layers of the PCB - these are opposite poles of the 12v supply...

This frist construction step should give a board looking like this:

DarwinPowerAndCommunicationsCard-comms-part-finished-small.jpg

Attach 12v power to the power connector (+ on the left in the photo, ground on the right) and check that the LED lights up. If it doesn't, you've made a mistake. Next put a voltmeter on the tracks that will connect to pins 15 and 16 of U2. This should measure 5v from the voltage regulator U1. If it doesn't, you've made a(nother) mistake...

Disconnect the power. Solder in U1 and C2...C5. Take particular care with the capacitors to get the polarity right - check with the circuit diagram which pins on U1 the positive and negative ends go to, and folow the tracks on the PCB. Then check it all again before you next apply power.

Congratulations! You have finished your first RepRap circuit.

-- Main.AdrianBowyer - 01 Nov 2006