Skip to content

Commit 386c691

Browse files
committed
📝 Updated readme
1 parent db63f52 commit 386c691

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# ESP8266 NodeMCU Sensors API
22

3-
Basic example how to output sensor readings as a JSON API using an ESP8266 NodeMCU module and some sensors. Everything on the picture below was bought from ebay for no more than $10.
3+
Basic example how to output sensor readings as a JSON API using an ESP8266 NodeMCU module and some sensors.
44

5-
![Breadboard setup](https://wouterdeschuyter.be/static/media/7d4b6e21-5a94-4166-9fff-55c653fbb57e.jpeg)
5+
## Hardware
66

7-
## Sensors
7+
Everything on the picture below was bought on ebay for about $10 in total.
8+
9+
![Hardware Setup](https://wouterdeschuyter.be/static/media/7d4b6e21-5a94-4166-9fff-55c653fbb57e.jpeg)
10+
11+
### Sensors
812

913
- BME280 (temperature, pressure, humidity)
1014
- TMP102 (temperature; but more accurate than the BME280)
@@ -17,12 +21,12 @@ When browsing to the IP of the module you will see a similar output as below.
1721
```json
1822
{
1923
"illuminance": {
20-
"visible": 10.0,
21-
"full": 11.0,
22-
"ir": 2.0
24+
"visible": 905.0,
25+
"full": 1255.0,
26+
"ir": 347.0
2327
},
24-
"temperature": 20.78,
25-
"humidity": 35.17,
26-
"pressure": 1023.67
28+
"temperature": 24.51,
29+
"humidity": 37.49,
30+
"pressure": 1027.82
2731
}
2832
```

0 commit comments

Comments
 (0)