Connecting with Dupont wire
When the Dupont wire is used to connect the module to the Arduino UNO Baseboard, its SIG
pin should be connected to digital port as follows:
Guidetoprogramming
Arduino programming
If you use Arduino to write a program, the library Makeblock-Library-master should be invoked
to control the Me Temperature Sensor-Waterproof.
This program serves to read current temperature through Arduino programming.
The code segment serves to read the readings of Me Temperature Sensor and output the result
to the serial monitor in Arduino IDE with the cycle of 1s.
Upload the code segment to Makeblock Orion, click the Arduino serial monitor and you will see
the running result as follows:
mBlock programming
The Me Temperature Sensor-Waterproof module supports the mBlock programming
environment and its instructions are introduced as follows:
This is an example on how to use mBlock to control
the Me Temperature S
ensor module.
It will make the panda speaking out the value of temperature captured by the Me Temperature
Sensor, and the running result is as follows:
Principleanalysis
With the main component DS18B20, the Me Temperature Sensor module features
miniaturization, low power consumption, high performance, strong anti-interference ability, and
matching with microprocessor easily. Adopting unique single bus port mode, DS18B20 is in
connection with a microprocessor by only a bus to implement two-way communication
between the microprocessor and DS18B20. The module supports the function of multi-
point networking, so several DS18B20 can be connected in parallel on the only three-line to
implement multi-point temperature measurement, and the measurement results are
transmitted in 9~12 bits serial digital mode. When communicated with a single chip computer,
you can set the resolution by configuring the register.

11014

Mfr. #:
Manufacturer:
Heyco
Description:
LED Mounting Hardware HLEDS2M-180 NATURAL PVC/NYL LED Spacer
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet