LCD Tempeture Sensor With STM32F103
by pcbmaniac in Circuits > Microcontrollers
1186 Views, 1 Favorites, 0 Comments
LCD Tempeture Sensor With STM32F103
![LCD5.jpeg](/proxy/?url=https://content.instructables.com/FTE/I0Z9/KJK07X06/FTEI0Z9KJK07X06.jpg&filename=LCD5.jpeg)
Tempeture is a crucial variable in many process. To help messure it, there are lots of sensors that can fulfill this task. On this one, we are going to use the LM35 to measure temperature, and also, we are going to be showing the data on a LCD
The STM32F103 is a very powerfull controller and is more than capable to manage this task
Skills Needed
you will need some basics knowings about:
-Using the Keil IDE or STM32CubeIDE.
-Programming STM32F103.
-Welding.
-Wiring.
Materials
1. PCB. I really recommend to use JLCPCB PCB Fabrication Services to order yours.
2. STM32F103 (Microcontroller).
3. 16x2 LCD
4. LM35.
5. 330 resistor
6. 1k potentiometer
Circuit Diagram
![Diagram Tempeture meter with LM35 and STM32F103 LCD.png](/proxy/?url=https://content.instructables.com/F6N/OL1H/KJK07X2M/F6NOL1HKJK07X2M.png&filename=Diagram Tempeture meter with LM35 and STM32F103 LCD.png)
Here is the Circuit diagram, it has all the internal conections of the circuit that will allow us to create the PCB design later.
I also attached the PDF of the Schematics so you can see it better.
PCB Design and Ordering
![PCB3.png](/proxy/?url=https://content.instructables.com/F3R/WRT4/KJK07X78/F3RWRT4KJK07X78.png&filename=PCB3.png)
![PCB1.png](/proxy/?url=https://content.instructables.com/FTN/ULQ0/KJK07X79/FTNULQ0KJK07X79.png&filename=PCB1.png)
![PCB2.png](/proxy/?url=https://content.instructables.com/FC3/X3DN/KJK07X7A/FC3X3DNKJK07X7A.png&filename=PCB2.png)
For the implementation of a good project we need a reliable assembly for the circuit that makes it up, and there is no better way to do it than with a good PCB.
I suggest JLCPCB:
Programming STM32F103
1-Open Keil IDE or STM32 Cube IDE
2-Open the file called "termometro lcd.c"
3-Upload the code to the micro controller
Downloads
Working Project
![LCD4.jpeg](/proxy/?url=https://content.instructables.com/FYZ/7YTE/KJK07XA7/FYZ7YTEKJK07XA7.jpg&filename=LCD4.jpeg)
![LCD3.jpeg](/proxy/?url=https://content.instructables.com/FLZ/77K4/KJK07XA8/FLZ77K4KJK07XA8.jpg&filename=LCD3.jpeg)