Software Serial Esp8266 Lua Dht11 Temperature

09.10.2018

Jun 30, 2016 - ESP8266 DHT11/DHT22 Temperature and Humidity Web Server with. For this project you need to install the DHT Sensor library and the Adafruit Unified Sensor Driver. Initializing serial port for debugging purposes. Running a Lua Script on the ESP8266 allows the ESp8266 to run standalone.

Esp8266 12e and dht11 sensor

Battery Powered ESP8266 WiFi Temperature and Humidity Logger I wanted to have a few portable and long lasting temperature and possible humidity sensors I could just throw around hand have them working with as little hassle as possible. Enter the Battery Powered ESP8266 WiFI Temperature and Humidity cloud logger. UPDATE Unfortunately after numerous attempts, DHT22 and deep sleep do not seem to go well together. After some time, no matter what code and library I uses, it would stop sending data. I have had help from other community members as well testing this, and the results are always the same, the DHT dies after a number of deep sleep cycles. Asio sound driver download.

For powered projects that don t sleep it is fine. If I get anywhere with it, I will post another update. Z8games crossfire register. We ve even added a transistor to switch it off, no go 🙁 The DS18B20 based sensors however have been running since last august now without any hickups. Wishes: • easily movable • last at least 3 months on a battery • minimum amount of components (that hopefully i had laying around) • post to emoncms • later: post to MQTT Results: • ESP8266 ESP-01 based (had) • Arduino IDE with ESP8266 support based firmware, with for easier portability • DHT22 or DS18B20 • low voltage drop and low quiescent current regulator • 18650 Rechargeable Lithium LiFePO4 Battery (eCig battery) • upload data to First build The first prototype I made of this had all the regular pull ups/downs and whatnot’s I found on most websites reflated to the ESP8266 I found.

That prototype has been running since August now, on a couple of batteries. It gets the temperature from a DS18B20 every 10 minutes, posts it to and goes to sleep. Second build After reading and playing some more about and with some ESP modules, it appeared as I could possibly run an ESP-01 module without any pull ups and so the list of components became: – 1x ESP8266 WiFi module, ESP-01 version – 1x HT7333-A low voltage drop and low quiescent current regulator – 1x 10uF capacitor – 1x 4×2 header – 1x 18650 case – 1x 18650 battery – 1x DHT22 Schematic Deep Sleep for the ESP8266 ESP-01 Because the ESP-01 does not have the necessary pin exposed for Deep Sleep (GPIO 16) we will need to do some surgical soldering on it. We need to solder a very thin piece of wire from the reset pin to one of those very small pads on the esp chip. Don’t worry, it’s a lot easier than it looks. Get the piece of wire, solder it on the reset pin, tin the other end and bend it into position What I did next is applying head somewhere near the end of the wire, this melted the solder on the wire and on the pad and I got a connection.