Giter Club home page Giter Club logo

knob-88's Introduction

Knob-88

Smallest USB-C encoder you can make in 8 min for $8. It is possible to use MIDI or HID or whatever you want "X over USB" protocol. It is also Arduino compatible so you can use all your beloved fancy-shmancy libraries.

KNOB-88

MIDIview demo

Bill Of Materials

  • $5 Seeeduino XIAO
  • $3 Rotary encoder with integrated button, 9-11mm footprint and vertical orientation. It is most common type on the market, actually.

I recommend Bourns PEC11L series. I've used PEC11R-4015F0-S0024. Another popular brands is Alps, Alpha, Elma and tons of their chinese clones. Check datasheet before buying.

"Wiring"

0 wires. There is only 5 soldering points. Remove all unnecessary mounting pins from encoder to avoid short circuit before soldering.

KNOB-88 wiring

Firmware

Source code in this repo made with PlatformIO IDE.

  • Install Control Surface library from master like pio lib install https://github.com/tttapa/Control-Surface.git#master. It is essential to use latest version which is well- documented.
  • Install MIDIUSB library with pio lib install "arduino-libraries/MIDIUSB"

You also could use Arduino IDE. Just install Control Surface and MIDIUSB libraries as well.

Knob-98

Knob-98 is an alternative design which required additional 1 minute to build.

KNOB-98

It used the back side of XIAO to mount encoder so you need to solder 1 additional jumper to configure button properly. You only need to uncomment Knob-98 definition section in the /src/main.cpp and comment Knob-88 back then build the firmware.

KNOB-98 wiring

Advantages against Knob-88:

  • You could use SMT encoders cause back side of the XIAO has a perfectly flat surface.
  • Encoder will be soldered into geometric center of the XIAO.

knob-88's People

Contributors

atarity avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  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.