Surilli
Published © GPL3+

Integrate Surilli Basic M0 with DHT11 Using Tera Term

Record the changing temperature and humidity values in Excel using Surilli Basic M0 and a tool named as "Tera Term."

BeginnerFull instructions provided15 minutes171
Integrate Surilli Basic M0 with DHT11 Using Tera Term

Things used in this project

Hardware components

Surilli Basic
Surilli Basic
×1
DHT11 Temperature & Humidity Sensor (3 pins)
DHT11 Temperature & Humidity Sensor (3 pins)
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Breadboard (generic)
Breadboard (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE
Tera Term

Story

Read more

Schematics

Surilli Basic M0 with DHT11

Code

dht11_teraterm

C/C++
#include <dht.h>

#define dht_apin A0

dht DHT;

void setup() 

{

   SerialUSB.begin(9600);

   SerialUSB.println("Date & Time, Humidity %, Temperature *C");

   delay(1000);

}

void loop() 

{

   DHT.read11(dht_apin);

   SerialUSB.print("Current humidity = ");
   SerialUSB.print(DHT.humidity);
   SerialUSB.print("%  ");
   SerialUSB.print("temperature = ");
   SerialUSB.print(DHT.temperature); 
   SerialUSB.println("C  ");

   delay(1000);

}

Credits

Surilli

Surilli

196 projects • 45 followers
Surilli is a premiere Internet of Things centric Technology Company aimed at providing cutting edge innovative solutions.

Comments