Skip to content

About

Soldering Kit of electronic DICE with motion sensor and CH32V003 microcontroller

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

SLD-KIT-DICE

Electronic dice soldering kit: shake it, and it spins with sound and lands on a random number.

SLD-KIT-DICE1 SLD-KIT-DICE2 SLD-KIT-DICE

  • CH32V003J4M6 RISC-V microcontroller, 7 LEDs, shock sensor, speaker
  • One CR2032 coin cell, ~6 µA in standby
  • Through-hole parts only, except the SOP-8 microcontroller

Български: README_BG.md

Licensee

Repository

Folder Content
DOCUMENTS Soldering guide and 2-page quick guide in English and Bulgarian (PDF, and ODT to edit)
HARDWARE/SLD-KIT-DICE_Rev_A KiCad project, schematic (PDF), BOM, Gerber files, 3D models
SOFTWARE/SLD-KIT-DICE_FW Firmware source (ch32fun + PlatformIO)
SOFTWARE/SLD-KIT-DICE_FW/firmware Ready-to-flash images

Programming

Connect a WCH-LinkE to the PGM/DBG header: pin 1 = SWIO, pin 2 = GND. The header has no VCC, so the battery must be in. The chip accepts the programmer only in the first 3 s after the battery is put in: start the command, then put the battery in.

cd SOFTWARE/SLD-KIT-DICE_FW
until minichlink -w firmware/dice.bin 0x08000000 -b; do sleep 0.2; done

With PlatformIO (builds and flashes):

cd SOFTWARE/SLD-KIT-DICE_FW
until pio run -t upload; do sleep 0.2; done

How the firmware works, how to build it and how to debug it: SOFTWARE/SLD-KIT-DICE_FW/README.md.

About

Soldering Kit of electronic DICE with motion sensor and CH32V003 microcontroller

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages