Skip to content

Releases: nicho810/XIAO-PowerBread

v2.0.0 (Beta-RP2040)

21 Dec 06:39
Compare
Choose a tag to compare
v2.0.0 (Beta-RP2040) Pre-release
Pre-release

v2.0.0

Improvements:

  • Switch to PlatformIO from Arduino IDE, for improving the development experience.
  • Switch to LovyanGFX from Adafruit_GFX, for improving the tft flush performance.
  • Add LVGL v8.4, for making more complex UI in a efficient way.
  • The LineChart is now powered by LVGL. Much better than the old one.

Known Issues:

  • UI Rotation is not implemented yet. We plan to remove the UI rotation feature due to increasing UI complexity. It is preferable to use rotation operations within specific UIs like the Menu.
  • System configuration is not implemented yet.

Dial wheel change:

  • up and down: change the UI function.
  • press: switch the channel(only trigger when in LineChart and data statistic mode).

Note: this beta version is now only support XIAO RP2040. Other XIAO boards please use v1.1.4.

Note: Ensure you download the firmware version that matches the shunt resistor value for your specific XIAO board. Usually it is 50mOhm.

v1.1.4 (Beta)

21 Nov 08:21
9eb4824
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.3...v1.1.4

v1.1.3 (Stable)

08 Oct 05:39
Compare
Choose a tag to compare

Improvements:

  • Add fixed-scale and auto-scale support for line-chart. (Default is fixed-scale, max-scale is 500mA, This can be changed in sysConfig)

Fixed-mode will be useful if the current is changing a lot (e.g. servo, motor).

Auto-mode will be useful if the current is stable (e.g. LED).

Important Note: Due to updates in the cfg structure, the EEPROM will be initialized to default values if the cfg_version does not match or is lower than 0x02. Please be aware that this may reset your custom settings.

Shunt Resistor Configuration

  • Uses 8-bit storage (0-255 mΩ range) since shunt resistors are typically below 100mΩ
  • Default: 50mΩ
    • With INA3221: 0.8mA resolution, 3.6A max current
  • Alternative: 20mΩ
    • With INA3221: 2mA resolution, 9A max current

Note: Values are only written to EEPROM on first boot and persist across firmware updates.
Can be modified anytime in config mode - see documentation:
System Config Explanation

v1.1.2 (Stable)

07 Oct 07:34
1d50140
Compare
Choose a tag to compare

Improvements:

  1. Debugging LED Blink: Added LED blink functionality to facilitate debugging processes.
  2. Code Refactoring: Restructured the source code for enhanced readability and comprehension.
  3. Customized Adafruit_ST7735 Library: Incorporated a modified version of the Adafruit_ST7735 library tailored to the specific LCD module used in this project.
  • Default shunt resistor value is 20mR, if you are using different value resistor, please modify the value on sysConfig.

v1.1.1 (Stable)

02 Oct 10:15
edc4e48
Compare
Choose a tag to compare

Notes

  1. A chart mode and current statistics display have been added to enhance visualization for each channel. You can access this mode by pressing the dial wheel.
  2. The UI rotation can be adjusted in any mode by turning the dial wheel up or down.
  3. To modify default settings, enter the settings mode by turning the dial down, holding it, and resetting/re-powering the device until the settings mode activates. Use the dial wheel to scroll through options (up/down) and press the dial briefly to select or exit. Long press the dial to save changes.
  4. The default shunt resistor value is 20mΩ. If you're using a different shunt resistor, you can change the value in the settings mode (e.g., 20 = 20mΩ).

For more detailed instructions, please refer to the README.

v1.1.0 (Beta)

26 Sep 09:08
Compare
Choose a tag to compare
v1.1.0 (Beta) Pre-release
Pre-release

Note

To improve visualization for each channel, a chart mode has been added. You can enter this mode by pressing the dial wheel, and switch back to the normal data mode by pressing the dial wheel again. When in chart mode, you can switch channels by turning the dial wheel up or down.

** This new release is not stable, and you might encounter some bugs. You can reset the XIAO if needed or switch back to the stable release. **

1.0.0 (Stable)

18 Sep 05:55
Compare
Choose a tag to compare

Feature

  1. Real-time current sensor data displayed on the LCD.
  2. Dial wheel to adjust the UI for different viewing angles.