user-img

Andrew Shrimpton

  • 2 Projects
  • 3 Followers
  • Nov 29,2024
+ Follow

Dallas DS18B20 temp sensor - basic code

Elecrow 3.5" HMI ESP32 TFT using a Dallas DS18B20 to easily get temp data displayed upon the TFT.

Dallas DS18B20 temp sensor - basic code
 
  • thumbnail-img
 

Story

Just some simple code to be able to see temp data from a standard DS18B20 sensor on a TFT screen.  The dallas temp sensor uses the wire-one library which is very easy to use.  And in later videos I will be chaining these togther to data log to the sd card at least 3 temps.  

But first lets get it working and just use some very simple code and just show the temp on this nice TFT screen.  I will also show you how you can change the colour of the display depending upon the temp the sensor is reading.

These temp sensors are the waterproof ones they also come in a smaller pagage with just the temp sensor without the satinless stain waterproof cover.

Dallas DS18B20 temp sensor - basic code

Elecrow 3.5" HMI ESP32 TFT using a Dallas DS18B20 to easily get temp data displayed upon the TFT.

118
 
2
0
0

Share your project on social media to expand its influence! Get more people to support it.

  • Comments( 0 )
  • Like( 2 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.