A compact library for implementing QC2.0-QC4.0 voltage negotiation on STM32 microcontrollers with OLED display and rotary encoder interface.
- QC2.0-QC4.0 voltage profiles
- Rotary encoder navigation
- SSD1306 OLED display support
- Low-level DAC optimization
- Memory-efficient design
- Arduino IDE:
Sketch > Include Library > Manage Libraries... > Search for "stm32_qc"
- Manual:
Clone this repository to your Arduino libraries folder
- STM32 Blue Pill or similar
- SSD1306 I2C OLED (128x64)
- Rotary encoder with push button
- QC-enabled device connector
STM32 Pin | Component |
---|---|
PA0 | Encoder CLK |
PA1 | Encoder DT |
PA2 | Encoder SW |
PA4 | QC D+ |
PA5 | QC D- |
PB6/PB8 | SCL |
PB7/PB9 | SDA |
MIT License - See LICENSE for details