NurdPower: verschil tussen versies

Uit RevSpace

Geen bewerkingssamenvatting
Regel 2: Regel 2:
  |Name=NurdPower
  |Name=NurdPower
  |Picture=NurdPower.jpg
  |Picture=NurdPower.jpg
  |Omschrijving=Power usage display
  |Omschrijving=Power consumption display
  |Status=In progress
  |Status=In progress
  |Contact=bertrik
  |Contact=bertrik

Versie van 29 jun 2019 23:22

Project NurdPower
Power consumption display
Status In progress
Contact bertrik
Last Update 2019-06-29

Intro

Shows power consumption (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