PIC 18 LCD Digital Thermometer

Designing a Digital Thermometer w/ LM35 — PIC Unit #02 — LCD — Episode #05

J3
Jungletronics
2 min readNov 27, 2019

--

Hi, in this project, the design of a digital thermometer is described.

Let’s see the code:

Fig 1. Reading LM35 room’s temperature using PIC18F

An analog temperature sensor (LM35DZ) is used to sense the temperature, and the temperature is displayed on an LCD:)

The output voltage is given by LM35 is connected to PIC’s channel A/D AN2

RE0: Sensor temperature LM35 
Vo = 10 mV/°C Thus, for example, at 20°C, the output voltage is 200 mV, at 25°C it is 250 mV, and so on.
Fig 2. LM35 connection on microgenios board

And that’s it!

In the next lesson let’s implement a simple calculator:)

Thanks a lot! See you in the next episode.

Bye!

Related posts

0º Episode — LCD — unit#02 — PIC 18 LCD Intro — HD44780 Character LCD Displays

1º Episode — LCD — unit#02 — PIC LCD First Print — Let’s make our first print

2º Episode — LCD — unit#02 — PIC LCD First Animation — Let’s Unveil The LCD’s Animations Techniques

3º Episode — LCD — unit#02 — PIC LCD Key & Counter — Pressing One key Increment or Pressing Other Key Decrements a Counter

4º Episode — LCD — unit#02 — PIC LCD Custom Symbols — How to Create a Custom Character on CGRAM

5º Episode — LCD — unit#02 — PIC 18 Digital Thermometer — Designing a Digital Thermometer w/ LM35

6º Episode — LCD — unit#02 — PIC 18 LCD Calculator — Let’s Make an Awesome CalculatorApp

7º Episode — LCD — unit#02 — PIC 18 LCD Keypad Discovery — Let’s Unveil Our Board Keypad

8º Episode — LCD — unit#02 — PIC 18 LCD Menu Template — Get A Nice Template For Your Menu AppCredits & References

https://issuu.com/microgenios/docs/picgenios

--

--

J3
Jungletronics

Hi, Guys o/ I am J3! I am just a hobby-dev, playing around with Python, Django, Ruby, Rails, Lego, Arduino, Raspy, PIC, AI… Welcome! Join us!