Giter Club home page Giter Club logo

trackball's Introduction

This is the code to run a trackball I'm building for myself.

It's currently based around either a Seeeduino XIAO or the very similar Adafruit QT Py, and a couple of optical mouse sensor breakout boards. I've built two so far, one using these ADNS-9800 boards, and one using these PMW3360 breakout boards.


I started this project because my favorite ergonomic trackball, the Trackman Marble FX, is basically no longer viable. I really like the shape of it, but it's PS/2 only, has a number of issues with tracking and durability, and has become really hard to find/expensive. I have a small collection of them, most of which have broken over the years.

I decided to build my own trackball with a shape that fits my hand similar to the old Trackman Marble FX, and incorporated a feature from the Kensington Slimblade (probably my second favorite, although not for its ergonomics): twisting the ball in the Z axis acts like a scroll-wheel (complete with clicky sounds produced by a piezo speaker).

Short video demo is here

To be able to sense rotation in all three axes, it needs to use two mouse sensors, positioned at different points around the ball.

I'm quite happy with the current state of the project. I prefer using this trackball to any other I've used at this point, which is saying something. :)

The hardware directory contains the OpenSCAD files for the printed plastics. The src directory has the code. If you want to see how all the parts fit together, you can go straight to the assembly guide.

BUILD

I'm building this with PlatformIO/VSCode. The root of the repository should open directly with VSCode.

I do my work on Mac OS X, so I don't know if there will be any issues using it on Windows or Linux.

trackball's People

Contributors

monroewilliams avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.