An Open assistive device design to add mouse or video game stick capabilities to your power wheelchair controller

Similar projects worth following
Joytojoy is a project to design an affordable and versatile HID (human interface device) that allows power wheelchairs users to bring new functionalities to their wheelchair's controller :
Stick to play on a video game console or a mouse to control a smartphone, PC...

Its principle of operation is quite simple. It's a box connected to the device to be controlled which is fitted in place of the standard wheelchair's joystick knob. Joystick movements are detected by a motion sensor (an inertial measurement unit) and translated into a signal for each system to be controlled.

Using a mouse or a game controller is a very common gesture that is part of our daily activities.

Everyone should be able to do that, it's an injustice that power wheelchair users can't easily do this.

To solve this problem, we design an open and affordable solution to allow access to as many people as possible.


To use the power wheelchair controller as a joystick (right or left stick) with a video game console via a dedicated interface (work with XBox Adaptive Controller from Microsoft).


To use the power wheelchair controller as a mouse for PC, smartphone...

Find out more about the project, from the birth of the idea to where we are today :

We propose an out-of-the-box and affordable solution that you can reproduce and customize with a 3d printer freely to tailor fit to you needs.

For yet JoyTojoy is avaible on a diy mode

 Soon we would like to offer our solution for sale.


This code is for Adafruit Trinket M0 It's a mix of DIY MPU-6050 Joystick Pin_Joystick, code written by Pin Chung and joystick_simple, code written by gdsports Set Up arduino IDE, see ADFRUIT's Trinket Information and follow instructions Download and install theses libraries to the arduino IDE: MPU6050_tockn by tockn XAC Joystick Library for Adafruit TinyUSB by gdsports 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


Joystostick functional block diagram.jpg

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



This code is for Adafruit Trinket M0 Remix from the code written by davy : Mouse for people With Brain or Nervous Injuries 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


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


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


View all 16 files

  • 1 × ADAFRUIT Trinket M0 Adafruit 3500
  • 1 × Sensor MPU6050 Joy-it SEN-MPU6050
  • 1 × Colorful Round Tactile Button Switch Assortment Adafruit 1009
  • 1 × USB cable USB 2.0 A Male to USB 2.0 Micro B Male
  • 1 × Printed circuit board

  • New batch of PCB's sponsored by PCBWAY

    Julien OUDIN12/15/2022 at 14:55 0 comments

    After a contact via message box, PCBWay offered me a sponsor by offering a coupon for the realization of a batch of 10 PCB to try their service, and to write a few lines in return.

    I've accepted their proposal, and I took the opportunity to design a new pcb with the name of the components print onboard ,

    and design a new one to embed other microcontroller with Xiao form-factor
    I must say that I am very satisfied with their service.

    Ordering is very easy to place from their website.

    They have a responsive customer service. I've made a mistake in the files version sent when ordering and after a quick contact by chat with their teammates, the file was quickly changed by their team before it went into production.

    The delivery time is very reasonable. I chose the Global Economy option delivery method and the pcbs were delivered to me 10 days after the order.

    The packaging was good and PCBs were well protected.

    I am not a PCB expert, but the quality is there and suits me perfectly.

    If you feel like it, you can place an order directly with PCB way, the joytojoy project documentation and manufacturing files are hosted on their platform for an easy ordering.

    I will soon give news of the Xiao form factor version, but as a PCB amateur, I 've made a mistake in the routing and I have to modify the design...

  • Business model

    Julien OUDIN10/19/2022 at 12:58 0 comments

    This project may not save the world, but it’s a small illustration of the best humanity can achieve. In a world with limited resources, share is essential for meet our needs. Without open innovation and sharing, this project would not have seen the light of day.

    I am a trained Occupationnal therapist, not a programmer or a mechanical engineer, and I have been able, with the help of users, my practice and my experience, to identify a problem, a real need and try to solve this. Works generously  put available by others helped me a lot to prototype and outline a solution to this problem.

    We must now mobilize to improve this aid, test it on a larger scale and explore ways to spread it in collaboration with others.

    This is not a precise study, but we have different ideas to spread this solution, relying on existing communities, the disability ecosystem and imagining other solution.

    - DIY distribution:

    We want to offer an open solution, so that everyone can make it, alone or with the help of others, modify it and use it as they wish.

    For sure we can rely on the strength and generosity of the Maker movement, FABLABS and hackerspace all around the world. I’m thinking of very active groups and associations like as example Makers Making change, AT makers and users, Able gamers, My Human kit and many others existing.

    - We are also considering a commercial approach to allow access to as many people as possible  Fabrication kit sale : Including hardware necessary for fabrication (electronics, enclosure + electronics) and final product sale.

    We can approach our project from the angle of a Concept Maturity Level evaluation to study its different dimensions : Need, Programmatic and Technical.

    NEED :

    There are different target users:

    • Power wheelchair users:

    We live in a hyper-technological world, and many people don’t have the appropriate control interfaces. Imagine yourself in front of your PC without a mouse or in front of your console without a controller. How frustrating!

    Yet many people around the world encounter this situation. It is estimated that 65 million people worldwide need a wheelchair and studies show that approximately 30% of which used powered wheelchairs

    It’s a huge number, many users wait for a solution to access a mouse or play video games, whatever the origin of their disability.

    Trough our experience and our modest user test, We can note a great need of customization for users to tailor solution to their needs.

    Power wheelchair users are unfortunately accustomed to paying high prices on specialized equipment, our solution must be affordable. It would change a bit.

    • Communities  

    The maker movement has really developed in recent years, and to respond to disability issues, open innovation is increasingly used. Specialized communities working with disabled people, makers and health professionals have emerged and are very active. For example quote Makers Making change, AT makers and users, Able gamers, My Human kit and many others existing.

    These advanced users know the technologies, want to make useful projects and objects and have the ability to make things evolve.

    As part of the dissemination of this project, they will be part of the co-developers and early adopters who will help us develop the solution.

    They can help people make it in DIY mode, or by help assembly buying kits, and improve-it.

    It is also important to rely on associations and communities of users, people with disabilities and those of health professionals and support and other associations here in France and internationally

    • Market :

    Assistive devices market is particular because it is smaller than mass market compsution.

    Often prices are very high (due to high research and development costs, regulatory aspects) and small series production.

    Offering an affordable solution using different marketing methods can be a differentiating competitive...

    Read more »

  • New prototype : Joytojoy v2

    Julien OUDIN10/18/2022 at 09:47 0 comments

    To test our solution with a wider panel of users and makers, we  have to quickly facilitate its fabrication.

    The longest and most error-prone process was electronic assembly, wire and components soldering. 

    We design a PCB to reduce assembly time and simplify electronic assembly

    We  adapt the enclosure design, which has grown by a few millimeters, but still remains light and compact.

    We order a first batch of ten PCBs, and the result is nice

    Assembly process is easier and faster  (for more details, see instructions)

    Users don’t feel any difference in use.

    And  we can customize it at will

    We will soon be able to start tests on a larger scale

    Material cost

    Our solution have a material cost of  32 $ for one unit.

    It's a very affordable stuff for a particular.

    Economies of scale can be easily achieved for small series production, especially at the pcb level and round tactile switches.

    1ADAFRUIT Trinket M0 10,6GO TRONIC
    1Sensor MPU6050 3,9GO TRONIC
    1Round Tactile Button Switch Assortment 7,8GOTRONIC
    1PCB 6,7PCBWAY
    13D printed Enclosure 3,9PRUSA 3D PRICE SIMULATOR

    Total price

  • Functionalities and technical aspects : Improvements to do

    Julien OUDIN10/13/2022 at 13:12 0 comments

    After few weeks using Joytojoy and user testing, we consider several aspects to improve :

    To fit user needs : Make it easy to use and customize

    - Develop versatile program to switch from a stick function to a mouse without new upload

    - Introduce wireless connection

    - Implement multimodal accessibility features (visual/sound feed back)

    - Check compatibility with different gaming hardware

    - Easy 3d custom process to fit on the controller and adapt handle to user need (parametric design),

    offer the possibility to change button place for right and left handled

    - Study adding other user inputs (jack port to connect external switches...)

    - Develop a configuration software

    ---->  Carry out tests with a larger panel of users to increase feedback

    To expand possibilities :

    - Make use of the device possible in stand-alone mode, without using a dedicated accessibility interface

    - Study other uses of the device (head, foot : joytomove)

    - Consider other applications (VR control, home automation features...)

    To maximise accessibility :

    • Make it easy to reproduce :

    PCB design, assembly instructions, experience assembly by others, get feedback on the fabrication process

    • Make it affordable and sustainable:

    Stream line microcontroller, allow the use of other microcontrollers to promote their reuse

    Design Low-Tech enclosure process (wood, recycled containers...)

    • Product development,

    Study manufacturing process from prototyping to manufacturing (electronic board development, enclosure fabrication process)

    Provision of DIY kits, final product

    ---->  We’ve made choices to continue  technical development and subject it to fabrication tests and user test with larger panels of makers an users.

  • Prototype v1 test and use

    Julien OUDIN10/11/2022 at 21:15 0 comments


    Joystostick is design to play through a video game accessibility interface. We have test it with an XBOX Adaptive controller (XAC) from Microsoft.

    • Set up :

    We need to plug the device into a USB port for an analog stick on the XAC (we chose the left one to control movement once in game), then connect the XAC to the console

    • Use :

    Movements made on the joystick reproduce the movements of the stick in the video game. This allows navigation in the menus and the use of movements in game (character, vehicle…)

    The red button is use to calibrate the starting position by taking a reference position for triggering the accelerometer.

    To complete the set up, we use switches plugged into the XAC to activate other buttons necessary for games control.

    It works perfectly with a retrogaming system on Raspberrypi : Recalbox

    And on Nintendo Switch with an adapter placed between the XAC and the console. We used the Mayflash Magic S pro 2 which allows you to connect almost any controller to any console

    • Set up :

    The device works very easily on PC, smartphone and tablet.

    Just have to connect the box on the device to control with an USB cable

    Joysticks movements allow to control the cursor on the screen, the buttons act as mouse clicks left and right.


    What a joy for users to be able to use their wheelchair controller to play video games and use a mouse.

    This is different from traditionals set ups made with external joysticks added to the person's existing installation (it’s more intuitive and ergonomic).

    For the accompanying person, the installation time is reduced and allows the person to play faster.

    The three testers appreciated the device and the possibility of adapting it to their motor conditions and gripping possibilities.

    The  choice of color was also decisive for them.

    The personalization dimension seems essential and there is work to be done to multiply and facilitate the possibilities of.

    On the negative side, it is necessary to underline the need to connect cables, a wireless version would be a plus, for sure



    RecalboxXAC + USB cable
    Nintendo Switch
    XAC + USB cable + adapter
    PS4XAC + USB cable + adapter


    PC WINDOWS 7  and aboveUSB cable
    USB cable
    MAC OS
    USB cable

  • Prototype v1 : design and fabrication

    Julien OUDIN10/06/2022 at 13:35 0 comments


    The program was made in C++, using the Arduino IDE, thanks [gdsport] for its joystick library adapted to SAMD.

    For a speed of implementation, we chose to carry out two separate programs (they could, in the future be joined together in only one to switch from mouse to stick function easily)

    Joytostick : To use the power wheelchair controller as a joystick (right or left stick) with a video game console via a dedicated interface (work with XBox Adaptive Controller from Microsoft)

    Joytomouse : To use the power wheelchair controller as a mouse for PC, smartphone...

    Theses are avaible in the compressed folder :

    The code is not necessarily clean and optimized (it will be one of the things to improve), but it works!


    If the programming was facilitated by the use of effective libraries, the electronic and mechanical side required several iterations to design a functional prototype that could be easily exploited by users. The challenge was to respect the initial specifications, by integrating electronics in a box easily adaptable for all.


    The enclosure is made of two 3d printed parts wich will clip together (Top and Base)

    • Base :

    Host the electronic stuff, present a hole to fit in place of the standard wheelchair's joystick knob

    Two holes diameters to suit to different controller avaible on the market :

    A (diameter = 6.4 mm) = Power wheelchair with Rnet or PRIDE, Permobil, Ottobock, Sunrise, Levo.

    B (diameter = 5 mm) = Power wheelchair with Linx electronic (Invacare)

    • Top :

    Features the joystick handle and two holes for the buttons.

    A version with a standard joystick shape is available for common needs,

    For other needs, we make an adaptation from the flat shape of the top by adding a specific handle adapted to the user needs


    We  made the choice of a cable connection between the different elements.

    Trinket M0 pin 0 - - - SDA MPU 6050

    Trinket M0 pin 1 - - - Button 2

    Trinket M0 pin 2 - - - SCL MPU 6050

    Trinket M0 pin 3v - - - VCC SDA MPU 6050

    Trinket M0 pin 3 - - - Button 1

    Trinket M0 Gnd - - - Gnd MPU 6050 - - - Button 1- - - Button 2

    This requires 1 hour of work, to cut the wires to the right length, cut the MPU pins, play with the soldering iron, put heat-shrink tubing, and a glue gun to fix everything.

    After that, we've clipped the two parts together


    Now we will upload the program on the microcontroller with an usb cable and the arduino’s IDE

    For a game stick :

    Select the arduino sketchJoytostick_TRINKET_M0_v1.ino in Joytojoy_prototype_v1

    Download and install theses libraries to the arduino IDE:

    MPU6050_tockn by tockn

    Joystick Library for Adafruit TinyUSB by gdsports

    Be sure to set the USB Stack to TinyUSB

    Then, Upload to the Trinket Joytostick_TRINKET_M0_ONE_BUTTON.ino

    For a mouse :

    Select the arduino sketch : Joytomouse_TRINKET_M0_v1.ino in Joytojoy_prototype_v1

    Download the MPU6050_light library in the library manager of the arduino software.

    Upload the program to the Trinket

    Checking : 

    • Joystostick :

    We can check its proper functioning by connect the joystick to a PC with an usb cable

    The OS emits a sound to indicate that the device is recognized as peripheral.

    We can get visual feedback and check how it works by usingto the Gamepad tester website.

    The values corresponding to AXIS 0 and AXIS 1 will vary according to the movements of the device, it means it works.

    • Joytomouse :

    We can check its proper functioning by connecting the joystick to a PC (windows, linux, MACOS, or a smartphone)

    The device is recognized as a mouse device and works without further manipulation. The movements of the box move the cursor on the screen and the buttons correspond to left and right clicks


    Read more »

  • Design approach

    Julien OUDIN10/06/2022 at 09:19 0 comments

    As part of a Design thinking approach, we have implemented a user-centric approach to target their needs and determine a solution taking into account their expectations and the technological possibilities in order to be able to carry out a viable project.

    This approach will help us enter an iterative loop to design a solution, test it with  users , collect their feedbacks and improve the solution.

    • User needs :

    I used my experience as occupational therapist (14 years in rehabilitation) and worked with a panel of three wheelchair users to collect their expectations, understand their needs, collect their opinions and their impressions. By taking into account the advantages and disadvantages of existing solutions, we were able to determine different functions and conditions for the solutions:

    The device will allow users  to play video games and control a mouse easily.

    The idea is that the device takes the form of a box that is fixed in place of the existing joystick cap

    It must be adaptable in size and shape to meet everyone's ergonomic needs, the gripping handle resuming the design of their usual joystick (standard or modified by therapists to facilitate gripping).

    The choice of color is also decisive and of great interest to match the taste of the user and ensure that the aid pleases in its visual aspect.

    It must be light and mus’nt interfere with the movements of the joystick, don’t represent a risk when driving the wheelchair, have a reduced size and a certain sealing.

    It must be firmly attached to the metal rod of the wheelchair joystick (two sizes of joystick bar exist on the market: diameter 4.8 and 6.35 mm) ) and can be easily removed if necessary.

    The device should  connect to hardware (smartphone, PC, etc.) to emulate a mouse or to a suitable video game interface (XAC, HoriFlex) to emulate a game stick.

    Ideally, it should be wireless, to limit third-party intervention during installation in order to maximize user independence.

    The sensitivity, the dead zone, the speed of the joystick, the inversion of the axes must be easily adjustable and programmable to meet the possible needs of the user.

    The device must communicate in different ways with users using multimodal communication modes to adapt to the disabilities of the greatest number ( visual, auditory…) Visual and auditory feedback is to be expected.

    It must be financially accessible and easily reproducible, modifiable and customizable.

    • Technical choices

    Taking into consideration the need for customization, accessibility and reproducibility, 3D printing was imposed on us for the realization of the enclosure. We have been using it for several years in various assistive device projects, and its ease of implementation, its speed and it lower cost present a major ally for our project and to produce the first prototypes.

    The idea is to offer an easily customizable box which host the electronic stuff and on which you can add the handle that suits user’s need.

    Beyond the handle, we made choice to add an other user interface, two switch buttons located on the case to have :

    • clicks when using the mouse function(left and right)
    • reset position button  when using the stick function

    We chose colorful round tactile switch button from adafruit


    For the Microcontroller, we had to choose open and well-documented hardware, easily programmable for which libraries and code exist, within a contained budget.

    After prototyping with Arduino micro and leonardo boards, our choice fell on a small-sized SAMD 21 microcontroller with HID functions.

    We chose the Trinket M0 board produced by adafruit for its compactness, its possibility of programming it with the Arduino IDE or in circuitpython, the on-board LEDs, its documentation and the community work that it surrounds.

    For motion detection, we chose Joy-it's SEN MPU6050 board. It’s a 6 DoF I2C Module based on an...

    Read more »

  • First hacks

    Julien OUDIN10/04/2022 at 14:07 0 comments

    The idea was to create a motion capture device integrated onto the powerwheelchair joystick that allow to play video games and use a mouse.

    Something operating according to the diagram below.

    To start I needed:

    A motion sensor, a microcontroller with HID possibilities and a few switches.

    I'm not a programmer, but thanks to the community and open source,  documented projects and libraries are avaible to make gyroscopic mouse. And on the other side, there are code and libraries to translate a mouse signal into a gamestick signal.

    A little reading led me to the choice of material:

    An accessible and documented Inertial mesurement unit, the MPU6050,

    Arduino HID boards (like micro and leonardo boards lying around in the back of a cupboard) will do the trick as MCU.

    These different projects have helped me a lot : Thanks to their authors !

    Mouse for people With Brain or Nervous Injuries de Davy

    MPU6050 library by tockn : Arduino library for easy communicating with the MPU6050

    DIY MPU-6050 Joystick by Pin Chung

    ArduinoJoystickLibrary by MHeironimus

    It was like playing lego, with the help of the work made available by others, I’have assembled different bricks, deciphered code, understood blocks to assemble them, remix and made them work together.

    I've tried to use a simple joystick to turn it into a mouse, then a game controller, before taming an IMU, and replacing the physical joystick with an IMU.

    To end up with an IMU that emulates a joystick or a mouse.

    What a joy to see everything working for the first time! The programs thus remixed make possible to create a mouse emulator or a video game joystick.

    With this proof of concept in hand, it works!! It was now necessary to start a more serious design process to be able to leave the breadboard, embark the aid on a wheelchair, define functions and optimize  technical choices

  • Existing solutions

    Julien OUDIN09/30/2022 at 13:38 0 comments

    Here is a modest state of the art of assistive devices for mouse and video games acessibility with a joystick. It describes some commercial solutions and some DIY, open source, openhardware projects. This is not exhaustive due to the large number of existing solutions, but it provides an understanding of the market,and existing solutions.

    For futher information see the Analog Joystick Selection guide from Makers Making change and take a look at others specialized websites which list and details different solutions and possibilities :

    Mouse accessibility :

    Bluetooth mouse power wheelchair

    For few years, most of power wheelchair manufacturers  offers electric wheelchair manipulators that emulate a mouse by communicating via bluetooth with the device to be controlled. It allows users who are equipped to control a mouse pointer on a smartphone or a computer (Android or Ios, Windows, MacOS, Linux)

    Mouse powerwheelchair

    Unfortunately this option is a solution that is not yet offered as a standard delivery option by all manufacturers and its price can exceed few hundred dollars. Many users ignore this solution due to a lack of finance.

    Apart from the  powerwhellchair's manufacturiers solutions, only one product exists to add a mouse function to your wheelchair manipulator : the Bjoy ring  which is placed on the metal shaft of a wheelchair joystick. It’s avaible in  a wired version ($500) and a bluetooth version ($850).

    BJoy ring

    People who can’t afford these solutions often turn to the use of an external joystick to be used by hand or chin, mounted on the wheelchair frame, placed on a table, desk or tablet. Their price varies but can easily run into  hundreds of dollars.

    Externals joystick market solutions

    To solve these acess problems , many Open source projects have emerged (see the guide  from Makers Making change or Hackaday projects) and allow to access a mouse by hand, mouth, breath or tongue, for a reduced cost. Note  that these proposed solutions are externals joysticks, and currently, there aren’t Open source solution to use the powerwheelchair joystick directly as a mouse.

    External joysticks open solutions

    Video game accessibility :

    Accessibility interface:

    Regarding access to video games, to use an assistive device (joystick, switches), you have to use a dedicated interface. The arrival on the market of Microsoft's Xbox Adpative Controller (XAC) was a big revolution and made life easier for many gamers by offering many possibilities to adapt external switches and joysticks to a console for a price comparable to a standard game controller ($99).

    Xbox Adaptive Controller

    This aid works perfectly on PC and Xbox, and also adapts very easily to other consoles (Nintendo Switch, Playstation) with inexpensive conversion adapters.

    The Hori Flex controller that recently arrived on the market is a similar aid that allow to play with assistive external devices on a Nintendo switch, it offers more settings and costs $249.


    The TITAN and TITAN 2 are boxes with higher configuration possibilities, they allow you to recover the mouse signal from a wheelchair joystick equipped with bluetooth but it requires a computer and a dedicated software to be programmed, their handling is not easy for everyone, and the results are different from one brand of chair to another.

    See the French article by the CAPGAME association How to use a wheelchair joystick on game console

    Note that only one commercial solution, The Q logic 3, offered by Pride and Quantum Rehab (wheeelchair manufacter) allows you to use a powerchair joystick with bluetooth as a game joystick, but this only works on PC from Windows 10.

    With devices currently available, it is possible...

    Read more »

  • Birth of the idea

    Julien OUDIN09/27/2022 at 09:49 0 comments

    For several years as an occupational therapist working in a healthcare home, I regularly work with power wheelchair user's who wish to be able to play video games like everyone else.

    For a power wheelchair user, it is not always possible to hold a game controller in their hands.

    Frequently, the movements he makes with his hand or his chin on his joystick to move with his wheelchair are often the most reliable, efficient and reproducible movements he can produce, and sometimes the only ones he masters.

    Thanks to the mobilization of users, charitable organisation and association, great progress has been made in recent years by manufacturers to offer suitable equipment and by game publishers to develop in-game accessibility parameters, but for yet, it's impossible to play directly using the joystick from a wheelchair  as an input device .

    Power wheelchair users manage to play by making specific set ups, based on switches, dedicated interfaces and external joysticks, but this often requires the help of a third party to set up external equipment and make connections.

    It would be so much easier  to play directly with a familiar controller, which has proven itself because it is known, mastered by users and used on a daily basis.

    The most frustrating is that it’s already possible to control the cursor of a mouse using a wheelchair’s joystick. Why not a video games stick?

    Having knowledge of its different elements, I wanted to design an assistive device that would allow powerchair user's to play video games, control a smartphone or a computer, using the movements made on their wheelchair's joystick.

    And as much as possible, make this device accessible, easily reproducible, customizable to adapt to the specific needs of each user

