Difference between revisions of "Sensor-Temperature-D1"

From Microduino Wiki
Jump to: navigation, search
(Created page with "{{Language|Microduino-LM75}} {| style="width: 800px;" |- | 400px|thumb|right| Microduino-LM75 Microduino-LM75is digital temperature detection se...")
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Language|Microduino-LM75}}
+
{{Language|Sensor-LM75}}
 
{| style="width: 800px;"
 
{| style="width: 800px;"
 
|-
 
|-
 
|
 
|
[[File: Microduino-LM75.jpg|400px|thumb|right| Microduino-LM75]]
+
[[File: Microduino-LM75.jpg|400px|thumb|right| Microduino-Sensor-Temperature-D1]]
 +
The product number of Sensor-Temperature-D1 is: MSDT11
  
Microduino-LM75is digital temperature detection sensor module.
+
Sensor-Temperature-D1 is digital temperature detection sensor module.  
 
 
 
 
LM75 is a temperature sensor produced by National Semiconductor of which the output voltage is Celsus scale.  
 
  
 +
LM75 is a temperature sensor produced by National Semiconductor whose output voltage is of Celsius scale.
  
 +
==Introduction of the Sensor Pin==
 +
{{ST_Pinout
 +
|st_name=Temperature D1 Sensor
 +
|pin3=IIC SDA
 +
|pin4=IIC SCL
 +
}}
  
==Instruction of Sensor Pins==
 
{{Sensor_explain
 
|nameA=[[Sensor-Temperature-D1]]
 
|modeA=SDA
 
|modeB=SCL
 
}}
 
 
==Features==
 
==Features==
 
*Adopts LM75 temperature whose address is optional.  
 
*Adopts LM75 temperature whose address is optional.  
Line 23: Line 22:
 
*With low power consumption, long service life and good stability.
 
*With low power consumption, long service life and good stability.
 
*With wide working voltage.  
 
*With wide working voltage.  
*With small size which is easy to install.  
+
*With small size which is easy to install.
  
 
==Specification==
 
==Specification==
*Electric specification
+
*Sensor voltage
**Working voltage: 2.8V~5.5V
+
**3.3V~5V working voltage
**Input device
+
 
 +
*Size of the sensor
 +
**Size of the board: 23.5mm*13mm
 +
**1.27mm-spacing 4Pin interface connected with sensorhub
 +
**CAD drawing of the sensor: '''[[File:Sensor_CAD.zip]]'''
 +
 
 
*Technical parameters
 
*Technical parameters
*Accuracy: temperature 0.125℃
+
**Accuracy: temperature 0.125℃;
*Measurement arrange: -55℃~+125℃
+
**Measuring range: 55℃~+125℃;
*Size
+
 
**Size of the sensor: 5mm*5mm
 
**Size of the board: 20mm*10mm
 
*1.27mm-spacing 4Pin interface
 
 
*Connection
 
*Connection
*Interface: I2C
+
**This sensor can e connected to the I2C interface of the core.
*Pin instruction: GND, VCC, signal 1 and signal 2, the signal is IIC signal, so IIC interface is needed to receive the signal, and it can be connected to the pin 1 and 2 of sensor hub.
 
[[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]]
 
[[File: Microduino-LM75_I2C.jpg|600px|thumb|center]]
 
  
 
==Document==
 
==Document==
*Schematic diagram: '''[[File: Microduino_LM75.Zip]]'''
+
*Schematic diagram: '''[[File: Sensor-Temperature-D1.Zip]]'''
 
+
*Main chip: '''[[File: LM75 datasheet.pdf]]'''
  
 
==Development==
 
==Development==
===Preparation===
+
===Program Download===
*Confirm that you have set up the development environment of Microduino, otherwise please refer to : [[Microduino Getting started]]
+
*Download and unzip the program '''[[File:Sensor-Temperature-D1_Test.zip]]'''
*Core selection
 
**1.Adopt [[Microduino-CoreUSB]] or [[mCookie-CoreUSB]] as the core directly.
 
**2.Adopt [[Microduino-Core]] or [[Microduino-Core+]]as the core, and you also need to use [[Microduino-USBTTL]] to download programs.
 
 
 
 
 
===Program===
 
*Open the program “test” in the library.
 
[[file:mCookie-LM75Test.JPG|thumb|800px|center]]
 
*include <lm75.h>  Call the library function of LM75 temperature sensor.
 
*TempI2C_LM75 termo = TempI2C_LM75(0x48,TempI2C_LM75::nine_bits);    Define TempI2C_LM75 object.
 
*termo.setResolution(TempI2C_LM75::ten_bits);    Set the display to decimal numbers.
 
*Serial.print(termo.getTemp());    Display the output temperature.
 
  
 +
===Programming===
 +
{{Upload
 +
|nameA=[[Microduino-Core]], [[Microduino-USBTTL]]
 +
|nameB=[[Microduino-USBTTL]]
 +
|boardName=Microduino/mCookie-Core(328p), Atmega328P@16M,5V
 +
|fileName=Sensor_Temperature_D1_Test.ino
 +
}}
  
 
===Hardware Setup===
 
===Hardware Setup===
*Connect the sensor with the IIC port of sensorhub through patch cord.
+
*Referring to the following diagram, connect the Sensor-Temperature-D1 to the I2C interface of '''[[Microduino-Sensorhub]]'''.
[[Microduino-Sensorhub]]
+
<br>
[[file:Microduino-sensorhub_I2C.PNG|thumb|400px|center]]
+
[[file:Microduino-sensorhub_I2C.JPG|thumb|400px|left]]
[[mCookie-Hub]]
+
<br style="clear: left"/>
[[file:mCookie-sensorhub_I2C.PNG|thumb|400px|center]]
+
===Result===
*Connect the core and Sensorhub and LM75 together, and then connect them to the computer with USB cable.
+
*After download, open the serial monitor.  
*Choose the right board card and COM port, and download directly after compiling. Refer to [[AVR Core: Getting Started]]
+
*The serial monitor will print out the configuration information of the sensor, and then display the current temperature in cycle.  
[[file:upload.JPG|thumb|800px|center]]
 
*Open Arduino IDE, choose File→Examples→Microduino→Sensor_Tem_LM75→test sample program, and choose the right board card in Tools→Board, and then compile.
 
*Choose the right port in Tools→Serial Port of Arduino IDE, and then download the program directly.  
 
*After download you can open the serial monitor, and the console will print out the configuration information of the sensor, and then display the current temperature in cycle.  
 
  
 
==Application==
 
==Application==
  
It can be used in environment temperature detection, and as temperature switch to control the air conditioner, fans and so on.  
+
It can be used to detect the humidity of the environment, and be sued as temperature switch to control the air conditioner, fan and other devices.  
  
  
Line 88: Line 77:
  
 
*Front
 
*Front
[[file: Microduino-LM75-F.JPG|thumb|600px|center|Microduino-LM75 Front]]
+
[[file: Microduino-LM75-F1.JPG|thumb|600px|center|Microduino-LM75 Front]]
 
*Back
 
*Back
[[file: Microduino-LM75 -b.JPG|thumb|600px|center|Microduino-LM75 Back]]
+
[[file: Microduino-LM75 -b1.JPG|thumb|600px|center|Microduino-LM75 Back]]
 
|}
 
|}

