| Component | Value | Quantity | What is it | Mouser # ![]() |
|---|---|---|---|---|
| D10 | LED | 1 | heater-on indicator | |
| P2 | 2 pin | 1 | connector to the thermistor | |
| P4 | 2 pin | 1 | connector to the heater | |
| R1 | 10K ohm | 1 | Resistor | 291-10K-RC |
| R3 | 180 ohm | 1 | Resistor | 291-180-RC |
| R5 | 220 ohm | 1 | Resistor | 291-220-RC |
| R12 | 560 ohm | 1 | Resistor | 291-560-RC |
| Q1 | TIP110 | 3 | Darlington can use TIP120 | 511-TIP110 |
| C3 | 10nF (See note below) | 1 | Ceramic Capacitor | 594-K103M15X7RF53H5 |
| C5, C6 | 0.1uF | 2 | Ceramic Capacitors | 647-UVR2A0R1MDD |
On the right, we have a picture of the additional bits listed above clustered around a Universal board. They happen to be listed pretty much in order of height above board, so that's not a bad order to install them in.
Note: The value of C3 (nominally 10nF = 0.01uF) depends upon the thermistor that you will use to measure the temperature of the extruder head. The standard thermistor that RepRap uses is a miniature glass-bead type, which is available from RS, part number 484-0149 . This is a 10K thermistor (at 25oC) with a beta value of 3480K and a 0oC resistance of 29K. But the design is capable of dealing with a variety of different thermistors - just get one that will go up to about 200oC and use the calculator at this link to work out the value of C3. The best value of C3 for the standard thermistor is 0.01uF.
When you know C3 run the RepRap Java control software and select Preferences from the File menu. Select the extruder tab and set the capacitor's value:
Extruder0_Capacitor(F) 0.0000001
that line is for 0.1uF; enter whatever value you choose. Click on OK.
The transistor Q1 - either a TIP110 or the beefier TIP120 - has to go in the right way round. Yes, we got it too close to the heater connector and it's very close to the heater LED - sorry about that; it's our first bulk order board and we also got the transistors too close together; fortunately only one is needed for the standard extruder. Try soldering Q1 in on slightly longer leads than normal, and use a small LED to make sure it all fits together.
As both the cooling fan and the extrude motor are reasonably low-current devices you don't need to add a heatsink to the L298N (U2). But you do need one on the transistor, which you attach after soldering it in place as shown in the photo on the right - do make sure you get it in the right way round! Remember to put a bit of silicone grease or a silicone heat transfer pad (which is much less messy) between the transistor and the heatsink. Do not let the heatsink touch any other components or wires. Feel free to use a bigger one if you can fit it.
Program a PIC16F648 with the file in ~your-id/workspace/firmware/devices/extruder_0_/extruder_0_.hex and place it in the socket.
This picture shows the board complete and connected ready for testing. There are an additional couple of useful test components plugged in either side of the serial data wires.
If you haven't got an extruder assembled yet, it is useful to solder a couple of connectors onto the thermistor you will use so you can plug it straight into the board (the connector sporting the green and white pair in the picture). The thermistor is not wasted - it will need much shorter leads in the actual extruder, so you can just cut the connectors off then. The extruder board will not work without a thermistor attached. If you have no real thermistor yet, use an ordinary 10K resistor.
Connect an RS232 cable between your computer and the Comms/power board. Connect transmit (T) on the Comms board to receive (R) on your new board, and receive (R) on the Comms board to transmit (T) on your new board. You can use the same wiring and configuration as the final testing phase of the Universal PCB.
Open the Eclipse Java development program. Open the Reprap project, and walk down the tree: src -> org.reprap. Right-mouse click on main.java and go down to
Run as... -> Java Application.
Select Preferences from the File menu and set the port to the one your RS232 cable is connected to.
Click on the Axes tab and select Cartesian as the geometry. (The default is Null Cartesian, which is a dummy RepRap machine inside the software
for testing purposes.) Cartesian is an honest-to-goodness real RepRap, such as the one taking shape on the end of your RS232 cable...
Click on OK in the Preferences box.
Turn on the power.
Now, from the Tools menu select Extruder exerciser. This should open a window that looks like this:
Ensure you have a heatsink attached to the power transistor, connect up the extruder heater and extruder thermistor. Connect an LED diagnostic tool described here - the device on the fan and extrude motor output (left of the serial data connectors). You can use a real motor and fan if you wish; in this image, the red & blue wires connect to the extruder motor, black (the ground) and yellow (12V) to the fan:
When you first turn the heating element on, start with a low temperature (40-50C). Check it is heating as expected and then incrementally check at higher temperatures.
Check the Cooler Active box. The other back-to-back LED should light. This is the cooling fan coming on.
Click on the Extrude button. One of the four back-to-back LEDs should light. This is the extrude motor coming on.
Switch both off by clicking both again.
echo 1 50 | poke -d 8 -t /dev/ttyUSB0 -v
and this turns it off:
echo 1 0 | poke -d 8 -t /dev/ttyUSB0 -v
If that doesn't make the motor move, and the circuit is not warming up, then increase the value from 50 to 200 and try again.
echo 10 | poke -d 8 -w -t /dev/ttyUSB0 -v
Should return 3 numbers on the end of the output that are related to the temperature of the thermistor. It's quite sensitive and you should be able to make the value change by holding the thermistor between your fingers. When you let go, it should return to its previous value.
Measuring Thermistor Beta
echo 9 88 255 | poke -d 8 -t /dev/ttyUSB0 -v
If you have a K/T thermocouple with a relatively fine end, this can be inserted into the extruder nozzle to give accurate temperature readings when testing out new materials etc.
[We also need to know when the element has reached working temp.]