Exactly how do you count that? I'm new to this stuff and need to find a controller to adapt a bunch of 122-key keyboards to USB. The Teensy is too expensive so I was considering the Pro Trinket instead which I can purchase locally, but I don't know if it comes with enough pins.philpirj wrote: ↑18 pins should be sufficient for 6*12 = 72 keys, or 8 * 10 = 80 keys, making this one a good candidate for diy 60% keyboards.
Teensy 2.0 alternatives, ATmega32U4
- tactica
- Location: La Coruña, Spain
- Main keyboard: IBM Model M
- Main mouse: MSI Clutch GM40
- Favorite switch: Buckling springs for now
- DT Pro Member: -
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
You just need a converter. Teensies can do both jobs: converters and controllers. Controllers replace the keyboard's original circuitry (or install as the heart in a custom keyboard) and need a lot of pins to drive the matrix. Converters use the original circuitry to do the complex stuff, and just need 4 pins to handle AT etc.
The Pro Micro is kinda sorta ideal for a converter. But getting Soarer's Converter software onto it is a pain in the arse I can't even remember how to do and don't want to! And I've found my Pro Micro board is much more picky about USB power than any of my Teensies. I definitely wouldn't want one in the heart of a custom keyboard where it's INCREDIBLY DIFFICULT to replace. A keyboard that can't work reliably every place I use it, is broken to me.
The Pro Micro is kinda sorta ideal for a converter. But getting Soarer's Converter software onto it is a pain in the arse I can't even remember how to do and don't want to! And I've found my Pro Micro board is much more picky about USB power than any of my Teensies. I definitely wouldn't want one in the heart of a custom keyboard where it's INCREDIBLY DIFFICULT to replace. A keyboard that can't work reliably every place I use it, is broken to me.
- scottc
- ☃
- Location: Remote locations in Europe
- Main keyboard: GH60-HASRO 62g Nixies, HHKB Pro1 HS, Novatouch
- Main mouse: Steelseries Rival 300
- Favorite switch: Nixdorf 'Soft Touch' MX Black
- DT Pro Member: -
Most firmware is for the 32u4 because it has hardware USB support. On the 328, you can use v-usb, but Soarer's converter/controller doesn't support it to my knowledge. I think that TMK used to support it or partially supports it, but I'm not sure about that.
- matt3o
- -[°_°]-
- Location: Italy
- Main keyboard: WhiteFox
- Main mouse: Anywhere MX
- Favorite switch: Anything, really
- DT Pro Member: 0030
- Contact:
TMK dropped v-usb many releases ago. if you look at the commit history you may find a version that is compatible
- tactica
- Location: La Coruña, Spain
- Main keyboard: IBM Model M
- Main mouse: MSI Clutch GM40
- Favorite switch: Buckling springs for now
- DT Pro Member: -
OK, in the end I found a local source of cheap (just under €10) Pro Micros, so I suppose I'll go with that. There's that seller from Hong Kong selling them at ~$6 but I don't want to get a Paypal account just for this, and besides shipping would take forever.
- scottc
- ☃
- Location: Remote locations in Europe
- Main keyboard: GH60-HASRO 62g Nixies, HHKB Pro1 HS, Novatouch
- Main mouse: Steelseries Rival 300
- Favorite switch: Nixdorf 'Soft Touch' MX Black
- DT Pro Member: -
10 euro for Pro Micros is pretty bad. I just ordered 5 for $21 shipped (AKA, the price of a Teensy) off of aliexpress.com a few weeks ago!
- tactica
- Location: La Coruña, Spain
- Main keyboard: IBM Model M
- Main mouse: MSI Clutch GM40
- Favorite switch: Buckling springs for now
- DT Pro Member: -
Yeah, I found that offer now and am feeling quite tempted... Will have to wait, I'm broke right now :/
Again the problem is that you may have two wait two months for the goods to arrive... <sigh>
Again the problem is that you may have two wait two months for the goods to arrive... <sigh>
- fohat
- Elder Messenger
- Location: Knoxville, Tennessee, USA
- Main keyboard: Model F 122-key terminal
- Main mouse: Microsoft Optical Mouse
- Favorite switch: Model F Buckling Spring
- DT Pro Member: 0158
Most of the gear that I have ordered from China to the US has taken 2-3 weeks, 4-5 at the outside.
However, I don't know how they ship Teensies so fast, but I have ordered several (to Atlanta from the West Coast) over the last 3 years, and they often get here in 72 hours.
Although $21 is a lot for a small thing, they always work, properly, immediately, with Soarer's firmware.
However, I don't know how they ship Teensies so fast, but I have ordered several (to Atlanta from the West Coast) over the last 3 years, and they often get here in 72 hours.
Although $21 is a lot for a small thing, they always work, properly, immediately, with Soarer's firmware.
- scottc
- ☃
- Location: Remote locations in Europe
- Main keyboard: GH60-HASRO 62g Nixies, HHKB Pro1 HS, Novatouch
- Main mouse: Steelseries Rival 300
- Favorite switch: Nixdorf 'Soft Touch' MX Black
- DT Pro Member: -
China is usually one month for me, no more. Even Aliexpress.tactica wrote: ↑Yeah, I found that offer now and am feeling quite tempted... Will have to wait, I'm broke right now :/
Again the problem is that you may have two wait two months for the goods to arrive... <sigh>
- XMIT
- [ XMIT ]
- Location: Austin, TX area
- Main keyboard: XMIT Hall Effect
- Main mouse: CST L-Trac Trackball
- Favorite switch: XMIT 60g Tactile Hall Effect
- DT Pro Member: 0093
My ATmega32U4 Sparkfun Pro Micro knockoff boards are here! 5.77 USD apiece, I got ten:
http://www.ebay.com/itm/171715861393
Once I find some time (ha!) I'll start playing with Soarer's Converter, TMK, etc. and report in. They don't have quite enough pins to be a full-on controller replacement, and they have mini-USB instead of micro-USB. But they should make very nice converters.
http://www.ebay.com/itm/171715861393
Once I find some time (ha!) I'll start playing with Soarer's Converter, TMK, etc. and report in. They don't have quite enough pins to be a full-on controller replacement, and they have mini-USB instead of micro-USB. But they should make very nice converters.
- scottc
- ☃
- Location: Remote locations in Europe
- Main keyboard: GH60-HASRO 62g Nixies, HHKB Pro1 HS, Novatouch
- Main mouse: Steelseries Rival 300
- Favorite switch: Nixdorf 'Soft Touch' MX Black
- DT Pro Member: -
Yours have Mini USB?! Mine all came with micro. Nice!
For future reference, you can sometimes get Pro Micros on aliexpress etc. for a little cheaper if you plan to buy in bulk.
For future reference, you can sometimes get Pro Micros on aliexpress etc. for a little cheaper if you plan to buy in bulk.
- XMIT
- [ XMIT ]
- Location: Austin, TX area
- Main keyboard: XMIT Hall Effect
- Main mouse: CST L-Trac Trackball
- Favorite switch: XMIT 60g Tactile Hall Effect
- DT Pro Member: 0093
Hmm. Good point. I'll shop around a little bit before ordering the next batch. I may be more interested in Teensy 3.0 competitors, anything with more pins for controller replacements.
- scottc
- ☃
- Location: Remote locations in Europe
- Main keyboard: GH60-HASRO 62g Nixies, HHKB Pro1 HS, Novatouch
- Main mouse: Steelseries Rival 300
- Favorite switch: Nixdorf 'Soft Touch' MX Black
- DT Pro Member: -
ARM boards are the future for controllers and converters, that's for sure. But in the short- to medium-term, ATMega is here to stay. Hopefully, Soarer will return triumphantly with a new ARM-compatible firmware!
- XMIT
- [ XMIT ]
- Location: Austin, TX area
- Main keyboard: XMIT Hall Effect
- Main mouse: CST L-Trac Trackball
- Favorite switch: XMIT 60g Tactile Hall Effect
- DT Pro Member: 0093
Maybe. But ATmega32 is still cheap and sufficient. I cut my teeth on Intel 8051 and am just grateful for instructions that (mostly) finish in one machine cycle running at a very speedy 16MHz. Plus I like to keep my keyboard on a strict power budget as I often connect them to laptops or tablets.
I do have an idea for a Hall Effect keyboard mod that reads raw values from the sensors run through an ADC to do interesting things. That would definitely benefit from more CPU power.
I do have an idea for a Hall Effect keyboard mod that reads raw values from the sensors run through an ADC to do interesting things. That would definitely benefit from more CPU power.
- Touch_It
- Location: Nebraska, United States.
- Main keyboard: Unicomp Classic USB 103 key (work) IBM F 4704 107
- Main mouse: Logitech g502 Proteus Core
- Favorite switch: Buckling spring (yet to try Beam Spring)
- DT Pro Member: -
http://www.ebay.com/itm/1Pcs-XTWduino-N ... 462cb566c8
Despite being less than ideal with the pin headers soldered in, would these be viable? I want to get 4 or so, and do it on the cheap.
Despite being less than ideal with the pin headers soldered in, would these be viable? I want to get 4 or so, and do it on the cheap.
- Touch_It
- Location: Nebraska, United States.
- Main keyboard: Unicomp Classic USB 103 key (work) IBM F 4704 107
- Main mouse: Logitech g502 Proteus Core
- Favorite switch: Buckling spring (yet to try Beam Spring)
- DT Pro Member: -
- XMIT
- [ XMIT ]
- Location: Austin, TX area
- Main keyboard: XMIT Hall Effect
- Main mouse: CST L-Trac Trackball
- Favorite switch: XMIT 60g Tactile Hall Effect
- DT Pro Member: 0093
That looks like a perfectly workable 32u4 board. It is nearly identical to the ones I have. Same reference design but clearly a different board based on silkscreening.
But that's a great price. I may order 20 more. My goal is to have one converter per keyboard. Then, when The Keypocalypse comes, all of the boards that I sell will come with a USB port.
But that's a great price. I may order 20 more. My goal is to have one converter per keyboard. Then, when The Keypocalypse comes, all of the boards that I sell will come with a USB port.
- scottc
- ☃
- Location: Remote locations in Europe
- Main keyboard: GH60-HASRO 62g Nixies, HHKB Pro1 HS, Novatouch
- Main mouse: Steelseries Rival 300
- Favorite switch: Nixdorf 'Soft Touch' MX Black
- DT Pro Member: -
Note that these guys have Micro USB, not Mini USB! I think they go even cheaper if you get a larger amount. Depends on the seller. I also recommend banggood.com. But use a spam email, they almost definitely sell your details... months later, I still get random mails about LEDs in Chinese.
- XMIT
- [ XMIT ]
- Location: Austin, TX area
- Main keyboard: XMIT Hall Effect
- Main mouse: CST L-Trac Trackball
- Favorite switch: XMIT 60g Tactile Hall Effect
- DT Pro Member: 0093
Well, I'm typing this post on a Model M 1391401 connected through a Sparkfun Pro Micro running Soarer's Converter. I did all the programming on my Mac.
The directions with Soarer's Converter are appropriate. I happened to have a spare SDL cable sitting around and these are my pinouts:
Red - VCC
Brown - PD1 - "2" on the Pro Micro
Black - GND
White - PD0 - "3" on the Pro Micro
Installing CrossPack from http://www.obdev.at/products/crosspack/index.html worked for me. This is the command I used for flashing:
avrdude -p atmega32u4 -P /dev/cu.usbmodem1421 -c avr109 -U flash:w:Soarer_a t2usb_v1.12_atmega32u4.hex
Shorting RST and GND twice in succession put the Pro Micro in bootloader mode. The tools work just fine and detect a Soarer's Converter.
It took me a little under two hours to figure all of this out, including: installing the (non-helpful) Arduino IDE, reading through a bunch of docs, determining pinouts, and some other trial and error.
This is great for my Model Ms and AT keyboards but doesn't get me ADB or other obscure protocols. For this I'll play with Soarer's Controller and/or TMK. This was just a "hello world" for getting started.
The directions with Soarer's Converter are appropriate. I happened to have a spare SDL cable sitting around and these are my pinouts:
Red - VCC
Brown - PD1 - "2" on the Pro Micro
Black - GND
White - PD0 - "3" on the Pro Micro
Installing CrossPack from http://www.obdev.at/products/crosspack/index.html worked for me. This is the command I used for flashing:
avrdude -p atmega32u4 -P /dev/cu.usbmodem1421 -c avr109 -U flash:w:Soarer_a t2usb_v1.12_atmega32u4.hex
Shorting RST and GND twice in succession put the Pro Micro in bootloader mode. The tools work just fine and detect a Soarer's Converter.
It took me a little under two hours to figure all of this out, including: installing the (non-helpful) Arduino IDE, reading through a bunch of docs, determining pinouts, and some other trial and error.
This is great for my Model Ms and AT keyboards but doesn't get me ADB or other obscure protocols. For this I'll play with Soarer's Controller and/or TMK. This was just a "hello world" for getting started.
Code: Select all
$ ./scinfo
scinfo v1.10
scinfo: looking for Soarer's Converter: found
scinfo: sending info request: ok
device: ok
Protocol Version: v1.00
Code Version: v1.12
Max Settings Version: v1.01
Current Settings Version: v0.00
SRAM Size: 2560 bytes
SRAM Free: 1809 bytes
EEPROM Size: 1024 bytes
EEPROM Free: 1020 bytes
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
Yeah, you'll need TMK for ADB. A task I need to get on with for myself. The trouble with TMK, besides needing to build from source, is the fact that key mapping is defined in the source code directly, so you have to recompile and reflash for any edits. Soarer's is more elegant for the kind of little nitpicky edits I so often make! The effort between an idea and its implementation is that bit lower.
Soarer's Controller, meanwhile, is an option for any boards where you fancy pulling out the original controller to drive the matrix directly for yourself. Not always the easiest thing to do, physically speaking. And you need a Teensy (or whatever) for each and every keyboard. Converters are much simpler to share!
Soarer's Controller, meanwhile, is an option for any boards where you fancy pulling out the original controller to drive the matrix directly for yourself. Not always the easiest thing to do, physically speaking. And you need a Teensy (or whatever) for each and every keyboard. Converters are much simpler to share!
- scottc
- ☃
- Location: Remote locations in Europe
- Main keyboard: GH60-HASRO 62g Nixies, HHKB Pro1 HS, Novatouch
- Main mouse: Steelseries Rival 300
- Favorite switch: Nixdorf 'Soft Touch' MX Black
- DT Pro Member: -
I'm sorry that I didn't think to mention it before, XMIT, but I actually wrote a tutorial on how to do this with Soarer's converter: http://deskthority.net/workshop-f7/how- ... t8448.html
I probably could've saved you a couple of hours of pain!
I probably could've saved you a couple of hours of pain!
- XMIT
- [ XMIT ]
- Location: Austin, TX area
- Main keyboard: XMIT Hall Effect
- Main mouse: CST L-Trac Trackball
- Favorite switch: XMIT 60g Tactile Hall Effect
- DT Pro Member: 0093
Thanks scottc. Yep, my local notes file looks almost exactly like your other forum post. I don't mind the time invested, though. I would have to climb the learning curve one way or another. Plus I was being difficult and doing this on my Mac laptop. Yes I know this is much easier in Linux but I just wanted to see if it was possible to do this from the Mac.
I'm hunting for a cheaper alternative to the Pro Micro that can serve as a replacement controller as well. I have a couple of older boards that may need it, as well as some custom build projects that I'm considering. 20 I/O pins is *just barely* enough for a 100-position matrix and will cover some of the smaller keyboards.
I'm hunting for a cheaper alternative to the Pro Micro that can serve as a replacement controller as well. I have a couple of older boards that may need it, as well as some custom build projects that I'm considering. 20 I/O pins is *just barely* enough for a 100-position matrix and will cover some of the smaller keyboards.
-
- Favorite switch: buckling spring
Sorry to revive an old thread. Recently dug up my XT keyboard and realized I have an old Leonardo R3 lying around. There used to be a thread on making a soarer converter from that. (other-external-f66/make-a-soarer-s-conv ... t9499.html) However, the link is dead, is there anyone that have it archived or can explain the differences vs pro micro procedure? Thanks in advance.