查看“Microduino-LM75”的源代码
←
Microduino-LM75
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{Language|Microduino-LM75}} {| style="width: 800px;" |- | [[File: Microduino-LM75.jpg|400px|thumb|right| Microduino-LM75]] Microduino-LM75 is a digital temperature detection sensor. ==Features== *Adopt LM75 temperature sensor with optional addresses. *High accuracy and sensitivity; *Low consumption, long product life and high stability; *Wide operation range; *Small and easy to install. ==Specification== *Electrical specification **Operation voltage: 2.8V~5.5V; **Input device *Tech parameters *Accuracy: 0.125℃ *Measurement range: -55℃~+125℃; *Size **Size of the sensor: 5mm*5mm, **Size of the board: 20mm*10mm *1.27mm-pitch 4Pin interface; *Connection method *Interface: IIC * Pin description: GND, VCC, signal 1and signal 2. Since the output signal is IIC signal, it needs to use IIC interface to receive signals. Microduino-LM75 can be connected to the pin (1 or 2). , which can be connected the pins (10,1,12) of the Sensorhub with the corresponding pins(A6,A2,A0). [[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]] [[File: Microduino-LM75_I2C.jpg|600px|thumb|center]] ==Document== *Schematic: '''[[File: Microduino_LM75.Zip]]''' ==Development== ===Preparation=== *Make sure you build Microduino IDE or refer to: [[Microduino Getting started]] *Core selection **1. Adopt [[Microduino-CoreUSB]] or [[mCookie-CoreUSB]] as the core. **2. Adopt [[Microduino-Core]] or [[Microduino-Core+]] as the core plus [[Microduino-USBTTL]] as the program download module. ===Program=== *Open the "test" program in the libraries. [[file:mCookie-LM75Test.JPG|thumb|800px|center]] *include <lm75.h> Use the library functions of Microduino-LM75. *TempI2C_LM75 termo = TempI2C_LM75(0x48,TempI2C_LM75::nine_bits); Define TempI2C_LM75 *termo.setResolution(TempI2C_LM75::ten_bits); Set displaying as decimal digits. *Serial.print(termo.getTemp()); Display output temperature ===Hardware Buildup=== *Connect Microduino-LM75 to the IIC interface of Sensorhub with a wire. [[Microduino-Sensorhub]] [[file:Microduino-sensorhub_I2C.PNG|thumb|400px|center]] [[mCookie-Hub]] [[file:mCookie-sensorhub_I2C.PNG|thumb|400px|center]] * Connect the core, Sensorhub and the Microduino-LM75 to a computer with a USB cable. * Select the right board and COM port, compile and download. You can refer to [[AVR Core:Getting started]] [[file:upload.JPG|thumb|800px|center]] *Open Arduino IDE, select File→Examples→Microduino→Sensor_Tem_LM75→test program examples, choose the right board from Tools→Board and then compile. *Select the right port from Tools→Serial Port in Arduino IDE after compiling, then download program. *After download, you can open the serial monitor. The console will print configuration information of Microduino-LM75 and displays the current temperature value circularly. ==Application== Microduino-LM75 is suitable for environment temperature detection, which can be used as temperature switch to control an air conditioner or electric fans. ==Purchase== ==History== ==Pictures== *Front [[file: Microduino-LM75-F.JPG|thumb|600px|center|Microduino-LM75 Front]] *Back [[file: Microduino-LM75 -b.JPG|thumb|600px|center|Microduino-LM75 Back]] |}
该页面使用的模板:
模板:Language
(
查看源代码
)
模板:Nmbox
(
查看源代码
)
返回至
Microduino-LM75
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
Welcome
首页
创客大赛
大赛详情
3D打印
安装月球车
图形化编程
操控月球车
升级月球车
编程工具下载
软件下载
Arduino
Processing
Mixly
Scratch
模块套件
Microduino 102
mCookie 102
mCookie 202
mCookie 302
IBC
其他
应用套件
四轴飞行器
平衡车
小车CUBE
音乐播放器
刷卡音乐播放器
wifi气象站
彩虹音乐触摸灯
分贝检测仪
迎门汇报
LED点阵时钟
LED点阵屏幕
硬件
mCookie
Sensor
Microduino
MicroWrt
MicroNux
MicroRobot-Core
MicroRobot-CoreESP
ideaBoard
ideaBox
MicroMV
MicroAI
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息