NurdPower: Difference between revisions
Jump to navigation
Jump to search
m (→Hardware) |
m (→Hardware) |
||
Line 18: | Line 18: | ||
Connections: | Connections: | ||
* display | * display VCC to Wemos 5V (3.3V also works with red LEDs) | ||
* display GND to Wemos GND | * display GND to Wemos GND | ||
* display DIO to Wemos D4 | * display DIO to Wemos D4 |
Revision as of 11:04, 3 July 2019
Project NurdPower | |
---|---|
Power consumption display | |
Status | In progress |
Contact | bertrik |
Last Update | 2019-07-03 |
Intro
Shows power consumption (from MQTT) on a 7-segment display.
TODO:
- put it in a case
- mount it somewhere
Hardware
Wemos D1 mini connected to a TM1637 4x7-segment display.
Connections:
- display VCC to Wemos 5V (3.3V also works with red LEDs)
- display GND to Wemos GND
- display DIO to Wemos D4
- display CLK to Wemos D3
Software
Source code is on github.
Basically it subscribes to the MQTT stream, receives power updates and displays them on the 7-segment display.
Uses the following libraries:
- TM1637 driver to set the digits.
- WifiManager
- PubSubClient