Found my content useful? Please donate:

TINYTherm Educational Tutorial on how to make/build a 2 Digit Digital Thermometer. Uses a PIC16F628 and a DS18B20. Accurately measures between 0-99 Degrees Celsius.

The schematic and parts list for this project is below, but for the hex file code to make it all work I do ask for a fee of £2 to download it instantly here or here on Etsy. This is to help support me and keep the blog running.

What does this project do? This digital thermistor will display the current temperature between 0-99° Celsius (centigrade).

Disclaimer Notice: This is an educational tutorial only and I will not accept any responsibility for damage or harm to property and/or persons as a result of you following and building this tutorial project. You are responsible for your own safety and performing any safety tests if used commercially. Ideally we recommend this for use only in personal/hobby projects.

The PIC16F628 is a fantastic versatile chip. It’s low cost and is tonnes cheaper than Arduino.

Use this hex code file to flash the PIC16F628 chip, any programer will do. Then build the circuit per the schematic and parts list below, switch it on and hey presto!

Components needed:

You can buy most of these from AliExpress, Amazon or eBay for pennies:

  1. PIC16F628 04/P (ensure its the 4 Mhz version, denoted by the 04/P)
  2. LM7805 voltage regulator
  3. Dual 7 Segment Display (common anode). Not common cathode.
  4. A switch
  5. DS18B20 (also on Amazon)
  6. 0.1uF ceramic capacitor, 2 x 470ohm, 4.7k ohm, and 10k ohm resistors
  7. 2 x AA Battery Holder
  8. A PIC microcontroller programmer (we use the Pickit2 in this tutorial).
  9. An electronics enclosure, we designed the PCB to fit this specific one. You can use your own if you like, or leave it out altogether if you’d like to save on costs.

Hardware Schematic

Fig:1

Fig:2

Fig 2 shows the schematic laid out on a breadboard. The blue device on the right is a power supply of 5 volts.

PCB Traces

If you want to make it on a PCB. You can get them made easily yourself or use: https://jlcpcb.com/

Note the components on the PCB trace image are as follows:

U2 – DS18B20

LED1 – common anode 7 segment display

H1 – 2xAA battery holder connections

U1 – PIC16F628

SW1 – Switch to turn the device on and off

U3 – LM7508

R1 – 470ohm (buy this assortment pack)

R2 – 10K Ohm (buy this assortmant pack)

R3 – 470 ohm (buy this assortment pack)

C1 – 0.1uF ceramic capacitor

Breadboard, power supply and wires to prototype

Note, the left pin on H1 is connected to the positive battery terminal on the battery holder, the right to the negative wire on the battery. And this connects to the middle pin on SW1. The bottom pin on SW1 is what makes and breaks the circuit. Depending on which switch you buy, you can connect it up as needed.

3. CODE TIME: flash with the hex code downloaded from above.


DOWNLOAD THE HEX CODE FILE HERE FOR JUST £2. We charge this to keep this blog running.

4. Power up the circuit, and there you go, the project is complete! Place it it’s final location and watch it monitor the temperature!

Future updates: We are looking to add extra functionality to make it even cooler so stay tuned!

Enjoy!

This is an educational tutorial only, but if you want to use it commercially, you must ensure you conduct the appropriate safety tests for your market. But as an example, uses for this could include:


Industrial systems, consumer products, systems which are sensitive thermally, thermostatic controls, and thermometers, monitor various environments and machinery, power plants, and manufacturing, weather stations and home automation systems, measure temperature in solids, liquids or gases, Laboratories, Diagnostic labs, Dairy Industries, Domestic or industrial refrigerator temperature monitoring, baby thermometer, HVAC, automotive, research and quality control, adult thermometer, room temperature monitoring, outside temperature logger, industrial and consumer goods/products, wireless temperature monitor, LCD/LED screen thermometer, temperature logger, farming, agriculture, office, home, manufactured goods, electronics engineering, embedded systems, integrated products, digital products, physical products, projects, end products, consumer goods, pcb design, printed circuit boards, plastic enclosures, remote temperature monitoring, motors, surface plates, home appliances, computers, industrial equipment, warning electrical radiators, exhaust gas monitoring on cars, food production, 3d printed chocolates, alcohol breathalyser, transit, hvac, power and utilities, calibration instrumentation, heat exchangers, heating cooling systems, energy, red sensor, etc thermistor, rtd sensors

Domestic Purpose, Check the temperature of the water before bathing, to check the temperature of food items for cooking, to measure the temperature of grill stands, ovens, and other heating appliances.

Laboratory Purpose

To check the temperature of a solution.
To check the room temperature or atmospheric temperature to carry out experiments.

Industrial Purpose

To measure the temperature of the inner and outer surfaces of the walls.
Food industries use them to monitor the temperature of food items during various stages of preparation. Especially in the baking and cooking industries, they are very useful. By taking the right temperature, it is possible to achieve the desired temperature where the microorganisms do not multiply.

© Copywrite ODONO DESIGN 2023

DISCLAIMER

This is an untested project. This is for hobby and personal use only. We do not allow commercial use of this tutorial (ie selling it in an end product, but if you are making this for commercial purposes, YOU are responsible for all CE, FCC and safety testing according to your jurisdiction. We will not be held responsible for any fire, damage or injury caused by this project.

COPYRIGHT AND TERMS OF USAGE (LISCENSE)

You are free to use this file for personal, hobby or educational purposes only. No commercial use of this project is permitted. None of the content on this webpage (code and hardware designs) may be plagiarised to other websites. Failure to comply will result in legal action. Thank you.

This webpage is Copyright by Patrick O’Donoghue 2024. Temperature Monitor by Patrick O’Donoghue is licensed under CC BY-NC-ND 4.0 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Found my content useful? Please donate: