Difference between revisions of "Sensor-Temperature-D1"
From Microduino Wiki
(Created page with "{{Language|Microduino-LM75}} {| style="width: 800px;" |- | 400px|thumb|right| Microduino-LM75 Microduino-LM75is digital temperature detection se...") |
(→Program) |
||
Line 55: | Line 55: | ||
===Program=== | ===Program=== | ||
− | *Open the program | + | *Open the program "test" in the library. |
[[file:mCookie-LM75Test.JPG|thumb|800px|center]] | [[file:mCookie-LM75Test.JPG|thumb|800px|center]] | ||
*include <lm75.h> Call the library function of LM75 temperature sensor. | *include <lm75.h> Call the library function of LM75 temperature sensor. | ||
Line 61: | Line 61: | ||
*termo.setResolution(TempI2C_LM75::ten_bits); Set the display to decimal numbers. | *termo.setResolution(TempI2C_LM75::ten_bits); Set the display to decimal numbers. | ||
*Serial.print(termo.getTemp()); Display the output temperature. | *Serial.print(termo.getTemp()); Display the output temperature. | ||
− | |||
===Hardware Setup=== | ===Hardware Setup=== |
Revision as of 09:25, 9 September 2016
Language: | English • 中文 |
---|
Microduino-LM75is digital temperature detection sensor module.
Contents[hide]Instruction of Sensor Pins
Features
Specification
Document
DevelopmentPreparation
Program
Hardware Setup
ApplicationIt can be used in environment temperature detection, and as temperature switch to control the air conditioner, fans and so on.
PurchaseHistoryGallery
|