Latest revision as of 06:47, 4 August 2017

Language: English  • 中文
Microduino-Sensor-Temperature-D1

The product number of Sensor-Temperature-D1 is: MSDT11

Sensor-Temperature-D1 is digital temperature detection sensor module.

LM75 is a temperature sensor produced by National Semiconductor whose output voltage is of Celsius scale.

Introduction of the Sensor Pin

Sensor backpin.png

Temperature D1 Sensor
General Pin Out Sensor / Trinket's Pin Out
PIN1 (GND) GND
PIN2 (VCC) VCC
PIN3 (SIGNAL-A) IIC SDA
PIN4 (SIGNAL-B) IIC SCL
  • General Pin Out is the standard pin out of a Sensor / Trinket connector.
  • Sensor / Trinket's Pin Out is this specific Sensor / Trinket's wiring in relation to the General Pin Out.
  • SIGNAL-A / SIGNAL-B are signals that could be digital input, digital output, analog input or analog output. Or special signals such as serial communication (SoftwareSerial, IIC (I2C), etc) or other special signals.
  • Not Connected refers to the Pin not being used for this particular Sensor / Trinket.
  • Read more about the hub module.

Features

  • Adopts LM75 temperature whose address is optional.
  • With high accuracy and sensitivity.
  • With low power consumption, long service life and good stability.
  • With wide working voltage.
  • With small size which is easy to install.

Specification

  • Sensor voltage
    • 3.3V~5V working voltage
  • Size of the sensor
    • Size of the board: 23.5mm*13mm
    • 1.27mm-spacing 4Pin interface connected with sensorhub
    • CAD drawing of the sensor: File:Sensor CAD.zip
  • Technical parameters
    • Accuracy: temperature 0.125℃;
    • Measuring range: 55℃~+125℃;
  • Connection
    • This sensor can e connected to the I2C interface of the core.

Document

Development

Program Download

Programming

  • Follow the Software Getting Started Guide.
  • Select the Board, Processor and Port.
  • Click [File]->[Open], browse to the project program address, and click "Sensor_Temperature_D1_Test.ino" to open the program.
  • After confirming all these items are correct, click "→" to download the program to the development board.

Hardware Setup

  • Referring to the following diagram, connect the Sensor-Temperature-D1 to the I2C interface of Microduino-Sensorhub.


Microduino-sensorhub I2C.JPG


Result

  • After download, open the serial monitor.
  • The serial monitor will print out the configuration information of the sensor, and then display the current temperature in cycle.

Application

It can be used to detect the humidity of the environment, and be sued as temperature switch to control the air conditioner, fan and other devices.


Purchase

History

Gallery

  • Front
File:Microduino-LM75-F1.JPG
Microduino-LM75 Front
  • Back
File:Microduino-LM75 -b1.JPG
Microduino-LM75 Back
Retrieved from "https://wiki.microduinoinc.com/index.php?title=Sensor-Temperature-D1&oldid=21498"