[57north-discuss] Microcontroller for simulating a USB HID

2014-07-24 Thread Calum Chisholm
All,
Can anyone suggest a suitable microcontroller for simulating a USB
keyboard? Is the Teensy still the way to go for this, or is something like
the Arduino Micro (or similar) a better option these days?

I'm looking for something which has at least 13 digital input pins, which
might rule out some of the very low-end chips.

Any recommendations?

Cheers,
Calum
___
57north-discuss mailing list
57north-discuss@lists.57north.co
http://lists.57north.co/listinfo/57north-discuss


Re: [57north-discuss] Microcontroller for simulating a USB HID

2014-07-24 Thread Tom Jones
On Thu, Jul 24, 2014 at 03:07:29PM +0100, Calum Chisholm wrote:
 All,
 Can anyone suggest a suitable microcontroller for simulating a USB
 keyboard? Is the Teensy still the way to go for this, or is something like
 the Arduino Micro (or similar) a better option these days?
 

There is the [v-usb][1] stack that can simulate a lot of USB. It runs on an 
ATTINY
and is part of what makes the digispark[2] useful. It can also act as a USB HID
(Human Interface Device).

 I'm looking for something which has at least 13 digital input pins, which
 might rule out some of the very low-end chips.


The v-usb gives the impression that it will run of most avr's, so you should
have a good amount of choice.

[1]: http://www.obdev.at/products/vusb/index.html
[2]: http://digistump.com/products/1

-- 
Tom | I don't see how we are going to build the dystopian megapoli
@adventureloop  | we were promised in 80s and early 90s cyberpunk fiction if
adventurist.me  | you guys keep complaining.

:wq
___
57north-discuss mailing list
57north-discuss@lists.57north.co
http://lists.57north.co/listinfo/57north-discuss


Re: [57north-discuss] Microcontroller for simulating a USB HID

2014-07-24 Thread Calum Chisholm
I hadn't come across v-usb until Tom mentioned it, but it certainly appears
to be well supported. I think I'll probably try and get it running on a Uno
(which I've already got), then scale it down to something more primitive
once it's all working.

I did look at the nano, but it apparently uses a special-purpose FTDI chip
for USB [1], so can't act as a HID. Not sure if that's true for the v3 as
well though - I haven't found a definitive answer online yet.

I did fine this [2] though, which I think might be a good contender - it's
based on the ATmega32U4 (the same as the Leonardo), and appears to be
capable of HID [3].

Will definitely chip in for a couple of Tinys if you're ordering some -
thanks.

Cheers,
Calum

[1] http://forum.arduino.cc/index.php/topic,233994.0.html
[2] http://proto-pic.co.uk/a-star-32u4-micro/
[3] http://www.pololu.com/docs/0J61/6



On 24 July 2014 17:15, Edward Watson m...@edwardwatson.co.uk wrote:

 On 24 July 2014 15:07, Calum Chisholm calum.chish...@gmail.com wrote:

 All,
 Can anyone suggest a suitable microcontroller for simulating a USB
 keyboard? Is the Teensy still the way to go for this, or is something like
 the Arduino Micro (or similar) a better option these days?


 An Ardunio nano v3 might be a good choice if you want to actually make a
 full KB with caps lock reporting etc. Apparently V-USB can handle 12 MHz,
 12.8 MHz, 15 MHz, 16 MHz, 16.5 MHz, 18 MHz and 20 MHz [1], but the clocks
 need to be precise. If you want to roll your sleeves up you could use a
 larger i/o attiny such as an 18pin Atiny88/861 [2] + your own SMD board
 design. You can always borrow a Nano and have a play with. Also I
 am ordering some Atiny88's for the PsionKB-to-Kindle3G interface, so can
 get you some also if you were interested.

 Cheers,
 Ed

 [1] http://vusb.wikidot.com/hardware
 [2]
 http://www.avrfreaks.net/index.php?name=PNphpBB2file=viewtopicp=1089525

___
57north-discuss mailing list
57north-discuss@lists.57north.co
http://lists.57north.co/listinfo/57north-discuss