Skip to content

Latest commit

 

History

History
executable file
·
37 lines (25 loc) · 1.09 KB

README.md

File metadata and controls

executable file
·
37 lines (25 loc) · 1.09 KB

Donate

Overview

  • Name: LM35
  • Description: Library for LM35 temperature sensor.
  • Author: Gavin Lyons
  • Developed on
    1. Raspberry pi PICO RP2040
    2. SDK C++ compiler G++ for arm-none-eabi
    3. CMAKE , VScode

Connections

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.

 Pinout

Files

The examples main.cpp contains tests showing library functions There is also the library files(lm35.cpp and lm35.hpp),

Output

The example file outputs data to the PC USB, 38400 baud.

 Output

Datasheet

LM35 data sheet.