Building the Common Electronics for all the Control Boards | |||||||||||||||||||||||||
| Line: 302 to 302 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Deleted: | |||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||
Building the Common Electronics for all the Control Boards | ||||||||
| Line: 173 to 173 | ||||||||
|---|---|---|---|---|---|---|---|---|
First test | ||||||||
| Changed: | ||||||||
| < < |
Wire the Communications and Power Distribution Board? to your new circuit like this, but leave the PIC out of its socket and leave the transmit and receive wires disconnected. | |||||||
| > > |
Wire the Communications and Power Distribution Board to your new circuit like this, but leave the PIC out of its socket and leave the transmit and receive wires disconnected. | |||||||
| Take Great Care to get the polarity of the power leads (red and black on the picture, and with red + and blue - labels) right. | ||||||||
Building the Common Electronics for all the Control BoardsRepRap uses the same printed circuit design for both the stepper controllers and the extruder controllers, but different components (and some common ones) are needed for each. This page describes how to put the common components together on the PCB and test them. | ||||||||
| Added: | ||||||||
| > > |
In fact, there is very little extra that needs to be added to the PCB that you will assemble from the instructions on this page and the complete stepper controller so, as you will see below, you can use a stepper motor to test the board at this stage, even if the board is actually going to end up as an extruder controller. | |||||||
PIC 16F628 Pinout:One obvious common component is the PIC - a 16F628. But some pins do different things in the two devices: | ||||||||
Building the Common Electronics for all the Control Boards | |||||||||||||||||||||||||||||
| Line: 169 to 169 | |||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
First, second, and third tests | |||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||
| > > |
First test | ||||||||||||||||||||||||||||
| Wire the Communications and Power Distribution Board? to your new circuit like this, but leave the PIC out of its socket and leave the transmit and receive wires disconnected. Take Great Care to get the polarity of the power leads (red and black on the picture, and with red + and blue - labels) right. | |||||||||||||||||||||||||||||
| Line: 177 to 179 | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||
| < < |
Connect 12v power to the Comms board and check that there is 5v between pins 14 and 5 of the PIC holder. This 5v comes from the regulator U1 (78L05). | ||||||||||||||||||||||||||||
| > > |
Connect 12v power to the Comms board and check that there is 5v between sockets 14 and 5 of the PIC holder (- to pin 5, + to pin 14). This 5v comes from the regulator U1 (78L05). Take the + probe of the voltmeter and check all the pin-sockets of the PIC connector relative to its socket 5. Most should be at 0v; one or two should be at about 3v. None should be more than 5v. | ||||||||||||||||||||||||||||
| Switch off the power. | |||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||
| < < |
Test one is complete! | ||||||||||||||||||||||||||||
| > > |
Second test | ||||||||||||||||||||||||||||
| Now program up a PIC 16F628 (U3) with the file ~your-id/workspace/firmware/build/16f628/stepmotor/stepmotor.hex. This is the X-axis PIC control program for your RepRap machine. Observe the usual CMOS anti-static precautions when handling the PIC. | |||||||||||||||||||||||||||||
| Line: 189 to 193 | |||||||||||||||||||||||||||||
| Switch on the power. The LED on your new board should light. Switch the power off again. | |||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||
| < < |
Test two is complete! | ||||||||||||||||||||||||||||
| > > |
Third test | ||||||||||||||||||||||||||||
| Connect an RS232 cable between your computer and the Comms board. | |||||||||||||||||||||||||||||
| Line: 215 to 219 | |||||||||||||||||||||||||||||
| Close the program and all the windows, and turn off the 12v power. | |||||||||||||||||||||||||||||
| Deleted: | |||||||||||||||||||||||||||||
| < < |
Test three is complete! | ||||||||||||||||||||||||||||
Soldering - second stage | |||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||
| > > |
Remove the PIC and place it in its anti-static package.
Forth, fifth, and sixth testsFourth testReconnect the power connection to the Comms board, put a voltmeter on sockets 5 and 14 of the PIC holder (- to pin 5, + to pin 14), and turn on the power. The voltmeter should read 5v. Take the + probe of the voltmeter and check all the pin-sockets of the PIC connector relative to its socket 5. Most should be at 0v; one or two should be at about 3v. None should be more than 5v. Turn off the power.Fifth testPlug the PIC back in. Reconnect the transmit and recieve lines. and re-run the Third Test above. The LED should still flash. Turn off the power.Sixth testConnect a 4-wire bipolar stepper motor to the connector labeled C in the picture (P9). This can be one of the RepRap steppers that you will be using, or just a spare for testing taken from an old printer, say. Any stepper with a coil resistance of more than 10 ohms and less than about 50 ohms should work. Connect one coil between pins 1 and 3 of P9, and the other between pins 2 and 4. Repeat the third test, but first drag the motor speed bars on the left of the window down to about half way. The LED should flash and the motor should rotate (put some sticky tape on the spindle so you can see what's happening). Finally, select the X-Axis "Home" button in the window. The motor should rotate continuously in the opposite direction. Pull off the left-hand jumper (on K2; the one on the left in the photograph). The motor should stop as this is the signal to the PIC that the endstop has been reached.Congratulations! You have finished the common circuitry for the Universal PCB! | ||||||||||||||||||||||||||||
| -- AdrianBowyer - 01 Nov 2006 | |||||||||||||||||||||||||||||
| Line: 238 to 307 | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||
Building the Common Electronics for all the Control Boards | ||||||||||
| Line: 56 to 56 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Here is the list, together with an indication of whether the component is needed for the stepper drivers (S), the extruders (E), or both (B). Components marked (A) are for an alternate extruder design without an L298N, and so can normally be left out. (This extruder is cheaper to make, but can't reverse the extrude motor - to make it just leave out U2, D1...D8, and P9, then add in the (A) components.) | ||||||||||
| Added: | ||||||||||
| > > |
R7 and R8 are only needed if you use an alternate design for end-stop, material-out, and extrude-speed sensors. Normally they are replaced by wire jumpers. | |||||||||
|
| ||||||||||
| Line: 108 to 110 | ||||||||||
| ||||||||||
| Changed: | ||||||||||
| < < |
| |||||||||
| > > |
| |||||||||
| ||||||||||
Building the Common Electronics for all the Control Boards | ||||||||
| Line: 37 to 37 | ||||||||
|---|---|---|---|---|---|---|---|---|
| All the KiCad files for this are in ~your-id/workspace/electronics/Universal-pcb. In particular, if you open stepper-and-extruder.pro in that directory in KiCad you will have both the circuit diagram and the PCB layout available. | ||||||||
| Changed: | ||||||||
| < < |
You may have aquired the PCB from a commercial supplier, in which case carry on below. To make one yourself, follow this link. | |||||||
| > > |
You may have acquired the PCB from a commercial supplier, in which case carry on below. To make one yourself, follow this link. | |||||||
| Changed: | ||||||||
| < < |
Here's what the PCB will look like when you start. The side the components go on is the one with the lettering. | |||||||
| > > |
Here's what the PCB will look like when you start. The side the components go on is the one with the lettering (this one): | |||||||
| ||||||||
| Line: 155 to 155 | ||||||||
| It can be 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 with the component a little proud of the PCB, then push it down when the solder melts. | ||||||||
| Changed: | ||||||||
| < < |
Take particular care to get the polarity of the electrolytic capacitors and the LED correct. | |||||||
| > > |
Take particular care to get the polarity of the electrolytic capacitors and the LED correct. (The right-angled LED that I used and that you can see in the picture was the wrong way round; this is easily fixed by straightening its leads, turning it over in the holder, then bending them the other way.) | |||||||
| Here's what the board will look like when you've finished. | ||||||||
Building the Common Electronics for all the Control Boards | |||||||||||||||||||||||
| Line: 39 to 39 | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| You may have aquired the PCB from a commercial supplier, in which case carry on below. To make one yourself, follow this link. | |||||||||||||||||||||||
| Added: | |||||||||||||||||||||||
| > > |
Here's what the PCB will look like when you start. The side the components go on is the one with the lettering.
| ||||||||||||||||||||||
Soldering the first components onto the PCB | |||||||||||||||||||||||
| Added: | |||||||||||||||||||||||
| > > |
Complete components list | ||||||||||||||||||||||
| The file stepper-and-extruder.lst in ~your-id/workspace/electronics/Universal-pcb. is the component list created by KiCad, which you can use to order the parts you will need. Ignore components J1 ... J8; they are just SIL connectors that were added to the circuit diagram to create the pattern for the breadboard area - you don't actually need to solder connectors into those holes (though you can if you want - then you can breadboard without soldering). | |||||||||||||||||||||||
| Line: 122 to 131 | |||||||||||||||||||||||
| where n is the number of pins. One exception to this is P1, which should be a 2.54 mm pitch PCB screw connector like B. This is the 12v power connector. | |||||||||||||||||||||||
| Added: | |||||||||||||||||||||||
| > > |
Soldering - first stageThese are the first components to solder in:
First, second, and third testsWire the Communications and Power Distribution Board? to your new circuit like this, but leave the PIC out of its socket and leave the transmit and receive wires disconnected. Take Great Care to get the polarity of the power leads (red and black on the picture, and with red + and blue - labels) right.
Soldering - second stage | ||||||||||||||||||||||
| -- AdrianBowyer - 01 Nov 2006 | |||||||||||||||||||||||
| Line: 130 to 232 | |||||||||||||||||||||||
| |||||||||||||||||||||||
| Added: | |||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deleted: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Building the Common Electronics for all the Control BoardsRepRap uses the same printed circuit design for both the stepper controllers and the extruder controllers, but different components (and some common ones) are needed for each. This page | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line: 10 to 9 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| One obvious common component is the PIC - a 16F628. But some pins do different things in the two devices: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[i] = input, [o] = output, [b] = bidirectional
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line: 31 to 31 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Circuit diagram and PCB | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
Here is the circuit; click on it to get a larger image: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
All the KiCad files for this are in ~your-id/workspace/electronics/Universal-pcb. In particular, if you open stepper-and-extruder.pro in that directory in KiCad you will have both the circuit diagram and the PCB layout available.
You may have aquired the PCB from a commercial supplier, in which case carry on below. To make one yourself, follow this link.
Soldering the first components onto the PCBThe file stepper-and-extruder.lst in ~your-id/workspace/electronics/Universal-pcb. is the component list created by KiCad, which you can use to order the parts you will need. Ignore components J1 ... J8; they are just SIL connectors that were added to the circuit diagram to create the pattern for the breadboard area - you don't actually need to solder connectors into those holes (though you can if you want - then you can breadboard without soldering). Here is the list, together with an indication of whether the component is needed for the stepper drivers (S), the extruders (E), or both (B). Components marked (A) are for an alternate extruder design without an L298N, and so can normally be left out. (This extruder is cheaper to make, but can't reverse the extrude motor - to make it just leave out U2, D1...D8, and P9, then add in the (A) components.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
Components coloured pale blue or with a pale blue dot next to them are common to both stepper and extruder controllers. Pink ones are for the stepper only, and green are for the extruder only. Uncoloured components are design alternatives that are not normally needed. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
The connectors CONN_n are 2.54 mm pitch PCB transition connector pins like A here: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
All the KiCad files for this are in ~your-id/workspace/electronics/Universal-pcb. In particular, if you open stepper-and-extruder.pro in that directory in KiCad you will have both the circuit diagram and the PCB layout available. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deleted: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
You may have aquired the PCB from a commercial supplier, in which case carry on below. To make one yourself, follow this link: MakePCBInstructions. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < < |
Soldering the first components onto the PCB | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
where n is the number of pins. One exception to this is P1, which should be a 2.54 mm pitch PCB screw connector like B. This is the 12v power connector. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| -- AdrianBowyer - 01 Nov 2006 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line: 51 to 125 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| -- AdrianBowyer - 01 Nov 2006 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||
| Deleted: | ||||||||
| < < |
||||||||
Building the Common Electronics for all the Control BoardsRepRap uses the same printed circuit design for both the stepper controllers and the extruder controllers, but different components (and some common ones) are needed for each. This page | ||||||||
| Line: 45 to 44 | ||||||||
|---|---|---|---|---|---|---|---|---|
| All the KiCad files for this are in ~your-id/workspace/electronics/Universal-pcb. In particular, if you open stepper-and-extruder.pro in that directory in KiCad you will have both the circuit diagram and the PCB layout available. | ||||||||
| Changed: | ||||||||
| < < |
You may have aquired the PCB from a commercial supplier, in which case carry on below. To make one yourself, follow this link: MakePCBInstructions. | |||||||
| > > |
You may have aquired the PCB from a commercial supplier, in which case carry on below. To make one yourself, follow this link: MakePCBInstructions. | |||||||
Soldering the first components onto the PCB | ||||||||
| ||||||||
| Deleted: | ||||||||
| < < |
TODO | |||||||
| Deleted: | ||||||||
| < < |
An extra C function in the firmware that just flashes the LED in a distinctive pattern from a flash command sent to a device Get the Java comms test to use this for checking the ring | |||||||
Building the Common Electronics for all the Control Boards | ||||||||
| Line: 37 to 33 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
| Changed: | ||||||||
| < < |
Circuit diagram(s) | |||||||
| > > |
Circuit diagram and PCB | |||||||
| Here is the circuit; click on it to get a larger image: | ||||||||
| Line: 47 to 43 | ||||||||
| Components coloured pale blue or with a pale blue dot next to them are common to both stepper and extruder controllers. Pink ones are for the stepper only, and green are for the extruder only. Uncoloured components are design alternatives that are not normally needed. | ||||||||
| Changed: | ||||||||
| < < |
Here are the KiCad files for the above circuit as a tarball: universal pcb design - rr-u-pcb.tgz. | |||||||
| > > |
All the KiCad files for this are in ~your-id/workspace/electronics/Universal-pcb. In particular, if you open stepper-and-extruder.pro in that directory in KiCad you will have both the circuit diagram and the PCB layout available. You may have aquired the PCB from a commercial supplier, in which case carry on below. To make one yourself, follow this link: MakePCBInstructions. | |||||||
| Added: | ||||||||
| > > |
Soldering the first components onto the PCB | |||||||
| -- AdrianBowyer - 01 Nov 2006 | ||||||||
| ||||||||
| Line: 54 to 54 | ||||||||
|---|---|---|---|---|---|---|---|---|
-- AdrianBowyer - 01 Nov 2006
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Line: 54 to 54 | ||||||||
|---|---|---|---|---|---|---|---|---|
-- AdrianBowyer - 01 Nov 2006
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||||
| Line: 8 to 8 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Building the Common Electronics for all the Control Boards | ||||||||||
| Changed: | ||||||||||
| < < |
Proposed PIC 16F628 Pinout: | |||||||||
| > > |
RepRap uses the same printed circuit design for both the stepper controllers and the extruder controllers, but different components (and some common ones) are needed for each. This page
describes how to put the common components together on the PCB and test them.
PIC 16F628 Pinout:One obvious common component is the PIC - a 16F628. But some pins do different things in the two devices: | |||||||||
| [i] = input, [o] = output, [b] = bidirectional | ||||||||||
| Changed: | ||||||||||
| < < |
| |||||||||
| > > |
| |||||||||
| ||||||||||
| Line: 32 to 37 | ||||||||||
| ||||||||||
| Added: | ||||||||||
| > > |
Circuit diagram(s) | |||||||||
| Changed: | ||||||||||
| < < |
-- AdrianBowyer - 01 Nov 2006
| |||||||||
| > > |
Here is the circuit; click on it to get a larger image:
| |||||||||
| Added: | ||||||||||
| > > |
Components coloured pale blue or with a pale blue dot next to them are common to both stepper and extruder controllers. Pink ones are for the stepper only, and green are for the extruder only. Uncoloured components are design alternatives that are not normally needed. | |||||||||
| Changed: | ||||||||||
| < < |
Here are the Kicad files for the above circuit: | |||||||||
| > > |
Here are the KiCad files for the above circuit as a tarball: universal pcb design - rr-u-pcb.tgz. | |||||||||
| Deleted: | ||||||||||
| < < |
| |||||||||
| Changed: | ||||||||||
| < < |
| |||||||||
| > > |
-- AdrianBowyer - 01 Nov 2006
| |||||||||
| ||||||||
| Line: 37 to 37 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
| Added: | ||||||||
| > > |
Here are the Kicad files for the above circuit:
| |||||||
| ||||||||
| Added: | ||||||||
| > > |
| |||||||
| ||||||||
| Line: 37 to 37 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Line: 34 to 34 | ||||||||
|---|---|---|---|---|---|---|---|---|
| -- AdrianBowyer - 01 Nov 2006 | ||||||||
| Added: | ||||||||
| > > |
| |||||||
| Added: | ||||||||
| > > |
| |||||||
| |||||||||||||||||||
| Line: 20 to 20 | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
| > > |
| ||||||||||||||||||
| |||||||||||||||||||
| Changed: | |||||||||||||||||||
| < < |
| ||||||||||||||||||
| > > |
| ||||||||||||||||||
| |||||||||||||||||||
| |||||||||||||||||||||||||
| Line: 8 to 8 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Building the Common Electronics for all the Control Boards | |||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||
| < < |
Proposed PIC Pinout: | ||||||||||||||||||||||||
| > > |
Proposed PIC 16F628 Pinout:[i] = input, [o] = output, [b] = bidirectional | ||||||||||||||||||||||||
| |||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||
|
| |||||||||||||||||||||||||
| Changed: | |||||||||||||||||||||||||
| < < |
| ||||||||||||||||||||||||
| > > |
| ||||||||||||||||||||||||
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line: 8 to 8 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Building the Common Electronics for all the Control Boards | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > > |
Proposed PIC Pinout:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| -- AdrianBowyer - 01 Nov 2006 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||
| Added: | ||||||||
| > > |
TODO An extra C function in the firmware that just flashes the LED in a distinctive pattern from a flash command sent to a device Get the Java comms test to use this for checking the ring | |||||||
Building the Common Electronics for all the Control Boards | ||||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > |
Building the Common Electronics for all the Control Boards-- AdrianBowyer - 01 Nov 2006 | |||||||