The core of it - minimalistic news based on technical facts

http://x700.blogspot.com/

Posts mit dem Label IOT werden angezeigt. Alle Posts anzeigen
Posts mit dem Label IOT werden angezeigt. Alle Posts anzeigen

Donnerstag, 13. September 2018

DHT11 Sensor no value Arduino

You try to access DHT11 Sensor from (Arduino) Wemos D1 mini without success?

Solution: Use "D4" instead of "4" for the Datapin!

#include
#include
#include
#include
#include
#include

#define DHTPIN D4                                    // what digital pin we're connected to
const char* ssid = "xxxxxxxx";
const char* password = "xxxxxx";               // Wireless Passcode

ESP8266WebServer server(80);

const int led = 5;

#define DHTTYPE DHT11                            // DHT 11
// define DHTTYPE DHT22                               // DHT 22  (AM2302), AM2321
//#define DHTTYPE DHT21   

.....   

Dienstag, 20. März 2018

IOT selbst gebaut dank günstigen praktischen Adafruit Feather

Mit einem 

Adafruit Feather HUZZAH with ESP8266 für $17 Sensoren via WIFI vernetzen:
https://www.adafruit.com/product/2821 oder mit dem Feather mit ESP-F WIFI https://www.adafruit.com/product/2821


Und dann die Daten in die Adafruit IO Cloud speisen mittels MQTT:

https://learn.adafruit.com/mqtt-adafruit-io-and-you/getting-started-on-adafruit-io

Raspi MQTT Broker
http://iot.santronix.in/2017/01/29/mosquitto-mqtt-broker-on-raspberry-pi-3/