Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
PANZOKA
Published © GPL3+

Easy DHT With Blynk

Easy ways to make DHT With Blynk

BeginnerFull instructions provided1 hour272
Easy DHT With Blynk

Things used in this project

Hardware components

DHT11 Temperature & Humidity Sensor (4 pins)
DHT11 Temperature & Humidity Sensor (4 pins)
×1
NodeMCU ESP8266 Breakout Board
NodeMCU ESP8266 Breakout Board
×1
Female/Female Jumper Wires
Female/Female Jumper Wires
×1
Micro-USB to USB Cable (Generic)
Micro-USB to USB Cable (Generic)
×1

Software apps and online services

Blynk
Blynk

Story

Read more

Code

Code DHT with BLYNK

C/C++
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <Servo.h>

#define BLYNK_PRINT Serial


Servo servo;
char auth[] = "Blynk token";
char ssid[] = "your ssid";
char pswd[] = "your pass";

void setup() {
 Serial.begin(9600);
 Blynk.begin(auth,ssid,pswd);
 servo.attach(15); //D4

}

void loop() {
Blynk.run();
}

BLYNK_WRITE(V1) {
  servo.write(param.asInt());
}

Credits

PANZOKA
5 projects • 2 followers
i make projects
Contact

Comments

Please log in or sign up to comment.