1 Overview

This lesson,  we’ll use DS18b20 to detect temperature from browser or smart phone

2 Hareware Preparation

UNO R3 board 1
Ethernet Shield W5100 1
USB cable 1
DS18B20 1
Jumper wires several
Breadboard 1

3 Hardware connection

Connect the DS18B20 temperature sensor with UNO as following diagram:

Arduino UNO DS18B20
5V Middle
D2 S

4 Add new device

Log in Cayenne IOT platform, Add new…->Device/Widget

Choose :Sensors->”Temperature”

Choose DS18B20

Change the datasheet as followed:

Click “Step 1:Sketch File”,the sample sketch will be displayed,copy and paste the sketch into Arduino IDE.

Choose the Board type Arduino Uno and corret Port, upload the sketch to Uno board, in your Cayenne dashboad click”Setp 2 :Add Actuators” then you should see the DS18bB20 was added on your dashboad:

Leave a Reply

WordPress spam blocked by CleanTalk.
Bombax Theme designed by itx