Skip to content

Connecting to A2 A3 Analog Inputs #18

@mrkaroshi

Description

@mrkaroshi

Using some of the resources on this page: http://reprap.org/wiki/Panelolu I've identified the Marlin pin assignments for pin A2 and A3.

I'm trying to use two PT100 thermocouples to supply temperature information for both extruders:http://wiki.e3d-online.com/wiki/E3D_PT100_Amplifier_Documentation

If I use those pin assignments I get:
error: 'DIDR2' was not declared in this scope DIDR2 |= 1<<(TEMP_0_PIN - 8);

And...

error: 'MUX5' was not declared in this scope ADCSRB = 1<<MUX5;

However, as I know the TEMP_0_PIN defines are analog pin definitions I initially assumed pins 2 and 3 would work, but I just got a fixed temperature of '1100' with no variation. I've got the TEMP_SENSOR_0 set to '20' for the PT100 board also, so I know the config is set correctly.

How do I interface a PT100 to the remaining analog pins? Is this a fault of the firmware or am I going about this the wrong way?

TIA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions