SKU_BOS0042_Waterproof_Temperature_Sensor_i19-DFRobot

Introduction

This waterproof DS18B20 temperature sensor is extremely suitable for when you need to measure something far away, or in wet conditions, for instance, cold storage temperature monitoring, electronic device temperature detection, soil temperature measurement, and so on.

Specification

Pinout

Label Name Description
1 GND Negative
2 VCC Positive
3 SIGNAL Analog Signal Line

Usage Description

The temperature sensor is compatible with Arduino. It must be used with a pull-up resistor and a sensor converter. Connect all parts together, power up and place the sensor probe into the object to be measured, the readings of the sensor will be displayed on the OLED module. This temperature sensor can be used in the temperature range -55℃~+125℃ to provide -10°C to +85°C temperature detection with an accuracy of ±0.5°C.

Principle

The thermistor in the sensor probe is sealed by the electrically conductive sealant to ensure the high sensitivity and accuracy of the sensor. Each pin of the chip is separated by the heat shrink tube to prevent the short-circuit. The shell of the probe is made of stainless steel, which makes the sensor waterproof, moistureproof, and rustproof.

Application

(1) The effects of temperature on seed germination

Description: sow seeds of the same kind and quantity into two planter boxes, monitor the temperature of the two boxes and record the seed germination rate under different temperatures.

Components:

BOS0042 Waterproof Temperature Sensor BOS0035 Mainboard-3IO BOS0044 OLED Display Module
MBT0039 micro:bit BOS0040 micro:bit BOSON Expansion Board

Tips: micro:bit and micro:bit BOSON expansion boards are used in the programming example.

Non-programming Sample

Connection:

Press the black button on the OLED display module to select the soil moisture sensor mode.

Programming Sample

Connection:

Flowchart:

Mind+ Sample Program:

Makecode Sample Program:

Video Demo:

Non-programming Programming

(2) Grain Bin Temperature Monitoring

Description: temperature and humidity are very essential for grain storage and these two factors are closely linked together. Normally, the grain moisture content should be no more than 12% so that the temperature can be maintained in a stable range. When the moisture content is over 20%, the seed begins to germinate and breathe, as a result, the temperature will rise accordingly, and when it is over 22°C, storage problems may occur. Hence, it is necessary to set a humidity and temperature system for the grain bin. When the temperature exceeds 22°C, the fan starts to rotate, the LED module lights up, and buzzer buzzes to alarm people. When the moisture content is more than 20%, the LED lights up and the buzzer makes sounds.

Components:

BOS0042 Waterproof temperature sensor BOS0041 Air humidity sensor BOS0020 Buzzer module
BOS0021 Fan module BOS0017 LED module BOS0040 micro:bit Expansion board
MBT0039 micro:bit

Tips: micro:bit and micro:bit BOSON expansion boards are used in the programming example.

Programming Sample

Connection:

Flowchart:

Mind+ Sample Program:

Makecode Sample Program:

Video Demo:

Programming

(3) Refrigerator Temperature Indicator

Description: The ideal refrigerator tempereature is 2-8℃(35.6-46.4°F), which can prevent fresh food from spoiling too quickly and slow the growth of bacteria that can cause foodborne illnesses. Here we are going to make a refrigerator temperature indicator. When the temperature in the refrigerator is too high, the red LED lights up; if it's too low, the blue LED turns on. When the temperature is between 2-8℃, the two LEDs turn off.

Components:

BOS0017 Red/Blue LED module BOS0042 Waterproof temperature sensor
MBT0039 micro:bit BOS0040 miro:bit BOSON expansion board

Connection:

Flowchart:

Mind+ Example Program:

MackCode Example Program:

Video Demo:

Programming

FAQ

For any questions, advice or cool ideas to share, please visit the DFRobot Forum

Turn to the Boson Kit Page