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

Wemos Mini with DHT11

Once I placed the conversion formula the temp came up `F

  #define DHTTYPE DHT11    // DHT 11
//#define DHTTYPE DHT22   // DHT 22, AM2302, AM2321
//#define DHTTYPE DHT21   // DHT 21, AM2301

DHT dht(DHTPIN, DHTTYPE);
BlynkTimer timer;

// This function sends Arduino's up time every second to Virtual Pin (5).
// In the app, Widget's reading frequency should be set to PUSH. This means
// that you define how often to send data to Blynk App.
void sendSensor()
{
  float h = dht.readHumidity();
  float t = dht.readTemperature(); // or dht.readTemperature(true) for Fahrenheit

   if (isnan(h) || isnan(t)) {
   Serial.print((int)round(1.8*t+32));
   Serial.println(" *F");
    
    return;
  }```

[Https://community.blynk.cc/t/dht-11-wemos-mini-and-blynk/37703/29](Https://community.blynk.cc/t/dht-11-wemos-mini-and-blynk/37703/29)
2 Likes

you can do this to and it works as well

[unformatted code removed by moderator]

I’ve removed your unformatted code.
Code should have triple backticks at the beginning and end so that it displays correctly.

Triple backticks look like this:
```

Pete.

2 Likes

What f** is wrong with people on this community well it seem like no one is smart like me it fine, i been programming sines i been 6 and i’m now 22 i know all 27 programming languages from c++ to java to html to linux. i’m on my 4th year of getting my masters in computer science and my 3ed year of electrical engineering, and planning to go to Caltech…

we do not care about how many languages ​​you know., can not help .
you do not need to know 27 languages ​​and to despise people, you have to learn politeness first.
:joy::joy::joy::joy::joy:

2 Likes


3019 ?
:joy::joy::joy::joy::joy::zap::skull:

3 Likes

When you suspend a user you can choose the duration of the suspension. If you choose ‘forever’ then it sets the suspension expiry date to 1000 years in the future.

I think he might have learned his lesion by then :smiley:

Pete.

3 Likes

You did well Pete !
we don’t need to have a 27 languages user here.
:joy::joy::joy:

2 Likes

Looks like I opened a can of worms, just need advice on the protocol for declaring a “I need help with my project” thread to “Solved”

3 Likes

Yet he still can not read or understand the Welcome Topic instructions :stuck_out_tongue:

3 Likes