BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

DHT11 with Bluetooth?


#1

Hi there!
I’m trying to see my house’ temperature and humidity over bluetooth (HC-06) it’s possible to do that?
My Ethernet shield is dead :frowning: … and until it arrive another i will controlled my house over Bluetooth, but i can’t use the DHT11 sensor with it… Anybody wants to help? Can you give me an example? I’m new with programmation, but i understand it. Waiting your aswer!

#The bluetooth programm:

#define BLYNK_USE_DIRECT_CONNECT
#include <SoftwareSerial.h>
#include <BlynkSimpleSerialBLE.h>

SoftwareSerial DebugSerial(2, 3); // RX, TX (Mas é no 0, 1)

char auth[] = “d41fa5f4920a44198d71fc16bf70c899”;

void setup()

{

Serial.begin(9600);
Blynk.begin(Serial, auth);
}

void loop()

{
Blynk.run();
}

I want to use the DHT11 info on Labeled Value, alongside bluetooth programation

Sorry for my bad english (I’m From Portugal)


#2

First off, Welcome to Blynk. Please format any code you post, as per the welcome instructions… use this key three times before and after any code you post.

Then…

a) What hardware (board) are you using?

b) If Arduino, have you tried USB-Link, until you get another ethernet shield?

c) Have you already gotten the DHT11 functioning on your hardware, without Blynk? If not, best to start with that. There are many, very simple examples, for the DHT11/22 series out there, simply Google DHT11. Then you can Blynkify it (and you can simply search this forum for DHT11 to see it done many times here). And finally trying to add BT link on top of it all.