Teensy Macro Keyboard 70+ buttons with rotary encoder

Status
Not open for further replies.

zacharias.pap

New member
Hello, I am looking into getting started with teensy boards. My goal is to make a macro keypad with a single rotary encoder to help with vide editing. My question is, could I hook up 70 mechanical switches and a rotary encoder on a single teensy, if yes how should i wire them (or any links to some similar projects) if not could i have 2 different different teensies on the same computer in order to split the buttons?
 
Totally doable. For the buttons, the most straightforward approach is to do a 8x9 matrix, that'll give you 72 positions. You could use one of the two leftover positions for the push button on the rotary encoder, if it has one. You'll probably want to have in-series diodes for each switch so that you can distinguish multiple buttons at once.

That'll be 17 pins for the switches.

Then two more pins for the rotary encoder phases, for a total of 19 pins. A Teensy LC would be able to do this easily.

While not Teensy specific, a quick google turned up this tutorial: http://www.gammon.com.au/forum/?id=14175 or https://www.dribin.org/dave/keyboard/one_html/
 
Thank u very much for your quick reply, because i am brand new to this would you suggest that I order a couple teensy lcs to start playing with them? or should i choose a higher spec teensy?
 
No problem!

For just a USB keyboard, the Teensy LC should be plenty fast and has enough pins for your application.

If you need other features like a more memory or pins, an SD card slot, ethernet, or USB host then consider a Teensy 3.5,3.6 or 4.1.

A feature comparison table is here: https://www.pjrc.com/teensy/techspecs.html
 
hello

I'm looking for some help. I am new to the Audrino and Teensy. I want to use a rotary encoder to act as a keypress/or stroke on a keyboard. Example, turning the rotary encoder Clock wise would say press B, and turning Counter clock wise would = pressing A.

is this possible? and what code do I need to use in the keyboard sketch.

so I'm new to teensy but have programmed my 4.1 to be a keyboard, have understand how rotary encoders work, but getting lost at what code would work for the rotary directional to keyboard press. (hopefully that made sense).

even if you can point me in the right direction, if the code isn't easy. I'm diving into learning the code and switch code.

Thanks so much.
 
Hi,

I would recommend you start a new thread with your questions. If you open arduino and follow examples menu under teensy, there is one library called encoder. There is a "Basic" example that you may want to check out.
 
Status
Not open for further replies.
Back
Top