View all 11 project logs

  • 1
    Select the design fit to your needs

    The enclosure is made of two printed parts (base and top) wich will clip together .

    Select the right design, fit to your needs


    For a  6.4 mm diameter joybar = Power wheelchair with Rnet or PRIDE electronic : Permobil, Ottobock, Sunrise, Levo.

    select : base A_6.4 mm hole.stl

    For a 5mm diameter joybar = Power wheelchair with Linx electronic (Invacare)

    select : base B_5mm hole.stl

    • HANDLE

    For standard needs  (standard joystick handle) : select top_joystick.stl

    If you need a ball to facilitate gripping select : select top_ball.stl   

    You can also design a specific handle adapted to your need (ergonomic, esthetic) and mix it to this base : top_flat.stl

  • 2
    Print the 3D parts

    Material :

    We use ABS on a Zortrax M200 for  its resistance and its functional prototyping properties.

    It should work well with other plastic types, depending of the 3D printers you use.

    For a standard print, we have good result with this  parameters :

    Infill = 30 % of

    Layers thickness = 0.19mm

    No support added

    Printing time : 3h48

    Material usage : 14.6 m, 35g

  • 3
    Electronic assembly
    • Bring together the different components

    • Individually prepare the components :

    Solder headers on the trinket m0

    Cut off the four no use headers of the SEN-MPU6050 ( XDA, XCL, ADO, INT)

    Bend the four headers (VCC, GND, SCL,SDA) at a 90 degree angle

    • Insert the components on the PCB, following one board printed indications



    Trinket M0

    • Soldering

    Turn the PCB

    Solder the different components pins

    Cut of the excess lenght of the pin

