Teensy 2.0 alternatives, ATmega32U4

Oh wow... that looks very nice for all kinds of things!
Soarer
User avatar

Unread post12 May 2013, 02:04

User avatar
X
Soarer
 
Posts: 999
Joined: 03 Jul 2011, 01:03
Location: UK
Favorite switch: F
Club member: -
 
Hasu, this is absolutely great! I totally love it. Especially the D-/+ pins and the screw holes. You are my own personal superhero :)

Are they already in production? Because I take 100 :)
matt3o
User avatar
-[°_°]-

Unread post12 May 2013, 09:08

User avatar
X
matt3o
-[°_°]-
 
Posts: 8201
Joined: 03 Sep 2012, 15:14
Location: Italy
Main keyboard: WhiteFox
Main mouse: Anywhere MX
Favorite switch: Anything, really
Club member: 0030
 
 
This signature intentionally left blank...
Arduino Pro Micro - 5V/16MHz
Dimensions: 1.3x0.7"

Features:
ATMega 32U4 running at 5V/16MHz

https://www.sparkfun.com/products/11098

$19.99
Image

Thoughts?
philpirj
User avatar

Unread post24 May 2013, 10:32

User avatar
X
philpirj
 
Posts: 77
Joined: 28 Nov 2012, 12:44
Location: Russia, Saint-Petersburg
Main keyboard: my lenovo's x120e laptop keyboard
Main mouse: trackpoint
Favorite switch: not sure yet (~MX clear/blue/green)
Club member: -
 
philpirj wrote:Arduino Pro Micro - 5V/16MHz
Dimensions: 1.3x0.7"
Thoughts?

very nice but at first sight it doesn't seem to have enough pins
matt3o
User avatar
-[°_°]-

Unread post24 May 2013, 11:13

User avatar
X
matt3o
-[°_°]-
 
Posts: 8201
Joined: 03 Sep 2012, 15:14
Location: Italy
Main keyboard: WhiteFox
Main mouse: Anywhere MX
Favorite switch: Anything, really
Club member: 0030
 
 
This signature intentionally left blank...
'Enough' is relative to the project at hand, I guess!

Comparing it to the Teensy, it's USPs appear to be the micro USB connector, and a voltage regulator so it can work from up to 12V. It's 0.1" longer than the Teensy 2.0. But there are more than a few complaints about the soldering of the connector. It could be a good choice if you want to remove the connector and wire direct to a cable or panel mount socket, since it looks fairly easy to desolder compared to a mini USB connector.
Soarer
User avatar

Unread post24 May 2013, 12:39

User avatar
X
Soarer
 
Posts: 999
Joined: 03 Jul 2011, 01:03
Location: UK
Favorite switch: F
Club member: -
 
Looks nice and I like its beautiful layout of components.
But two complains:
1. No reset button on the board.
2. Arduino firmware is not usable from my experience of Leonardo. We'll need to replace it with LUFA firmware.
hasu
User avatar

Unread post24 May 2013, 14:51

User avatar
X
hasu
 
Posts: 339
Joined: 02 Sep 2011, 14:47
Location: Japan
Main keyboard: HHKB
Main mouse: HHKB
Favorite switch: Topre
Club member: -
 
I got PCB today the result is not bad for my first attempt. I set one up as ADB conveter first.
Image
It is not easy to hand solder these densely layouted small components, I'll look into reflow method with hot plate or oven.

One little charm, dual USB :)
Image
hasu
User avatar

Unread post27 May 2013, 15:26

User avatar
X
hasu
 
Posts: 339
Joined: 02 Sep 2011, 14:47
Location: Japan
Main keyboard: HHKB
Main mouse: HHKB
Favorite switch: Topre
Club member: -
 
oh wow you are soldering them by yourself. you are too hardcore for me :)

great job anyway, keep us posted!
matt3o
User avatar
-[°_°]-

Unread post27 May 2013, 22:29

User avatar
X
matt3o
-[°_°]-
 
Posts: 8201
Joined: 03 Sep 2012, 15:14
Location: Italy
Main keyboard: WhiteFox
Main mouse: Anywhere MX
Favorite switch: Anything, really
Club member: 0030
 
 
This signature intentionally left blank...
Guys! I need help picking a controller for my project (workshop-f7/mobapadll-t5994.html). I would like it to have mounting holes so I can mount it on a plate. So if anyone has some suggestions please post them here.
llovro

Unread post20 Jun 2013, 10:28

X
llovro
 
Posts: 16
Joined: 19 Apr 2013, 16:07
Club member: -
 
This has mouting hole. I think this also will work. Its bootloader seems to be LUFA CDC which is different from Atmel stock and Teensy one. Not Bad at all.
http://www.adafruit.com/products/296
hasu
User avatar

Unread post21 Jun 2013, 17:54

User avatar
X
hasu
 
Posts: 339
Joined: 02 Sep 2011, 14:47
Location: Japan
Main keyboard: HHKB
Main mouse: HHKB
Favorite switch: Topre
Club member: -
 
One more teensy alternative project on kikstarter : http://www.kickstarter.com/projects/1883701526/matchboxarm. It comes from UK.
jeff

Unread post03 Aug 2013, 22:03

X
jeff
 
Posts: 59
Joined: 09 Oct 2012, 20:39
Main keyboard: TM2030 bépo
Main mouse: Kensington Expert Mouse
Club member: -
 
hasu wrote:This has mouting hole. I think this also will work. Its bootloader seems to be LUFA CDC which is different from Atmel stock and Teensy one. Not Bad at all.
http://www.adafruit.com/products/296

I've got an eBay knock off of this and it's pretty good from what I can tell. Only thing to be aware of is some of the eBay ones come shipped with an Arduino bootloader, I didn't realise and had to reprogram mine through ISP.

I'm actually using a Mattairtech board with the ATmega32U4, bit bigger than other boards but it has all pins on the AVR broken out to headers which is why I'm using it. Going to try and source one of the nice Amphenol USB connectors and wire it directly to the controller on my next build.
bueller
User avatar

Unread post04 Aug 2013, 12:39

User avatar
X
bueller
 
Posts: 41
Joined: 16 Jun 2013, 11:53
Location: Australia
Main keyboard: Quickfire TK
Main mouse: Logitech G400
Favorite switch: Alps Tactile White
Club member: -
 
hasu wrote:Looks nice and I like its beautiful layout of components.
But two complains:
1. No reset button on the board.
2. Arduino firmware is not usable from my experience of Leonardo. We'll need to replace it with LUFA firmware.

Hi guys, this is my first post here... hope I'm doing this right.

Anyhow I tried out the Leonardo Pro Micro for Soarer's Converter and it seems to work fine... BTW thanks Soarer, your invention rocks!!!

I didn't use SparkFun's board but rather ordered a clone from China via eBay... I got 5 for $42 delivered to the US so it was significantly cheaper.

As far as I can tell here are the relevant pins for Soarer's Converter (I didn't record all of them because it was taking forever and I'm kind of lazy; I'm sure if you care you can just check the schematic from SparkFun):

soarers_converter_pro_micro.png
pins on Leonardo Pro Micro for Soarer's converter


For an enclosure I used one of these:

http://www.ebay.com/itm/USB-to-PS-2-PS2 ... 5d3d4cb70c

As an adapter the thing was total garbage but with a hobby knife and a little persuasion it was able to fit the Pro Micro quite nicely. It is just the right width for a Teensy as well. Added bonus that it has 2 PS/2 connectors and a USB male included as well. Double bonus was that the PCB inside had a legend for the colored wires, making it a breeze to figure out which wire needed to be connected to which terminal.

Came together nicely, in my opinion at least:

soldered_to_ps2_medium.jpg
Converter after soldering, before enclosing


completed_converter_medium.jpg
Completed Soarer's Converter


Next time I might try to remove the micro USB as soarer suggested and replace it with the USB connection from the garbage adapter to make it look nicer and eliminate the need for a separate USB cable. In any case, this costs about $10 to make which is pretty cheap IMO.

Thanks guys for all of your great posts and contributions!!
BCG

Unread post31 Aug 2013, 07:40

X
BCG
 
Posts: 2
Joined: 04 Aug 2013, 06:26
Club member: -
 
