The Joy-mouse

About the project

The joystick that is not.

Project info

Difficulty: Moderate

Platforms: ArduinoMicrosoft

Estimated time: 6 hours

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Arduino Mkrfox 1200 Arduino Mkrfox 1200 x 1
Arduino Nano V3 Arduino Nano V3 x 1
Ring Versakrimp (aa- Rsakrimp (aa-321-06) Ring Versakrimp (aa- Rsakrimp (aa-321-06) x 1
Arduino Nano V3 Arduino Nano V3 x 1

Software apps and online services

Arduino IDE Arduino IDE


Back in 2011 I took an arduino Nano, joystick, a mouse scroller, accelerometer and a ps2 to usb adapter and made a tilting joy-mouse with a scroller.

I made some really low quality video back then, but thought it deserves a better one. and since I found out the scroller was not working and seem broken I had to open it up, so you get an under the hood tour as well.

This is actually the second version, the first one got fried about 2 minutes into his first solo flight - dumb screwdriver move on my behalf.

I used the ps2dev library to send the mouse and keyboard commands, I changed the original code so it will send the mouse scroller commands as well. I output the commands to a USB to PS2 adapter - and this is what was connected to the computer.

The use of the accelerometer in the middle of the case allowed me to have tiling as my control, same as you do with your mobile phone.

This is one of the early age 3-axiz analog parts, it cost me well over 25$ back then, which in this price today you can get 5 X 9-axis modules.

On start you have to calibrate the mouse so it will know its "starting" position. it's done by holding it leveled and clicking the 2 finger buttons.

The code is a mess, and got few versions, it was written when I just started arduino, but if you want it, feel free to ask.

There are much easier ways to do this today, but it was tons of fun doing it back in 2011 when other options where not that common.

And if you want to see the original video... here you go.. but as I said.. its a very low quality.


Photo of talofer99


Maker @ heart


Leave your feedback...