Product | Arduino Brick | Arduino Sensor Bricks | Arduino Temperature Sensor DS18B20
Arduino Temperature Sensor DS18B20
Arduino Temperature Sensor DS18B20
41849
 
US$6.98 Loading ...
 
Share/Save/Bookmark

                     
                      Arduino Temperature Sensor DS18B20


We can build electronics projects just as easy as piling bricks. Arduino and community have made the programming much easier than ever before. How about some elixir on hardware part? Maybe it is not yet convenient to make complex interfaces, but we can at least start from the most commonly used modules.

By using electronic bricks, you may connect Arduino 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.

Each terminal module has buckled port with VCC, GND and Output, which has corresponding port on the sensing board, with a plain 2.54mm dual-female cable you may start playing already. Buckled brick cables are like cement for bricks, make the connections easier, secure and more professional looking.

It is very interesting Electronic Brick Module-14

This module can be used with Arduino Special Sensor Shield V4.0.
You can do some simple design about it,it support“plug and play”。




This module connect with Arduino Special Sensor Shield V4.0.
link the digital Temperature Sensor to No.12 of digital I/O .
then download the corresponding software package,and to decompress into setup menu of Arduino's  hardwarelibraries



Restart Arduino , then use the code below to finish test:
#include <DallasTemperature.h>

DallasTemperature tempSensor;

void setup(void) {
  Serial.begin(9600);
  tempSensor.begin(12); // link DS18B20 to NO.12 pin of digital I/O port
}

void loop(void) {
    // test temperature weather working normally
    switch(tempSensor.isValid())
    {
        case 1:
            Serial.println("Invalid CRC");
            tempSensor.reset(); // reset temperature sensor
            return;
        case 2:
            Serial.println("Not a valid device");
            tempSensor.reset(); // reset temperature sensor                     return;
    }

  // read temperature data from DS18B20
  Serial.print(tempSensor.getTemperature());
  Serial.print("C");
  Serial.println();
}



then open the Arduino serial port watching tool , and then you can see the data reading
from DS18B20






*Review title
Please enter subject.
*Your review
Please enter review.
*Rating
(Click star icon to comment)
 
Display name
*Enter security code

CAPTCHA

Please enter code
Loading ...

Best Sellers
Newsletter

Join our newsletter today, to get latest product information and promotion code.

Join
Loading ...