Project 6  Monochrome Liquid-Crystal Display
Neff Site
Macros
Temperature sensor

Constants for the temperature sensor. More...

Macros

#define TEMPERATURE_SENSOR_SIGNAL_PIN_bp   PIN0_bp
 
#define TEMPERATURE_SENSOR_SIGNAL_PIN_bm   PIN0_bm
 
#define TEMPERATURE_SENSOR_ENABLE_PIN_bp   PIN3_bp
 
#define TEMPERATURE_SENSOR_ENABLE_PIN_bm   PIN3_bm
 
#define TEMPERATURE_SENSOR_ADC_INPUT   ADC_CH_MUXPOS_PIN0_gc
 

Detailed Description

Constants for the temperature sensor.

There is a voltage divider with an NTC on the board. It is used as temperature sensor. It has an active low enable input and lower voltages for higher temperatures. Please consult the schematic for details.

 VCC_P3V3
    +
    |
   .-.
   | | 1M
   | |
   '-'
    |
    o---- NTC_TEMP
    |
   .-.
   | |<-- NCP18WF104J03RB
   | |
   '-'
    |
    '---- NTC_EN

Macro Definition Documentation

◆ TEMPERATURE_SENSOR_ADC_INPUT

#define TEMPERATURE_SENSOR_ADC_INPUT   ADC_CH_MUXPOS_PIN0_gc

◆ TEMPERATURE_SENSOR_ENABLE_PIN_bm

#define TEMPERATURE_SENSOR_ENABLE_PIN_bm   PIN3_bm

◆ TEMPERATURE_SENSOR_ENABLE_PIN_bp

#define TEMPERATURE_SENSOR_ENABLE_PIN_bp   PIN3_bp

◆ TEMPERATURE_SENSOR_SIGNAL_PIN_bm

#define TEMPERATURE_SENSOR_SIGNAL_PIN_bm   PIN0_bm

◆ TEMPERATURE_SENSOR_SIGNAL_PIN_bp

#define TEMPERATURE_SENSOR_SIGNAL_PIN_bp   PIN0_bp
Contact