Blue Pill polyphonic tone generator connection guide
Blue Pill polyphonic tone generator (STM32F103C8T6 Blue Pill) connection guide. Power the board from USB. Measure a single timer voice.
STM32F103C8T6 Blue Pill
55 contacts Current packagePower the board from USB
RequiredMicro-USB VBUS and H2-3 share the 5 V rail directly, with no isolation between them. The onboard RT9193-33 regulator supplies the 3.3 V rail. Leave external power headers disconnected. Check the 3.3 V rail before attaching the debug probe.
- USB power input
- USB host VBUS
- USB return
- USB host ground
- Board logic rail
- 3.3 V measurement point
Bench checks
- Identify the USB power input and ground in the documentation for your PCB revision.
- Measure roughly 3.3 V between the board logic rail and ground. Check for a short or wrong connector if the rail is low.
STM32F103C8T6 Blue Pill connector map
Connection scenarios
STM32F103C8T6 Blue Pill wiring map
Connector contacts
P1-4 · BOOT1
P1-4 connects to PB2/BOOT1 through R4 (100 kΩ). Fit a shunt to P1-2 for high or P1-6 for low. With the shunt removed, PB2 has no board-level bias and is sampled as BOOT1 at reset.
Models and documents
The bench circuit measures one configured voice on PA8 (TIM1_CH1). The original project allows you to choose a channel on each timer. For acoustic output use a high-impedance amplifier input or an appropriate driver.
- STM32F103C8T6 Blue Pill
- This map follows the vcc-gnd.com Blue Pill schematic dated 2016-01-26. Check the wiring and fitted parts on other Blue Pill boards.
- Original Spark Logic project discussion· Author’s hardware, firmware and bench notes.
- STM32-TimerTone source· Original four-voice timer library and TonePlayer example.
- STM32-base · STM32F103C8T6 Blue Pill· Board identification, connector numbering and documented net destinations.
- STMicroelectronics MCU datasheet· MCU electrical specifications and package pin functions.
- STM32F103C8T6 Blue Pill schematic· PCB power, debug, connector and peripheral wiring.
- STMicroelectronics RM0008 reference manual· Boot settings (section 3.4), timer modes, DMA and USB registers.