View all 5 instructions

Enjoy this project?



david finberg wrote 04/20/2023 at 15:24 point

I built one of these for a friend, a few notes for others who are looking into it.

First, tinket M0's are getting sparse.  I don't know if there's a drop in replacement, since you need a similar pin layout.

Second, the arduino IDE has a built in tokn mpu library, but it is an older version with a critical bug! install it from github.

Finally, the shell didn't quite fit the micro usb port after soldering, it was about .8mm too high. I edited it in tinkercad where it was pretty easy to slide the port around.

  Are you sure? yes | no

Julien OUDIN wrote 04/27/2023 at 10:44 point

Hi, thanks you for your feedback.
I had no idea of the problem with the mpu6050  library, I will take a closer look and modify this.

For the enclosure, I did not encounter the problem of height, is it the height of the pins of the components after soldering wich is problematic ?

I 've first  used the Trinket M0 and faced with its scarcity and to increase possibilities , I’ve designed a new PCB with a  XIAO form factor microcontroller footprint. It works nice with ADAFRUIT QT py SAMD 21 boards, XIAO board, and it open door to other controllers (especially based on RP 2040)
I'll post the plans when I have time.

What about use with users? do you have feedback?

  Are you sure? yes | no

david finberg wrote 04/27/2023 at 11:21 point

I'm guessing it was simply my soldering skills weren't great, and I left the header a bit off the trinket, creating a bump in the height of the port.

The user seems thrilled with it so far, so no complaints there. I mapped the second button in joystick mode to invert the Y axis.

I added a fuller version of the above comments, as well as a link to the updated sketch at

  Are you sure? yes | no

Maiinge wrote 03/29/2023 at 11:32 point

This is beautiful. Do you sell these? I'm a disabled gamer who can easily imagine a whole new world of video games this would open up for me but I don't have access to a 3d printer or the ability to put this together.

If you could sell this to me already assembled, I would gladly buy it. It would absolutely change my life in terms of video games 

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates