The cookie settings on this website are adjusted to allow all cookies so that you have the very best experience. If you continue without changing your cookie settings, we'll assume that you are happy to receive all cookies on our website. However, if you would like to, you can change your settings at any time using the Change cookie settings link in the Special menu. 
    
 
+44 (0)20-84520161 Contact Us
Now FREE Delivery on UK mainland orders over £30+VAT

Waterproof Digital Temperature Probe for Arduino DS18B20

  • Details

  • Recommended

  • Send

Details

Item Number
DS18B20
Item Condition
New
Was
£4.50
Price
£3.50 (Save 22%) (inc VAT £4.20)

Options

Quantity


  • BF980 Transistor

    BF980 Transistor

    NMOS TO50 Dual Gate N Channel MOSFET 20V 20mA UHF

    BF980
    £2.25
  • TSA5511 Integrated Circuit (IC)

    TSA5511 Integrated Circuit (IC)

    IC Frequency Synthesiser 1.3GHz 12C Bus 18DIL

    TSA5511
    £6.75
  • 470K Log Control Potentiometer 24mm dia + 6mm dia Spindle

    470K Log Control Potentiometer 24mm dia + 6mm dia Spindle

    Log Control Pot 24mm with 6mm x 30mm round spindle with flat part 4.7K Log

    SLG470K
    £1.50
  • BB809 Diode

    BB809 Diode

    BB809 Varicap Diode  4-46pF by Philips. Sealed in glass. 

    Matched to within 3 percent.

    BB809
    £1.75
  • Prototype Breadboard with 830 points

    Prototype Breadboard with 830 points

    Solderless Prototype Plug-In Breadboard 0.1 inch - 2.54mm spacing

    Ideal for experiments & teaching. 830 Points. 2 x 63 x 5 and 4 x 10 commoned points.

    63 rows of 5 points. Self-adhesive backing (or use free-standing).

    Can be used over and over again for prototyping circuits.

    Useful numbered grid. Accepts IC sockets, ICs and pin strips, transistors, resistors capacitors, LEDs, diodes, wire, etc

    BB830
    £5.25
  • 65 Breadboard Jumper Leads Solderless

    65 Breadboard Jumper Leads Solderless

    Solderless Jumper Leads for use with Breadboard

    This set of coloured jumper leads, invaluable when creating circuits with Breadboard. Seven different colours and Four different lengths will simplify your connections, keeping  your work neat and clear to identify. 

    Colours: Red, Orange, Yellow, Green, Blue, Black and White

    Lengths: 120mm, 165mm, 200mm and 240mm

    JL65
    £3.25
  • Data Logger Shield with Real Time Clock for Arduino

    Data Logger Shield with Real Time Clock for Arduino

    Data Logger Shield with Real Time Clock for Arduino Uno 

    This Arduino compatible shield allows the logging and storage data from an Arduino project to an SD card.

    Having a built in Real Time Clock (RTC) insures data accuracy over long time periods and at times where your project may suffer from power loss. Supplied with a CR1220 lithium battery. 

    AUDL
    £4.50
  • 1N4007 Diode

    1N4007 Diode

    Diode, Wire Ended Rectifier 1A 1000V

    Replacement for:

    1N4001

    1N4002

    1N4003

    1N4004 

    1N4005 

    1N4006

    1N4007
    £0.10
  • GY-521 3 Axis Accelerometer Gyroscope module for Arduino MPU-6050

    GY-521 3 Axis Accelerometer Gyroscope module for Arduino MPU-6050

    3 Axis accelerometer and gyroscope module for Arduino and other microcontroller projects

    This module has an MPU-6050 accelerometer and gyroscope IC on a GY-521 breakout board, making it easy to use this amazing sensor.

    The MPU-6050 gives an accurate position and movement data via the standard I2C protocol making it simple to add to your project.

     

    Voltage : 3-5VDC

    Gyroscope Range 250 500 1000 2000 / s

    Acceleration Range : 2 4 8 16g 

    Size 22x16mm

    GY521
    £2.50

Send to Friend

: *
: *
: *
Type the characters you see in the picture:


*

Waterproof digital temperature probe for Arduino and other microcontroler projects

 
This probe has a DS18B20 digital temperature IC inside a waterproof probe. It will give you a digital output that will vary depending on temperature.
 
Voltage : 3.3 to 5VDC
Temperature : -55C to 110C
Length : 1M

Example project: 
 

DS18B20 High Accuracy Digital Thermometer.

 
This DS18B20 digital thermometer is extremely useful as a tool for measuring temperature for all kinds of different applications. It has a very wide temperature range (-55°C to 110°C) and high accuracy, especially at temperatures between -10°C to 85°C.  In this project, we will be using an Arduino to read the temperature from the probe and display it on an LCD screen equipped with a KY1602 module.
 
Here’s what you will need: 
 
Tools
 
Components

Libraries

Step 1
First, you will need to connect the probe to the breadboard. This should be easy to do since the probe comes with pre-tinned leads. Simply push the ends of the leads into the breadboard sockets and use a 4.6kΩ pull-up resistor on the data pin as shown in fig.1. Now, you will need to connect the Arduino to the breadboard. Use the jumper leads to connect the male to male jumper leads to connect the power, ground and digital pin to the breadboard. 
 
Step 2
Solder the KY1602 module onto the 1602 LCD screen. Pin 1 on the KY1602 module is the one closest to the 4 data and power pins. Once soldered, you can now connect the LCD display to the Arduino as shown in fig.1:
 

Fig. 1




Step 3
Connect the Arduino to your computer and install the libraries mentioned above. If you need help installing the libraries, CLICK HERE for a quick tutorial.
 
Step 4
You can now start writing the code to get this all working: 


First, clear the IDE window. Then, include the aforementioned libraries:

#include <DS18B20.h>
#include <LCD_I2C.h>



Initialize the KY1602 I2C LCD driver (address 0x27 in this example) and specify the LCD display (in this case 16 characters, 2 rows):
 
DS18B20 ds(12);
LCD_I2C lcd(0x27, 16, 2);
 


Initialize the LCD display and turn on the LCD backlight. This is done inside the void setup function:
 
void setup() {
lcd.begin();
lcd.backlight();
}
 


Start a while loop. This is done inside the void loop function:
 
void loop() {
while (ds.selectNext()) {
 


Set the cursor to the first character and display the temperature in ºF and ºC:
 
lcd.setCursor(0,0);
  lcd.print(ds.getTempC());
  lcd.print((char)223);
  lcd.print("C");
  lcd.setCursor(0,1);
  lcd.print(ds.getTempF());
  lcd.print((char)223);
  lcd.print("F");
  }
 


Choose how often to update the screen (in this case, 800ms):
 
  delay(800);
}
 


The completed code should look like this:
 
#include <DS18B20.h>
#include <LCD_I2C.h>

DS18B20 ds(12);
LCD_I2C lcd(0x27, 16, 2);

void setup() {
  lcd.begin();
  lcd.backlight();
}

void loop() {
  while (ds.selectNext()) {
  lcd.setCursor(0,0);
  lcd.print(ds.getTempC());
  lcd.print((char)223);
  lcd.print("C");
  lcd.setCursor(0,1);
  lcd.print(ds.getTempF());
  lcd.print((char)223);
  lcd.print("F");
  }
  delay(800);
}

 
Step 4
Press the “Upload” button at the top (button with tick, located below “File”). The IDE will now compile the code and upload it to your Arduino (this will take a few moments).
 
Step 5
Done! If the connections are correct and there are no errors with the code, the LCD should display the temperature. 
 

Recently Viewed


Trustpilot