~/talk

OpenWRT for Energy Monitoring

Talkat linux.conf.au 2020 · 2020-01-13..01-17· [iot, linux-and-operating-systems]
slides:none on file

A DIN‑rail energy monitor is built around Microchip energy‑ASIC over SPI with voltage and current channels (two‑channel sampling shown), migrating from ESP8266/ESP32 firmware to OpenWRT Linux host (Onion Omega, Mediatek) so Python/C Python can run, MQTT TLS uploads happen, and local OLED shows readings. SPI details matter: half‑duplex mode, hold chip‑select between send/read, and the host’s SPI flash forbids attaching the meter at boot; observed SPI clock ~250 kHz, measured ~241 V and ~17 W with power factor ~0.6 during demos — the system works.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Introduction to Energy Monitoring
  3. 2:50Energy Monitoring Components
  4. 5:50Current Build
  5. 7:45Family
  6. 8:10SPI Bus
  7. 9:20SPI Modes
  8. 10:10History of the SPI
  9. 10:55OpenWRT
  10. 11:55Arduino
  11. 13:00MicroPython
  12. 13:35OpenWRT Board
  13. 14:20MQTT
  14. 14:50Plan
  15. 15:25Software
  16. 16:00Micro Python
  17. 16:55Design Inspiration
  18. 17:25Sense Energy Monitor
  19. 18:00Target Enclosure
  20. 18:20Measurement Module
  21. 19:30Onion Demo
  22. 22:10Voltage Demo
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.