- Name: LM35
- Description: Library for LM35 temperature sensor.
- Author: Gavin Lyons
- Developed on
- Raspberry pi PICO RP2040
- SDK C++ compiler G++ for arm-none-eabi
- CMAKE , VScode
The Sensor uses ADC for communication's. Connect Vcc to 5 volts not 3.3 volts. Connect sensor analog out to an ADC (ADC 0:2) (GPIO 26:29) for rp2040. Example file connects 2 sensors to GPIO 26 & 27. note on PICO GPIO 29 is not broken out on PCB.
The examples main.cpp contains tests showing library functions There is also the library files(lm35.cpp and lm35.hpp),
The example file outputs data to the PC USB, 38400 baud.
LM35 data sheet.