Octopus LM35 Analog Temperature Brick

From ELECFREAKS-WIKI
Jump to: navigation, search

Introduction

Octopus Electronic Bricks, you can use them build electronics projects just as easy as piling bricks. By using Octopus electronic bricks, you may connect Arduino/Freaduino compatible boards easily with various digital, analog and I2C/Uart interfaces. These the breadboard-less firm connection are prepared to extensive modules like poteniometers, sensors, relays, servos…even buttons, just plug and play.

This brick uses the LM35D LM35 Precision Centigrade Temperature Sensors from TI. The LM35 series are precision integrated-circuit temperature devices with an output voltage linearly- proportional to the Centigrade temperature. The LM35 device has an advantage over linear temperature sensors calibrated in Kelvin, as the user is not required to subtract a large constant voltage from the output to obtain convenient Centigrade scaling. The LM35 device does not require any external calibration or trimming to provide typical accuracies of ±1⁄4°C at room temperature and ±3⁄4°C over a full −55°C to 150°C temperature range. Lower cost is assured by trimming and calibration at the wafer level. The low-output impedance, linear output, and precise inherent calibration of the LM35 device makes interfacing to readout or control circuitry especially easy. The device is used with single power supplies, or with plus and minus supplies. As the LM35 device draws only 60 μA from the supply, it has very low self-heating of less than 0.1°C in still air. The LM35 device is rated to operate over a −55°C to 150°C temperature range, while the LM35C device is rated for a −40°C to 110°C range (−10° with improved accuracy). The LM35-series devices are available packaged in hermetic TO transistor packages, while the LM35C, LM35CA, and LM35D devices are available in the plastic TO-92 transistor package. The LM35D device is available in an 8-lead surface-mount small-outline package and a plastic TO-220 package.

The Freaduino Sensor Shield is the perfect shield to connect this senor to Arduino. Or Freaduino UNO which we had pre-stray Octopus Brick interface.


IMG 4490.JPGIMG 4492.JPG

Model: [ EF04068]

Feature

  • Power supply needs: 5V
  • Pin Definition: S-Sigal V-VCC G-GND
  • Wide detecting scope
  • Fast response and High sensitivity
  • ±0.5°C Accuracy from -10°C to +85°C
  • Usable temperature range: -55 to 125°C (-67°F to +257°F)
  • 9 to 12 bit selectable resolution
  • Uses 1-Wire interface- requires only one digital pin for communication
  • Unique 64 bit ID burned into chip
  • Multiple sensors can share one pin
  • Temperature-limit alarm system
  • Query time is less than 750ms
  • Size: 19x27mm
  • Calibrated Directly in Celsius (Centigrade)

•Linear + 10-mV/°C Scale Factor •0.5°C Ensured Accuracy (at 25°C) •Rated for Full −55°C to 150°C Range •Suitable for Remote Applications •Low-Cost Due to Wafer-Level Trimming •Less than 60-μA Current Drain •Low Self-Heating, 0.08°C in Still Air •Non-Linearity Only ±1⁄4°C Typical •Low-Impedance Output, 0.1 Ω for 1-mA Loa

Specification

Pin definition and Rating

GND VCC Signal
GND VCC Signal

Mechanic Dimensions

Oct.jpg

Usage

  • 3P buckled wires connector

Soil-OB-07.jpg


Hardware Installation

Encoder-04.jpg

Octopus DS18B20 Digital Temperature Brick.jpg

Programming

Includes important code snippet. Demo code like :

<syntaxhighlight lang="php">


int potPin = A0; //set A0 to LM35D signal port , 设置模拟口4为LM35的信号输入端口 float temperature = 0; //设置temperature为浮点变量 long val=0; //设置val为长整数变量

void setup() { Serial.begin(9600);//设置波特率 }

void loop () {

  val=analogRead(potPin);                             //温度传感器LM35接到模拟A0上;val变量为从LM35信号口读取到的数值
 temperature = (val*0.0048828125*100);   // Change the analog value to "Centigrade"   
                                                                      //把读取到的val转换为温度数值,系数一:0.00488125=5/1024,0~5V对应模拟口读数1~1024,
                                                                      //系数二:100=1000/10,1000是毫伏与伏的转换;10是每10毫伏对应一度温升。
  Serial.print("Tep=  ");
  Serial.print(temperature);
  Serial.println(" C");
   delay(500);                                                 //Delay 500ms is refresh ,延时500毫秒,这里也就是刷新速度。

}


</syntaxhighlight>

Example

The projects and application examples.

OB.jpg

Soil-OB-06.jpg



SHD IOE01 6.jpg


PushButtonS-07.jpg

Version Tracker

Revision Descriptions Release
v1.0b Initial public release date

Bug Tracker

Bug Tracker is the place you can publish any bugs you think you might have found during use. Please write down what you have to say, your answers will help us improve our

products.

Resources

How to buy

Click here to buy: http://www.elecfreaks.com/estore/octopus-ds18b20-digital-temperature-brick.html

See Also

Other related products and resources.

Licensing

This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are

licensed under GPL/LGPL, see source code files for details.

External Links

Links to external webpages which provide more application ideas, documents/datasheet or software libraries