A simple solar power monitoring application for the Arduino UNO Q, which uses an INA219 sensor to read data from a small 80x45mm solar panel and prints them on an e-paper display.
For Arduino UNO Q (Zephyr) applications, you need to patch #undef guards on Adafruit_EPD.h because it
defines macros as #define MISO 0 (and similar), which clashes with any library that uses those names as function parameters.
at line 31 on the Adafruit_EPD.h:
#ifdef MISO
#undef MISO
#endif
#ifdef MOSI
#undef MOSI
#endif
#ifdef SCK
#undef SCK
#endif
#ifdef SS
#undef SS
#endifSolar Panel + >> INA 219 VIN +
Solar Panel - >> BREADBOARD -
INA 219 VIN - >> BREADBOARD +
INA 219 GND >> BREADBOARD -
INA 219 SDA >> UNO Q SDA
INA 219 SCL >> UNO Q SCL
UNO Q 5V >> INA 219 VCC
UNO Q GND >> BREADBOARD -
SSD1681 VCC >> UNO Q 3V3
SSD1681 GND >> BREADBOARD -
SSD1681 DIN >> D11
SSD1681 CLK >> D13
SSD1681 CS >> D10
SSD1681 DC >> D9
SSD1681 RST >> D8
SSD1681 BUSY >> D7
Distributed under the MIT License. See LICENSE for more information.