Effective!

Did the official PJRC Teensy loader app work with this board or is it not a direct clone?
Muirium
User avatar
µ

Unread post31 Aug 2013, 09:13

User avatar
X
Muirium
µ
 
Posts: 22409
Joined: 03 Feb 2013, 10:11
Location: Edinburgh, Scotland
Main keyboard: IBM 4704 Kishsaver
Main mouse: Apple Magic Trackpad
Favorite switch: Gotta Try 'Em All
Club member: -
 
 
Muirium wrote:Effective!

Did the official PJRC Teensy loader app work with this board or is it not a direct clone?

I didn't try the Teensy loader, I just assumed it wouldn't work. When I plugged the board into my XP machine it wasn't recognized; I updated the driver per the instructions from SparkFun and it was recognized as a Arduino Leonardo.

I appears however when you hook up the USB connection the board is recognized as "Arduino Leonardo Bootloader" for a few seconds... if you run avrdude before it switches to "Arduino Leonardo" it can load your firmware. There was a note on SparkFun's website about a modified bootloader and how you can trigger this functionality with a "double tap" on the reset pin... I would have to do a bit of experimentation to figure it out exactly though. Also I'm not sure if the clone has exactly the same bootloader or if it uses the standard one. For now just resconnecting the device and being quick on the draw with avrdude seems to work ok :)
BCG

Unread post31 Aug 2013, 16:56

X
BCG
 
Posts: 2
Joined: 04 Aug 2013, 06:26
Club member: -
 
Any luck with Pro Micro anyone?
philpirj
User avatar

Unread post07 Dec 2013, 16:18

User avatar
X
philpirj
 
Posts: 77
Joined: 28 Nov 2012, 12:44
Location: Russia, Saint-Petersburg
Main keyboard: my lenovo's x120e laptop keyboard
Main mouse: trackpoint
Favorite switch: not sure yet (~MX clear/blue/green)
Club member: -
 
urbancamo found a different way to upload the converter hex file using some software called Arduino Builder:
urbancamo wrote:I've just built a particularly ugly converter for one of these terminal keyboards! All about style, me. However, on the plus side I did manage to use a Pro Micro Leonardo compatible microcontroller board, available for £2.11 direct from Hong Kong via eBay (http://www.ebay.co.uk/itm/New-Pro-Micro ... d408c1fe6) - I have remapped the keys, where possible, to be as close to a standard model M as possible, here is the map for reference:

remapblock
ESC NUM_LOCK
NUM_LOCK PAD_SLASH
SCROLL_LOCK PAD_ASTERIX
PAD_PLUS PAD_ENTER
PAD_ASTERIX PAD_MINUS
PAD_MINUS COMMA
F23 PRINTSCREEN
F24 SCROLL_LOCK
F13 ESC
endblock

It took me a while to find a piece of software that would download Soarer's HEX file to this device - in the end I found that Arduino Builder (http://forum.arduino.cc/index.php?topic=151774.0) setup to write to a Leonardo device did the trick. The board itself is programmable direct from the Arduino IDE/Sketchpad without issue, but because of the shuffling of COM devices required programming a HEX file was a case of finding a piece of software that would do this forced shuffling. Arduino Builder does the trick...

post135750.html#p135750

I also have two of these on their way to me and will report. This seems to be a cheap China clone of the Sparfun one (which is open hardware).
Halvar
User avatar

Unread post07 Dec 2013, 17:07

User avatar
X
Halvar
 
Posts: 2993
Joined: 10 Nov 2012, 10:29
Location: Baden, DE
Main keyboard: IBM Model M SSK / Filco MT 2
Favorite switch: Beam & buckling spring, Monterey, MX Brown
Club member: 0051
 
ATmega328 device with 32K of Flash and 2K of RAM memory.
USB-UART on board for easy communication and programming.
Board is preprogrammed with an open source bootloader from AVRdude which is the same one used in Arduino.

http://www.mikroe.com/mini/at/
Image
Image
$18.00
philpirj
User avatar

Unread post11 Dec 2013, 17:48

User avatar
X
philpirj
 
