Skip to content

Commit bb465ba

Browse files
author
g0r3
committed
fix readme
1 parent 612bc0e commit bb465ba

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ A room thermometer which uses a DHT22 sensor for measuring the room temperature
1010
* Web interface with JSON output to use the measurements via the network
1111

1212
**Setup**
13+
1314
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.
1415

1516
**Usage**
17+
1618
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:
1719

1820
`{
@@ -33,13 +35,15 @@ All the relevant data is shown on the display itself. Just pick a nice place for
3335
In my case I am logging the temperature and humidity using a homeassistant server.
3436

3537
**Parts list**
38+
3639
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.
3740
2. a Waveshare 4.2 inch E-paper module (https://www.waveshare.com/wiki/4.2inch_e-Paper_Module)
3841
3. a DHT22. There is a successor using I2C. But I had the DHT22 laying around. So the DHT22 it is...
3942
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.
4043
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.
4144

4245
**Build process**
46+
4347
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:
4448
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.
4549
2. Desolder the pin headers from the NodeMCU module.
@@ -75,11 +79,12 @@ Data | D1
7579
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.
7680

7781
**The project/code**
82+
7883
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.
7984

8085
Following libraries and all their dependencies are needed:
8186
Library | Source
82-
---------- | ---------
87+
---------- | ----------
8388
GxEPD | https://github.com/ZinggJM/GxEPD
8489
ArduinoJson | https://github.com/bblanchon/ArduinoJson or Arduino Library manager (use 5.x not 6.x)
8590
Adafruit DHT Sensor Library | https://github.com/adafruit/DHT-sensor-library or Arduino Library manager
@@ -108,6 +113,7 @@ Hardware:
108113
* Add buttons for soft reset, light, display refresh and "factory" reset
109114

110115
**Credits**
116+
111117
The design of the configuration page was blatantly stolen from Wifi manager.
112118

113119
Weather icons:

0 commit comments

Comments
 (0)