ESP8266 with DHT11 and LCD Display5 August, 2019
I had fun putting together a simple electronics project over the weekend: NodeMCU dev board (ESP8266) with a DHT11 temperature and humidity sensor and DF Robot RGB LCD display.
The code is quite simple: connect to the local WiFi network and create a UDP server. Respond to UDP requests on port 3210 with a temperature and humidity reading from the sensor. Write the temperature and humidity to the display every two seconds.
Arduino (C++) code: mycognosist/esp8266_dht11_udp
I’ll be using this setup to monitor environmental conditions in my cultivation space. I plan on doing another version with LoRa for the main lab up the road. Will be great to do some remote-sensing from the comfort of my living room.
One thing you can’t see in the photo is the sweet pink pastel backlight. I’d been thinking about lunarpunk aesthetics (thanks to a post by @Jackalope) - and, in particular, how I associate pastel tones with lunarpunk. I wanted to try out pastel colours on this display and ended up checking out the Wikipedia entry on Pastel (color). Lo and behold, it mentions:
There is also a type of goth style called pastel goth which combines the pastel color palette with classical goth fashion elements.
I did not know that. Rad.