Skip to main content

E3D PT100 Amplifier Documentation

Documentation for the more advanced PT100 Temperature Sensor

The PT100 amplifier board reads a PT100 sensor and outputs a voltage from 0-5v on the signal pin. The board has been designed to have the same gain and signal output as the Ultimaker2 electronics. This means that it is compatible with the same temperature table that already exists in marlin firmware.

Connections

It is important to understand that the PT100 amplifier is not a thermistor, and cannot just be plugged into the normal thermistor inputs of your electronics.

The PT100 board needs the 0v and 5v pins to be connected to a power source, the current requirements are very small, so you can just connect this to any 5v and 0v pins on your controller board. This provides power to the board so it can do it's amplifying thing.

The Signal output pin then needs to be connected to a spare analog input pin on your electronics board. Look at your specific controller boards circuit diagram, and find a pin that is currently unused that begins with a capital 'A'. These are usually available on expansion or auxiliary headers labelled AUX or EXP. For example, on a RAMPS board, you might use the pin 'A3' which is located on header AUX-1.

Block Image

Software

You now need to tell Marlin which pin you have connected your PT100 signal to and tell it that you are using a PT100 Amplifier.

First, so that Marlin knows which pin to look at, we need to edit the "pins.h" file of the firmware. This can be done in the standard Arduino editor. The pins.h file contains pin definitions for a whole range of boards, it is important that you edit the correct part of the file that deals with your specific controller board. For RAMPS 1.4 we scroll through the file until we find the part of the file that deals with RAMPS boards, this starts at around line 550.

NOTE: In Marlin 1.1.x, the file for a RAMPS 1.4 board is called "pins_RAMPS.h," modify this instead.

Then we find the line that specifically deals with the first temperature sensor (0). This is on line 708 for this specific case, and looks like this:

#define TEMP_0_PIN 13 // ANALOG NUMBERING

We can see that currently, marlin will look at analog pin 13 for the temperature sensor. We have connected our new sensor to analog pin 'A3' on the controller board, so we change the number 13 to 3:

#define TEMP_0_PIN 3 // ANALOG NUMBERING

That's it for pins.h, just remember to find and use the right board section. If you're using dual extruders both with PT100s then you'll obviously have to reconfigure the other pins too.

Now we need to tell marlin what type of sensor we have connected. This is done in the configuration.h file of the firmware. In the thermal settings area of the file where you would normally configure your thermistor type:

#define TEMP_SENSOR_0 5

Currently, in my case, it is set to sensor type 5, which is for the standard E3D Semitec thermistor. We need to change this to the PT100 setting which is sensor type 20:

#define TEMP_SENSOR_0 20

That's all for the firmware. You should now be able to compile and upload it, and with everything connected to the board, you should now be seeing temperatures reading properly from your new PT100 sensor!

Please note the A3 pin will not necessarily be the analogue pin that you are connecting to, for example on a RUMBA board you would connect to the A10 pin, so check the board schematic for the number of the Analog pin that you are using.

Troubleshooting

  • Take a resistance reading from your PT100 cartridge (removed from the amplifier board) it should read roughly 100ohms at room temperature.
  • Make sure the 5v pin is outputting a stable 5v.
  • When the board is connected to GND and a 5v line at room temperature if you probe signal and GND it should read roughly 1.2v.
  • Make sure you have fully defined the signal pin, Pin 3 won't always be the Pin that your board uses, double check your specific board's schematics what pin you need to define.
  • The signal pin must be connected to a spare analog pin, you cannot use a digital pin.

Additional Boards

RUMBA

Block Image
Block Image

Output Characteristics

Assuming a stable 5V supply - the output from the board will be as follows.

Temp.VOut.
00.00
11.11
101.15
201.20
301.24
401.28
501.32
601.36
701.40
801.44
901.48
1001.52
1101.56
1201.61
1301.65
1401.68
1501.72
1601.76
1701.80
1801.84
1901.88
2001.92
2101.96
2202.00
2302.04
2402.07
2502.11
2602.15
2702.18
2802.22
2902.26
3002.29
3102.33
3202.37
3302.41
3402.44
3502.48
3602.51
3702.55
3802.58
3902.62
4002.66
5003.00
6003.33
7003.63
8003.93
9004.21
10004.48
11004.73

Schematic

Block Image

One Comment

Note that on Marlin 1.1 the settings are located in a separate file now for RAMPS.

For a Ramps 1.4 its in a file called “Pins_Ramps.h”

AFVEngineering - Reply

Add Comment

View Statistics:

Past 24 Hours: 16

Past 7 Days: 79

Past 30 Days: 379

All Time: 7,681