migrate to c3

This commit is contained in:
osiu97
2026-07-06 19:37:54 +02:00
parent ea4530a5e4
commit 816197bbdd
6 changed files with 38 additions and 37 deletions
+5 -5
View File
@@ -22,12 +22,12 @@ only BLE between the ESP32 firmware and a local web SPA.
| Component | Detail |
|---|---|
| **MCU** | Waveshare ESP32-S3-Zero |
| **MCU** | Tenstar Robot ESP32-C3 Super Mini |
| **Framework** | PlatformIO + Arduino core |
| **Motors** | 2× 28BYJ-48 (unipolar stepper via ULN2003 driver) |
| **Motor mode** | `AccelStepper::FULL4WIRE` — 2048 steps/rev |
| **Motor 1 pins** | IN1=4, IN2=5, IN3=6, IN4=7 |
| **Motor 2 pins** | IN1=8, IN2=9, IN3=10, IN4=11 |
| **Motor 1 pins** | IN1=0, IN2=1, IN3=3, IN4=4 |
| **Motor 2 pins** | IN1=5, IN2=6, IN3=7, IN4=10 |
| **USB Serial** | Native USB CDC (`-D ARDUINO_USB_MODE=1 -D ARDUINO_USB_CDC_ON_BOOT=1`) |
| **Default speed** | 600 steps/s, accel 100 steps/s² |
@@ -105,9 +105,9 @@ Name: WijiBoard
## 4. Project Structure
```
esp32s3-wiji/
esp32c3-wiji/
├── index.html # SPA shell — ES module bootstrap, sidebar, routing
├── platformio.ini # PlatformIO config (env: esp32-s3-devkitc-1)
├── platformio.ini # PlatformIO config (env: esp32-c3-devkitm-1)
├── fivebarIKGame.js # REFERENCE ONLY — original site's kinematics (do not import)
├── src/
│ └── main.cpp # ESP32 firmware (BLE + AccelStepper)