Skip to content

aivisbush/AdvMotoButtons

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bush's Moto Buttons v1.0

Thanks to the original author for free sourcing this amazing piece of art, especially the dev board wiring and the code part! So, I needed some modifications to it to move forward to perfection. To continue supporting enduro, offroad, adventure enthusiasts who can also tinker with electronics, and build a relatively inexpensive alternative to moto buttons, I also want to share my work.

My changes:

  • LED brightness control by holding the A key
  • Added possibility to add any color or brightness (within code)
  • Separate key A and Joystick Center key codes (in original code they were the same)
  • DMD2 mode color changed to blue (looks cooler)
  • Button special function changes (will be described later)
  • Added reset option by holding A,B,C keys. This is a workaround for the issue when Bluetooth auto-pairing did not work anymore, e.g., when the moto buttons are powered on, auto-connection to the phone/tablet does not work

Design:

Bike Front
Inside Top

Parts:

  • Some old USB-A cable for power and other wires
  • Seeed Studio XIAO nRF52840 series (I used Seeed Studio XIAO nRF52840 Sense)
  • 3x waterproof buttons (I used V12B-10N-A)
  • 5-way joystick (I used JS5208)
  • RGB LED common anode ONLY (I used OSTAMA5B31A) Do not use common cathode, I already burned 2x Seeed boards to realize that
  • 3D printed case with some screws (the case is waterproof enough to hold rain and some submersion. I've already been using it for 1 year, no issues. But use some super glue on the TPU gasket and glue gun around holes from inside). All TPU and PETG (or alternative filament) STLs are in 3D folder.

Parts

User Manual

The device has:

  • 3x buttons and 1x joystick as inputs
  • 1x LED indicator (for understanding what is going on)

Standard button functionality for DMD2 (I do not use other modes, please read the original source):

  • Button A short press - Zoom in (DMD2)
  • Button B short press - Zoom out (DMD2)
  • Button C short press - Center (DMD2)
  • Joystick Up, Down, Left, Right - Move map (DMD2)
  • Joystick Middle press - Unbound; you can bind it to whatever you want in DMD2

Special functions:

  • Button A long press - LED brightness changes; hold it until you are satisfied and release
  • Button B long press - Mode change: DMD2, MyRouteApp, Media, Mouse
  • Button A, B and C long press - Erase FS. This is a workaround to get BT auto-connect working again
  • Button A and B long press - Enter DFU mode (for programming)

Wiring

If something is unclear, please read the original author's manuals. Wiring Diagram

Code

Please read the original author's manuals on how to do that.

About

A waterproof, wireless motorcycle controller for navigation apps with 3D printed case

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%