Introduction: LCD Tempeture Sensor With STM32F103

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

Step 1: Skills Needed

you will need some basics knowings about:

-Using the Keil IDE or STM32CubeIDE.

-Programming STM32F103.

-Welding.

-Wiring.

Step 2: 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

Step 3: Circuit Diagram

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.

Step 4: PCB Design and Ordering

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:

📦$2 for Five - 4 Layers PCBs & cheap SMT (2 Coupons)

Step 5: 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

Step 6: Working Project