deckle studio
Open the editor
Microcontroller with real firmwareMuseLab nanoCH32V003nanoch32v003

nanoCH32V003 (CH32V003 board)

nanoCH32V003 board (MuseLab): WCH CH32V003 (RISC-V QingKe V2A, RV32EC, 48 MHz, 16 KB flash, 2 KB SRAM) with real firmware from an Arduino sketch (WCH Arduino core) or ELF: digitalWrite/Read, analogRead (10 bit: PA2 A0, PA1 A1, PC4 A2, PD2 A3, PD3 A4, PD5, PD6, PD4 A7), Serial (USART1: PD5 TX, PD6 RX), millis/delay (SysTick), attachInterrupt (EXTI, the WCH core's attachInterrupt(pin, GPIO_Mode_IPU, fn, EXTI_Mode_Interrupt, EXTI_Trigger_Falling)), analogWrite (TIM1 / TIM2 PWM, 12-bit by default: analogWriteResolution(8) for 0–255), Wire (I²C1: PC1 SDA, PC2 SCL), SPI (PC5 SCK, PC6 MOSI, PC7 MISO); AFIO remaps of USART1, I2C1, TIM1, TIM2 follow the reference manual. On the board: 24 MHz crystal on PA1/PA2 (no GPIOs there unless removed), blue LED on PD6 (also USART1 RX), reset button, ME6211 3.3 V regulator from USB-C. Supply via USB (internal 3.3 V) or externally on 3V3. Header order from the board's schematic: compare with the silkscreen of your board.

GNDPC4/A2PC3PC2/SCLPC1/SDAPC0PD03V3PA2/A0PA1/A1PD1/SWIO5VPC5/SCKPC6/MOSIPC7/MISOPD2/A3PD3/A4PD4/A7PD5/TXPD6/RX/LEDPD7/NRSTMuseLab nanoCH32V003
Schematic symbol

Key data

Category
Arduino
Simulation model
Microcontroller with real firmware
Manufacturer part number
MuseLab nanoCH32V003
Reference prefix
A
Pins
21
Land pattern
nanoCH32V003_2x11_P2.54mm_W15.24mm

Simulation model

An emulated CPU core runs the firmware binary instruction by instruction. The GPIO pins are pins of the analog circuit: outputs drive through a driver resistance, inputs read the voltage with thresholds.

Device
ch32v003
Supply pins
3V3 / GND
Mapped GPIO pins
18

Pins 21

PinNameUse
GNDGNDGround pinGround
PC4PC4/A2I/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PC3PC3I/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PC2PC2/SCLI/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PC1PC1/SDAI/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PC0PC0I/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PD0PD0I/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
3V33V3Supply pinSupply input: decouple with 100 nF close to the pin
PA2PA2/A0I/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PA1PA1/A1I/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PD1PD1/SWIOI/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
5V5VSupply pinSupply input: decouple with 100 nF close to the pin
PC5PC5/SCKI/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PC6PC6/MOSII/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PC7PC7/MISOI/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PD2PD2/A3I/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PD3PD3/A4I/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PD4PD4/A7I/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PD5PD5/TXI/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PD6PD6/RX/LEDI/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
PD7PD7/NRSTI/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)

Parameters 1

Supplysupply
Defaultusb
usbextern

usb: the board's regulator holds 3V3 (as on a USB cable); extern: connect 3.3 V to 3V3 yourself

PCB

Connector / off-boardnanoCH32V003_2x11_P2.54mm_W15.24mm

nanoCH32V003 on two 11-pin headers (J1 GND, PC4 … PD1; J2 GND, 5V, PC5 … PD7); row spacing estimated – measure your board