ridride1
Published © GPL3+

M5 Motostick

A handlebar-mounted controller and game built entirely with an M5Stick.

BeginnerFull instructions providedOver 1 day793
M5 Motostick

Things used in this project

Hardware components

M5StickC ESP32-PICO Mini IoT Development Board
M5Stack M5StickC ESP32-PICO Mini IoT Development Board
×1
Industrial Pushbutton Switch, Off-On
Industrial Pushbutton Switch, Off-On
×2
Rotary potentiometer (generic)
Rotary potentiometer (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE
Unity
Unity

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Soldering iron (generic)
Soldering iron (generic)
Laser cutter (generic)
Laser cutter (generic)

Story

Read more

Custom parts and enclosures

3Dmodel

Schematics

Circuit diagram

Code

VPP_M5SteerBinder_Lite.cs

Binder that feeds values from the M5 into VPP’s input (VPStandardInput).

M5SpeedSender.cs

Input driver that talks to the M5Stick over serial (USB/BLE) and reads steering angle, throttle, brake, and button states.

M5StickSerialSteering.cs

Script that binds ignition/starter actions to button inputs from the M5.

VPP_M5IgnitionBinder.cs

Reverse bridge: reads vehicle speed/RPM from VPP and sends them to the M5 over serial (e.g., to display a speedometer on the M5).

M5StickFirmware.ino

Firmware program to flash onto the M5Stick (microcontroller-side code).

Credits

ridride1
1 project • 3 followers
Begginer

Comments