You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,11 @@ A room thermometer which uses a DHT22 sensor for measuring the room temperature
10
10
* Web interface with JSON output to use the measurements via the network
11
11
12
12
**Setup**
13
+
13
14
When started the first time, the thermometer creates an access point 'AutoConnectAP'. Connect to it, pick you network (only 2.4G), enter its credentials. Afterwards it reboots and should show the device IP address in the line on the bottom (DHCP is compulsory). Browse to it and you will bring you to the page to enter your Openweathermap API key (create an account: https://openweathermap.org/) and location.
14
15
15
16
**Usage**
17
+
16
18
All the relevant data is shown on the display itself. Just pick a nice place for the thermometer. Since Openweathermap does not provide a proper min/max-Temp functionality, it only shows the min/max values for the next 24 hours starting from the current time. Apart from reading them of the display you can get all the measurement data by opening the page http://yourthermometerip/measurements and use it remotely:
17
19
18
20
`{
@@ -33,13 +35,15 @@ All the relevant data is shown on the display itself. Just pick a nice place for
33
35
In my case I am logging the temperature and humidity using a homeassistant server.
34
36
35
37
**Parts list**
38
+
36
39
1. a NodeMCU dev board. Not exactly necessary needed, but it already contains a voltage regulator, which makes things easier. And I've designed the case around it.
37
40
2. a Waveshare 4.2 inch E-paper module (https://www.waveshare.com/wiki/4.2inch_e-Paper_Module)
38
41
3. a DHT22. There is a successor using I2C. But I had the DHT22 laying around. So the DHT22 it is...
39
42
4. a case. I added my STLs for 3D printing a case to the project. You may use your design or no case at all.
40
43
5. if you use my Case: four 2 to 2.5 mm diameter screws to fixate the NodeMCU board in the base of the case.
41
44
42
45
**Build process**
46
+
43
47
The build process is rather selfexplanatory. If you go with my case and my hardware suggestion, there are two things you have to do as a preparation:
44
48
1. Desolder the plug from the display, as it is too tall for the case. We use the solder holes in the module on the other side. You can cut off the wires and reuse them.
45
49
2. Desolder the pin headers from the NodeMCU module.
@@ -75,11 +79,12 @@ Data | D1
75
79
Now you can glue the base in place with some super glue. Give it some time to dry, before you fixate the NodeMCU in the base using the screws. Check, that the Micro USB port aligns nicely with the hole. After placing the tap on the base (the use of sandpaper might be advisable) the assembly process is done.
76
80
77
81
**The project/code**
82
+
78
83
This was my first Arduino-ish project (besides blinky LED) and I have next to no experience with C/C++. This means, that my code most likely horrible and full of flaws, since I was dealing more with figuring out the basics instead of perfectly planning out the project itself. So feedback is welcome and even though I don't plan to support the project, the occasional pull request might be merged.
79
84
80
85
Following libraries and all their dependencies are needed:
81
86
Library | Source
82
-
---------- | ---------
87
+
---------- | ----------
83
88
GxEPD | https://github.com/ZinggJM/GxEPD
84
89
ArduinoJson | https://github.com/bblanchon/ArduinoJson or Arduino Library manager (use 5.x not 6.x)
85
90
Adafruit DHT Sensor Library | https://github.com/adafruit/DHT-sensor-library or Arduino Library manager
@@ -108,6 +113,7 @@ Hardware:
108
113
* Add buttons for soft reset, light, display refresh and "factory" reset
109
114
110
115
**Credits**
116
+
111
117
The design of the configuration page was blatantly stolen from Wifi manager.
0 commit comments