Introduction
There are four types of commonly-used temperature sensors: thermocouple, RTD(resistance temperature detector), thermistor, and semiconductor. Normally, the thermocouple provides the widest measurement temperature range from –184ºC to +2300ºC. The resistance temperature detector offers a fairly linear output that is highly accurate across –200ºC to +850ºC and the later two kinds are suitable for temperature measurement below 200℃. Semiconductor sensors usually have relatively high accuracy.
Temperature sensing is one of the most sensitive properties or parameters for industries like petrochemical, automotive, aerospace and defense, consumer electronics, and so on.
Specification
- Operating Voltage: 3V-5V
- Connector: PH2.0-3P
- Product Dimension: 22×26(mm)/1.02×0.87"
- Signal: analog
Pinout
Label | Name | Description |
---|---|---|
1 | GND | Ground |
2 | VCC | Power Input |
3 | SIGNAL | Analog |
Usage Description
The temperature sensor can be used to detect the environmental temperature and convert the temperature into an analog electrical signal. The output signal increases as the temperature rises.
Principle
The temperature sensor is based on the principle that the resistance of NTC changes with temperature. It converts physical quantities into electrical signal so as to accurately detect temperature.
Application
1. Air Temperature Detector
Description: Put two pots of plants with same growth under different temperature conditions. Record their growth situations.
Components:
BOS0011 Temperature Sensor | BOS0044 OLED Module | BOS0035 Mainboard-3IO |
BOS0040 micro:bit BOSON expansion board | MBT0039 micro:bit |
Tip: micro:bit and micro:bit BOSON expansion board will be used in programming projects.
Non-programming
Connection diagram:
Programming
Connection diagram:
Flowchart:
Mind+ Sample Program:
MakeCode Sample Program:
Video Demo:
Non-programming | Programming |
---|---|
2. High Temperature Alarm (Programming)
Description:
When the temperature is detected to be over 35℃, the fan starts to work and the buzzer buzzes to alarm people.
Components:
BOS0011 Temperature Sensor | BOS0021 Fan Module | BOS0020 Buzzer Module |
BOS0040 micro:bit BOSON expansion board | MBT0039 micro:bit |
Connection:
Flowchart:
Mind+ Sample Program:
MakeCode Sample Program:
Video Demo:
Programming |
---|
(3) Temperature Indicator (Programming)
Description:
When the temperature is detected to be below 25℃,the green LED turns on. If the temperature is within 25℃to 35℃, the blue LED turns on, if temperature over 35℃, the red LED turns on.
Components:
BOS0011 Temperature Sensor | BOS0017 Red/Blue/Green LED module | MBT0039 micro:bit |
BOS0040 micro:bit BOSON expansion board |
Connection:
Flowchart:
Mind+ Example Program:
MakeCode 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