NurdPower: Difference between revisions

From RevSpace
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...")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
  |Name=NurdPower
  |Name=NurdPower
  |Picture=NurdPower.jpg
  |Picture=NurdPower.jpg
  |Omschrijving=Power usage display
  |Omschrijving=Power consumption display
  |Status=In progress
  |Status=Stalled
  |Contact=bertrik
  |Contact=bertrik
}}
}}


== Intro ==
== Intro ==
Shows power usage (from MQTT) on a 7-segment display
Shows power consumption (from MQTT) on a 7-segment display.
 
TODO:
* put it in a case
* mount it somewhere


== Hardware ==
== 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 ==
== 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

Latest revision as of 13:19, 11 May 2020

Project NurdPower
NurdPower.jpg
Power consumption display
Status Stalled
Contact bertrik
Last Update 2020-05-11

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