geekhack
geekhack Projects => Making Stuff Together! => Topic started by: ResonantPixel on Wed, 03 February 2016, 08:08:37
-
Does anyone know the best micro-controller (for a keyboard), that does not use micro-usb type b, (mini-usb is best(I assume the) I thought maybe a teensy or ATmega328 Arduino Pro Mini I cant find anything on the port they use, I think most ardiunos use mini though : L, also I need two so if I can get the cheap copies of amazon uk that be great :P thanks!
-
The most common micro controller used for keyboards is the atmega32u4, that can be found on the Teensy 2.0.
There are cheeper versions out there, but as far as I know they all use micro USB connectors and not mini USB
-
The Adafruit Trinket has a mini USB port. Edit: The Arduino Nano has Mini USB and plenty of pins. It doesn't have USB hardware, but you can emulate USB 1.1 (fast enough for a keyboard) using V-USB. As far as I know this will not be compatible with all the keyboard libraries out there, but this (http://codeandlife.com/2012/06/18/usb-hid-keyboard-with-v-usb/) should help you.
-
Why do you need the mini-USB so badly?
You could always use something like this (https://www.sparkfun.com/products/9966) and cut up a cheap micro USB cable to effectively give you a mini USB connection to a micro USB board.
E: There's probably plenty of premade adaptors out on ebay in the same price range, too.
-
Why do you need the mini-USB so badly?
You could always use something like this (https://www.sparkfun.com/products/9966) and cut up a cheap micro USB cable to effectively give you a mini USB connection to a micro USB board.
E: There's probably plenty of premade adaptors out on ebay in the same price range, too.
I agree. Having a separate board or adapter for the usb jack to the harsh outside world is very much recommended. Easy to replace if damaged, and it keeps your controller intact. I sometimes use small adapters of the kind that has no wire inbetween connectors but both connectors in the same housing. I just cut away unwanted plastic to make it sit well in my build. I have also made my own jack plates from etched pcb and female mini usb vertical mount pcb connectors.
[attach=1] [attach=2] [attach=3]
-
For 60% or less Keyboard, Arduino Pro Micro is a good choice as it is very cheap with atmega32u4 controller.
And by using Pro Micro with 74hc138 or 74hc238, Keyboard that has more keys can also be done.
-
If you want a mini-USB port you should get a Teensy++ or clone (look for the 'at90usb1287' processor), but they're more expensive (£20/ea on Ebay) and harder to find cheap clones of. Micro->mini USB converter might be a better idea cost-wise.
-
If you want a mini-USB port you should get a Teensy++ or clone (look for the 'at90usb1287' processor), but they're more expensive (£20/ea on Ebay) and harder to find cheap clones of. Micro->mini USB converter might be a better idea cost-wise.
The regular Teensy 2.0 also has mini-USB. Cost much less than the Teensy++ 2.0.
-
Thanks all, sorry this was a little of a poor-post I was rather knackered when writing it, and I screwed my point a little sorry :P
-
Title fixed, and to answer the question -
Teensy 2.0 is mini
Teensy 2.0++ is mini
Arduino Micro (official) is micro
"Arduino" Pro Micro (cheap clone) is usually micro, but there may be a version with mini if you look hard enough.
-
I want analog. What about mini jack as an kb interface?