Joytostick_TRINKET_M0_v2.ino

This code is for Adafruit Trinket M0
It's a mix of DIY MPU-6050 Joystick https://www.instructables.com/DIY-MPU-6050-USB-Joystick/ Pin_Joystick, code written by Pin Chung
and joystick_simple, code written by gdsports https://github.com/gdsports/xac_joystick_tinyusb/blob/main/examples/joystick_simple/joystick_simple.ino

Set Up arduino IDE, see ADFRUIT's Trinket Information and follow instructions https://learn.adafruit.com/adafruit-trinket-m0-circuitpython-arduino/arduino-ide-setup

Download and install theses libraries to the arduino IDE:

MPU6050_tockn by tockn https://github.com/Tockn/MPU6050_tockn
XAC Joystick Library for Adafruit TinyUSB by gdsports https://github.com/gdsports/xac_joystick_tinyusb
Be sure to set the USB Stack to TinyUSB.
Upload the sketch on the Trinket

ino - 2.99 kB - 11/07/2022 at 12:39

Download

JPEG Image - 81.58 kB - 10/21/2022 at 13:39

Preview
Download

Joytomouse_TRINKET_M0_v2.ino

This code is for Adafruit Trinket M0
Remix from the code written by davy : Mouse for people With Brain or Nervous Injuries https://www.instructables.com/Mouse-for-People-With-Brain-or-Nervous-Diability/

Download the MPU6050_light library in the library manager of the arduino software. Upload the program to the Trinket.

ino - 1.92 kB - 10/20/2022 at 14:11

Download

JPEG Image - 70.76 kB - 10/21/2022 at 13:39

Preview
Download

base A_6.4 mm hole.stl

Enclosure base for wheelchair with a 6.4 mm diameter joystick bar

Standard Tesselated Geometry - 163.17 kB - 10/18/2022 at 10:08

Download

base B_5 mm hole.stl

Enclosure base for wheelchair with a 5 mm diameter joystick bar

Standard Tesselated Geometry - 165.32 kB - 11/03/2022 at 08:58

Download

top_joystick.stl

Enclosure top with standard joystick handle

Standard Tesselated Geometry - 293.54 kB - 10/18/2022 at 09:59

Download

top_ball.stl

Enclosure top with golf ball handle

Standard Tesselated Geometry - 524.01 kB - 10/18/2022 at 09:59

Download

top_flat.stl

Enclosure top flat with no handle
Add one handle fit user need

Standard Tesselated Geometry - 108.97 kB - 10/18/2022 at 09:59

Download

BOM.ods

Bill of material necessary for Joytojoy

spreadsheet - 4.24 kB - 10/21/2022 at 13:36

Download

Adobe Portable Document Format - 13.43 kB - 10/21/2022 at 13:46

Preview
Download

Joytojoy_PCB.zip

This folder contains the necessary files to create a PCB

x-zip-compressed - 51.55 kB - 10/18/2022 at 09:50

Download

adafruit-trinket-m0-circuitpython-arduino.pdf

Manual for the Microcontroller Trinket m0

Adobe Portable Document Format - 14.44 MB - 10/20/2022 at 14:21

Preview
Download

SEN-MPU6050_Manual_2021-11-04.pdf

Manual for the IMU SEN-MPU6050

Adobe Portable Document Format - 1.04 MB - 10/20/2022 at 14:21

Preview
Download

B3F-1000-Omron.pdf

Data sheet for switches Round Tactile Button

Adobe Portable Document Format - 484.45 kB - 10/20/2022 at 14:21

Preview
Download

Joytojoy_prototype_v1.zip

This folder contains the necessary files to create a Joytojoy v1 without a PCB :
- 3D models
- software (joytostick and joytomouse)
- eletronic schematic

x-zip-compressed - 269.67 kB - 11/03/2022 at 09:00

Download