Posts: 77
Joined: 28 Nov 2012, 12:44
Location: Russia, Saint-Petersburg
Main keyboard: my lenovo's x120e laptop keyboard
Main mouse: trackpoint
Favorite switch: not sure yet (~MX clear/blue/green)
Club member: -
 
The Teensy 2.0 is still smaller, has lots more pins, has 1/2K more RAM, can be mounted more flat, has the USB controller integrated, has the bootloader already programmed, has better documentation and is cheaper. ($16)
It does not have a crystal or power regulator, though, but such accuracy is not needed for a keyboard.
Findecanor

Unread post11 Dec 2013, 19:16

X
Findecanor
 
Posts: 2594
Joined: 01 Mar 2011, 20:43
Location: Stockholm, Sweden
Main keyboard: Changes from day to day
Main mouse: Wowpen Joy (modified)
Favorite switch: I have yet to find it...
Club member: 0011
 
 
Fuck you Google for ruining YouTube!
And the main disadvantage - the '328 doesn't have hardware USB support :(

Most firmware projects (converters, controllers, etc) are using Teensy 2.0 as a base (or the Teensy++ 2.0, which has more of everything). hasu's code supports V-USB so could support the '328, but, (I'd assume) it's not the main line of development. bpiphany loves the '32U2 and its small footprint, but that comes at a cost in capabilities too, even though it does have hardware USB.
Soarer
User avatar

Unread post11 Dec 2013, 20:50

User avatar
X
Soarer
 
Posts: 999
Joined: 03 Jul 2011, 01:03
Location: UK
Favorite switch: F
Club member: -
 
Oh, the MINI-AT's USB chip is not even a universal USB controller. It is a converter between USB and other serial protocols such as RS232. It is hardwired to talk the serial-over-USB protocol and nothing else. The USB chip is useless for keyboards.
Findecanor

Unread post12 Dec 2013, 09:19

X
Findecanor
 
Posts: 2594
Joined: 01 Mar 2011, 20:43
Location: Stockholm, Sweden
Main keyboard: Changes from day to day
Main mouse: Wowpen Joy (modified)
Favorite switch: I have yet to find it...
Club member: 0011
 
 
Fuck you Google for ruining YouTube!
I've been really happy with the Arduino Micro: http://arduino.cc/en/Main/arduinoBoardMicro (Not the Pro Micro)
The Micro has a '32U4 and is quite easy to work with. (https://github.com/obra/KeyboardioFirmware is the firmware I've been building for it using the arduino toolset)
jesse

Unread post13 Dec 2013, 02:24

X
jesse
 
Posts: 69
Joined: 11 Aug 2012, 06:29
Main keyboard: KBT Pure
Main mouse: None
Favorite switch: Cherry Brown
Club member: -
 
I have also had a good experience with the Arduino Micro. It has the exact same pins as the Arduino Leonardo.
The inclusion of a reset pin is nice - I have a dedicated key on my keyboard for rebooting the chip back to the bootloader. This makes flashing new firmware easy, as I don't have to unplug the device and plug it back in to get to the bootloader.

However the Arduino Micro does not contain as many input pins as compared to the Teensy 2.0 (20 for the Arduino Micro, 25 for the Teensy 2.0)

I have tried to stay away from the Teensy 2.0 for a few months now, due to the proprietary bootloader that it comes with. However the smaller footprint and the 5 extra pins have finally won me over.
solarnz
User avatar

Unread post29 Dec 2013, 03:53

User avatar
X
solarnz
 
Posts: 11
Joined: 21 Sep 2013, 00:40
Location: Sydney, Australia
Main keyboard: Customised Truly Ergonomic Keyboard
Favorite switch: Cherry MX Clear
Club member: -
 
Not trying to derail the thread, but what are people using for full-size keyboard projects? I managed to get enough connections for a hand-wired Televideo terminal keyboard, but 6 rows/19 columns took some creative wiring to work with a Teensy 2.0. Should I be looking into a Teensy++ 2.0?
Greystoke

Unread post02 Jan 2014, 16:20

X
Greystoke
 
Posts: 100
Joined: 26 Feb 2013, 14:16
Main keyboard: CM Storm Trigger
Main mouse: Razer
Favorite switch: Cherry MX Green
Club member: -
 
solarnz wrote:I have tried to stay away from the Teensy 2.0 for a few months now, due to the proprietary bootloader that it comes with.

You can easily load a different bootloader (i.e. one of the LUFA ones) if you have another Micro or Teensy available (to use as a programmer) :D

Greystoke wrote:Not trying to derail the thread, but what are people using for full-size keyboard projects? I managed to get enough connections for a hand-wired Televideo terminal keyboard, but 6 rows/19 columns took some creative wiring to work with a Teensy 2.0. Should I be looking into a Teensy++ 2.0?

That's what people have used before, who needed the pins. There aren't many (any?) alternatives (using the AT90USB1286 chip) that I know of. The Teensy 3.0 / 3.1 has enough pins, but the extras are brought out to surface mount pads underneath (plus of course the CPU difference means fewer firmwares available ready-to-run).
Soarer
User avatar

Unread post02 Jan 2014, 20:55

User avatar
X
Soarer
 
Posts: 999
Joined: 03 Jul 2011, 01:03
Location: UK
Favorite switch: F
Club member: -
 
ماء
User avatar

Unread post06 Jan 2014, 06:50

User avatar
X
ماء
 
Posts: 547
Joined: 24 Apr 2013, 11:12
Location: Solo, ID
Main keyboard: Soon
Main mouse: Roccat Lua
Favorite switch: Blacks to heavy>Lighter
Club member: -
 
Pro Micro - it's the only one there with 'real' USB. :)
Soarer
User avatar

Unread post06 Jan 2014, 08:17

User avatar
X
Soarer
 
Posts: 999
Joined: 03 Jul 2011, 01:03
Location: UK
Favorite switch: F
Club member: -
 
Soarer wrote:Pro Micro - it's the only one there with 'real' USB. :)

My plan, i have 7 colms 5 rows handwiring,what is enough? and still cable for 2 halves
Spoiler:
schematicmatrixsymlboardii.png

Pro micro, no press button?press button important?
i intersted nano also really similar teensy,the usb is mini usb? like usb poker?
which most recommended? sorry many asking :cry:
Last edited by ماء on 06 Dec 2014, 16:35, edited 2 times in total.
ماء
User avatar

Unread post06 Jan 2014, 08:49

User avatar
X
ماء
 
Posts: 547
Joined: 24 Apr 2013, 11:12
Location: Solo, ID
Main keyboard: Soon
Main mouse: Roccat Lua
Favorite switch: Blacks to heavy>Lighter
Club member: -
 
A Teensy 2 should be quite enough to handle all that. Share the rows across both hands of your keyboard to make a single unified 5 x 14 matrix. Easily enough.

The Teensy 2 is indeed mini USB, just like most USB keyboards. Jdcarpe has a group buy running now for them. International postage looks pretty good if you want a few:

marketplace-f11/teensy-2-0-group-buy-round-2-t7159.html

I'm ordering some myself. There are other ways to make custom keyboards, but I find the Teensy is the easiest of them all. Everyone's code and all the tutorials cover Teensies, and they're not all that expensive compared to all the other parts you need.
Muirium
User avatar
µ

Unread post06 Jan 2014, 11:19

User avatar
X
Muirium
µ
 
Posts: 22409
Joined: 03 Feb 2013, 10:11
Location: Edinburgh, Scotland
Main keyboard: IBM 4704 Kishsaver
Main mouse: Apple Magic Trackpad
Favorite switch: Gotta Try 'Em All
Club member: -
 
 
I see in GH Nanos not recommended...
maybe, i will buy teensy from jdcapre or choose Pro micro

Thanks
ماء
User avatar

Unread post06 Jan 2014, 12:16

User avatar
X
ماء
 
Posts: 547
Joined: 24 Apr 2013, 11:12
Location: Solo, ID
Main keyboard: Soon
Main mouse: Roccat Lua
Favorite switch: Blacks to heavy>Lighter
Club member: -
 
PreviousNext

Who is online

Users browsing this forum: giokkk, just_add_coffee, khanhj, Kibort, kuato, Norman_, sprintstyle, trebb and 75 guests