
Details
An analog front end for any 2-wire NTC thermistor. The thermistor screws into the terminal block and forms a voltage divider with the 10 kΩ reference resistor on the board, and the supply is filtered to keep the reading free of noise.
It reports the divider voltage on a single analog line, which changes with temperature, so a microcontroller reads it with one ADC pin and converts it with the Steinhart-Hart equation or a lookup table. The same divider works with other 2-wire resistive sensors. It runs at 1.8 V, 3.3 V or 5 V.
The board is 22 × 22 mm with four ⌀2.7 mm mounting holes. It plugs into a breadboard or any AX22 port, and works in the Arduino IDE with a plain analogRead(), in MicroPython and in MicroBlocks.
No wiring. No coding.
2-Pin Thermistor Adapter pushes straight into any AX22 port. Then say what you want in Axiometa Studio, which writes the code and uploads it to your board.
Pinouts
Resources
#define THERM_PIN 4 //adjust as needed
#define SERIES_R 10000.0
#define NOMINAL_R 10000.0
#define NOMINAL_T 25.0
#define B_COEFF 3950.0
void setup() {
Serial.begin(115200);
}
void loop() {
int raw = analogRead(THERM_PIN);
float voltage = raw / 4095.0;
float resistance = SERIES_R * (voltage / (1.0 - voltage));
float tempK = 1.0 / ((1.0 / (NOMINAL_T + 273.15)) +
(1.0 / B_COEFF) * log(resistance / NOMINAL_R));
float tempC = tempK - 273.15;
Serial.printf("Temp: %.1f C\n", tempC);
delay(1000);
}