Difference between revisions of "SpaceState ESP"
From
Line 19: | Line 19: | ||
* source code for nodeMCU : https://github.com/zeno4ever/spacestatus_ESP | * source code for nodeMCU : https://github.com/zeno4ever/spacestatus_ESP | ||
* Library for json processing https://bblanchon.github.io/ArduinoJson/ | * Library for json processing https://bblanchon.github.io/ArduinoJson/ | ||
+ | |||
+ | =Steps= | ||
+ | I used male breadboard connectors to connect everything to the nodeMCU, you can solder the RGB led directly on the wire (with one resistor on the anode (+)) | ||
+ | |||
+ | The clock I have has a 6v that is connected to the Vin and GND of the nodeMCU | ||
+ | |||
+ | There are a few different types of nodemcu, check out this article for [https://frightanic.com/iot/comparison-of-esp8266-nodemcu-development-boards/ more information about these] |
Revision as of 23:18, 8 April 2017
I wanted to see if the TkkrLab hackerspace is open on my clock. For this I used an nodeMCU with a RGB led to request the spaceapi every 10 mins and display open (green) or losed (red) status.
Contents
Resources
Parts List
- Clock
- nodeMCU v2
- 10 mm RGB LED
- 1x 1K resistor
Software
- source code for nodeMCU : https://github.com/zeno4ever/spacestatus_ESP
- Library for json processing https://bblanchon.github.io/ArduinoJson/
Steps
I used male breadboard connectors to connect everything to the nodeMCU, you can solder the RGB led directly on the wire (with one resistor on the anode (+))
The clock I have has a 6v that is connected to the Vin and GND of the nodeMCU
There are a few different types of nodemcu, check out this article for more information about these