Difference between revisions of "NurdPower"
Jump to navigation
Jump to search
(Created page with "{{Project |Name=NurdPower |Picture=NurdPower.jpg |Omschrijving=Power usage display |Status=In progress |Contact=bertrik }} == Intro == Shows power usage (from MQTT) on a...") |
|||
Line 8: | Line 8: | ||
== Intro == | == Intro == | ||
− | Shows power usage (from MQTT) on a 7-segment display | + | Shows power usage (from MQTT) on a 7-segment display. |
== Hardware == | == Hardware == | ||
+ | Wemos D1 mini connected to a TM1637 4x 7-segment display. | ||
+ | |||
+ | Connections: | ||
+ | * display 5V to Wemos 5V | ||
+ | * display GND to Wemos GND | ||
+ | * display DIO to Wemos D4 | ||
+ | * display CLK to Wemos D3 | ||
== Software == | == Software == | ||
Source code is [https://github.com/bertrik/nurdpower on github]. | Source code is [https://github.com/bertrik/nurdpower on github]. | ||
− | Uses the TM1637 driver to set the digits. | + | 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 |
Revision as of 23:50, 29 June 2019
Project NurdPower | |
---|---|
Power usage display | |
Status | In progress |
Contact | bertrik |
Last Update | 2019-06-29 |
Intro
Shows power usage (from MQTT) on a 7-segment display.
Hardware
Wemos D1 mini connected to a TM1637 4x 7-segment display.
Connections:
- display 5V to Wemos 5V
- 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