https://github.com/mubaraknative/digitalthermometer
Making a temperature meter with lcd 16x2 using a thermistor and an arduino.
https://github.com/mubaraknative/digitalthermometer
arduino lcd16x2 ntc-thermistor temperature-monitoring temperature-sensor thermistor
Last synced: about 1 month ago
JSON representation
Making a temperature meter with lcd 16x2 using a thermistor and an arduino.
- Host: GitHub
- URL: https://github.com/mubaraknative/digitalthermometer
- Owner: MubarakNative
- License: mit
- Created: 2024-07-09T09:50:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-21T05:46:59.000Z (over 1 year ago)
- Last Synced: 2025-01-10T20:49:19.483Z (over 1 year ago)
- Topics: arduino, lcd16x2, ntc-thermistor, temperature-monitoring, temperature-sensor, thermistor
- Language: C++
- Homepage:
- Size: 20.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 🌡️ Temperature Meter - Using Thermistor and Arduino With LCD 16x2 Display
In this project, we will create a temperature meter using a thermistor and Arduino. Before building this project, it's essential to understand the key component: the thermistor.
### What is a Thermistor?
A thermistor, short for Thermal Resistor, is a type of resistor whose resistance changes with temperature. This component finds widespread use in various electronic circuits, such as SMPS, battery packs (for temperature detection), charging circuits, thermometers, and more.
### Types of Thermistors
There are two main types of thermistors:
- **NTC (Negative Temperature Coefficient)**: The resistance decreases as temperature increases.
- **PTC (Positive Temperature Coefficient)**: The resistance increases as temperature increases.
For this project, we will use an NTC thermistor.
### Components Required
- NTC Thermistor (10kΩ)
- 10kΩ Fixed Resistor
- 220Ω Fixed Resistor (for LCD)
- 10K Potentiometer (for LCD)
- 16x2 LCD Display
- Arduino UNO R3
- Connecting wires as required!
### Connection Instructions
#### LCD to Arduino Connections:
- **LCD D4 pin** to digital pin 5
- **LCD D5 pin** to digital pin 4
- **LCD D6 pin** to digital pin 3
- **LCD D7 pin** to digital pin 2
- **LCD RS pin** to digital pin 12
- **LCD Enable pin** to digital pin 11
- **LCD R/W pin** to GND
- **LCD VSS pin** to GND
- **LCD VCC pin** to 5V
- **LCD LED+** to 5V through a 220-ohm resistor
- **LCD LED-** to GND
#### Additional Adjustment:
For contrast adjustment (recommended), wire a 10k potentiometer to +5V and GND of the Arduino. Connect the wiper pin (center pin) of the potentiometer to the LCD screen's VO pin (pin 3).
#### Circuit Diagram

#### Final Result


#### Features
It can measure temperatures from -40°C to 125°C and provides accurate measurements. When using the **[I2C module](https://www.electronicscomp.com/i2c-module-16x2-lcd-india?srsltid=AfmBOoo_OunJQKyrvgO4lYpPjTXFSa2Co8LRwglQHA_mQwI4zz0fai8h)**, you can significantly reduce the number of connecting wires for the LCD display.
#### Additional Considerations:
1. Don't forget to install the **LiquidCrystal** library for the LCD display if it is not installed by default.
Go to Sketch -> Include Library -> Manage Libraries...
Search `LiquidCrystal` and install the latest version.
2. Ensure the circuit connection is stable; if it isn't, it may show incorrect outputs on the display.
### Conclusion
By following these connections and using the components listed, you can assemble a temperature meter using an Arduino and an LCD display. This setup allows you to read temperature data from the NTC thermistor and display it on the LCD screen effectively.