Arduino UNO Keyboard HID version 0.2

I've updated the keyboard driver so it no longer needs delays in the sketch when sending keys. Here's the updated firmware, source, and an example sketch to send "hello world" via the keyboard.

Download file "Arduino-keyboard-0.2.hex"
Download file "arduino-keyboard-0.2.tgz"
Download file "kbd_usb_demo.pde"

And firmware built for the Arduino Mega2560 but not tested (I don't have a board to test on, but it should work). If you do try it out let me know how it goes.

Download file "Arduino-keyboard-mega2560.hex"

Comments

feiltom (unauthenticated)
Apr 7, 2011

hello i used your keyboard hid hex on my arduino
i have a problem when i send a keycode > 100, the keycode not arrive on my computer ( example 114 for volume down)
for all the standart touch ist OK.
thank s for your work.

darran
Apr 7, 2011

Hi Feiltom, thanks for trying out the firmware.

I had a look at the Keyboard HID usage codes (in chapter 10 of http://www.usb.org/developers/devclass_docs/Hut1_11.pdf) and found that the volume down key code is 129. I tried out that key code in the demo sketch and it worked for me. Key code 114 is listed as function key F23, so I don't know what that would do to a host PC.

feiltom (unauthenticated)
Apr 10, 2011

Hi thanks for your response.
I have test and i don t receive the key code 129 on my laptop
0 -> buffer0 129 -> buffer2.
i am sorry for ask this but can t you send me your test sketch.
thomas at feillant dot com
thank s for you responce.

Filipe Lemos (unauthenticated)
Sep 27, 2011

Hey Darran, great work dude!
I have followed up your work and it was really simple to do in windows, later I will post somewhere how to do it so you can help others.
But I still does not understand how to do the firmware. What I want to do is to creat a special keyboard.
How do I build that? You say we should use the demos on the LUFA packge, what about that?
Should I use a C compiler? Sorry for the stupid questions, new to arduino and got really lost.
Cheers!

Dewi Mulyani (unauthenticated)
Jan 4, 2012

hello,

I have any problem with Driver for Arduino as HID Device. So i can't upload the sketch because serial port in setting (tools>Serial Port ) is not available. In control panel, Arduino detect as HID Keyboard.

How i solved that ? Thanx before.

darran
Jan 17, 2012

Hi Dewi,

to load a sketch you have to flash the arduino-usbserial.hex firmware back onto the 8u2 via DFU mode. The keyboard firmware doesn't support a serial interface so you can't load a sketch with it.

Dewi Mulyani (unauthenticated)
Jan 17, 2012

OK Thanx.. my project has been successful.. I make a Winamp Controller with TV remote as a controller. TV remote input reads as a keyboard input with Arduino, so it can be shortcut for controller Winamp. :)
Thanx for u'r Arduino-keyboard-03.hex. it really helped me..

WillGonz (unauthenticated)
Feb 8, 2012

Can you use the Mouse and Keyboard HIDs at the same time? If you add another USB shield that allows serial communications could you still load a sketch without reloading the serial firmware with the Mega? Also I need serial Communications while in HID mode.

darran
Mar 11, 2012

Hi WillGonz, sorry for the late reply.

You could create a combined Mouse and Keyboard HID driver. You will need a newer Uno or Mega with the atmega16u2 on it (e.g. Uno R3), because the 4KB of flash available for the driver on the atmega8u2 is not enough to fit both drivers. The 16u2 has 12KB available for the driver so there's plenty.

Cheers,
Darran.

big emlak (unauthenticated)
Apr 19, 2014

http://www.bigemlak.com/avcilar-satilik-daire
http://www.bigemlak.com/bagcilar-satilik-daire
http://www.bigemlak.com/bahcelievler-satilik-daire
http://www.bigemlak.com/bakirkoy-satilik-daire
http://www.bigemlak.com/bayrampasa-satilik-daire
http://www.bigemlak.com/besiktas-satilik-daire
http://www.bigemlak.com/beykoz-satilik-daire
http://www.bigemlak.com/beyoglu-satilik-daire
http://www.bigemlak.com/buyukcekmece-satilik-daire
http://www.bigemlak.com/catalca-satilik-daire
http://www.bigemlak.com/eminonu-satilik-daire
http://www.bigemlak.com/esenler-satilik-daire
http://www.bigemlak.com/eyup-satilik-daire
http://www.bigemlak.com/fatih-satilik-daire
http://www.bigemlak.com/gaziosmanpasa-satilik-daire
http://www.bigemlak.com/gungoren-satilik-daire
http://www.bigemlak.com/kadikoy-satilik-daire
http://www.bigemlak.com/kagithane-satilik-daire
http://www.bigemlak.com/kartal-satilik-daire
http://www.bigemlak.com/kucukcekmece-satilik-daire
http://www.bigemlak.com/maltepe-satilik-daire
http://www.bigemlak.com/pendik-satilik-daire
http://www.bigemlak.com/sariyer-satilik-daire
http://www.bigemlak.com/silivri-satilik-daire
http://www.bigemlak.com/sultanbeyli-satilik-daire
http://www.bigemlak.com/sile-satilik-daire
http://www.bigemlak.com/sisli-satilik-daire
http://www.bigemlak.com/tuzla-satilik-daire
http://www.bigemlak.com/umraniye-satilik-daire
http://www.bigemlak.com/uskudar-satilik-daire
http://www.bigemlak.com/zeytinburnu-satilik-daire

shashi (unauthenticated)
Apr 17, 2015

More information best company to List 5th Packers and Movers in india services.

http://list5th.in/packers-and-movers-gurgaon/
http://list5th.in/packers-and-movers-delhi/
http://list5th.in/packers-and-movers-noida/
http://list5th.in/packers-and-movers-faridabad/
http://list5th.in/packers-and-movers-ghaziabad/
http://list5th.in/
http://www.export5th.in/

shashi (unauthenticated)
Apr 17, 2015

For more information list 5th company for List 5 Packers and Movers india services.

http://list5th.in/packers-and-movers-hyderabad/
http://list5th.in/packers-and-movers-bangalore/
http://list5th.in/packers-and-movers-chennai/
http://list5th.in/packers-and-movers-pune/
http://list5th.in/packers-and-movers-mumbai/
http://3th.co.in/packers-and-movers-delhi/

Packers and Movers India (unauthenticated)
Apr 20, 2015

Thanks for post this helpful post - Please visit for More information about -
Packers and Movers Hyderabad @
http://www.expert5th.in/packers-and-movers-hyderabad/
Packers and Movers Pune @
http://packersmoverspune.top3rd.in/
Packers and Movers Mumbai @
http://www.expert5th.in/packers-and-movers-mumbai/
Packers and Movers Chennai @
http://www.expert5th.in/packers-and-movers-chennai/

Packers and Movers India (unauthenticated)
Apr 20, 2015

This article is really fantastic and thanks for sharing the valuable post.
Packers and Movers Delhi @
http://www.expert5th.in/packers-and-movers-delhi/
Packers and Movers Bangalore @
http://www.expert5th.in/packers-and-movers-bangalore/
Packers and Movers Gurgaon @
http://www.expert5th.in/packers-and-movers-gurgaon/

Packers and Movers India (unauthenticated)
Apr 20, 2015

Thanks for all your information, Website is very nice and informative content.
Packers and Movers Noida @
http://www.expert5th.in/packers-and-movers-noida/
Packers and Movers Thane @
http://www.expert5th.in/packers-and-movers-thane/
Packers and Movers Navi Mumbai @
http://www.expert5th.in/packers-and-movers-navimumbai/
Packers and Movers Ghaziabad @
http://www.expert5th.in/packers-and-movers-ghaziabad/
Packers and Movers Faridabad @
http://www.expert5th.in/packers-and-movers-faridabad/

Packers and Movers India (unauthenticated)
Apr 20, 2015

Thanks for Nice and Informative Post. This article is really contains lot more information about This Topic. -
Packers and Movers Hyderabad @
http://www.smaart5th.in/packers-and-movers-in-hyderabad/
Packers and Movers Bangalore @
http://www.smaart5th.in/packers-and-movers-in-bangalore/
Packers and Movers Mumbai @
http://www.smaart5th.in/packers-and-movers-in-mumbai/
Packers and Movers Chennai @
http://www.smaart5th.in/packers-and-movers-in-chennai/
Packers and Movers Pune @
http://www.smaart5th.in/packers-and-movers-in-pune/
Packers and Movers Delhi @
http://www.smaart5th.in/packers-and-movers-in-delhi/
Packers and Movers Gurgaon @
http://www.smaart5th.in/packers-and-movers-in-gurgaon/

Packers and Movers (unauthenticated)
Apr 21, 2015

Top 3 Packers and Movers Faridabad @ http://3th.co.in/packers-and-movers-faridabad/

Top 3 Packers and Movers Ghaziabad @ http://3th.co.in/packers-and-movers-ghaziabad/

Top 3 Packers and Movers Noida @ http://3th.co.in/packers-and-movers-noida/

Top 3 Packers and Movers Chandigarh @ http://3th.co.in/packers-and-movers-chandigarh/

Top 3 Packers and Movers Guwahati @ http://3th.co.in/packers-and-movers-guwahati/

sony (unauthenticated)
Apr 23, 2015

http://www.export5th.in/packers-and-movers-in-hyderabad/
http://www.export5th.in/packers-and-movers-in-bangalore/
http://www.export5th.in/packers-and-movers-in-chennai/
http://www.export5th.in/packers-and-movers-in-pune/
http://www.export5th.in/packers-and-movers-in-mumbai/
http://www.export5th.in/packers-and-movers-in-delhi/
http://www.export5th.in/packers-and-movers-in-gurgaon/

shashi (unauthenticated)
May 6, 2015

We Provides the Best Packers and Movers Solution:
Packers and Movers Pune or http://www.great5th.in/packers-and-movers-pune/
Packers and Movers Mumbai or http://www.great5th.in/packers-and-movers-mumbai/
Packers and Movers Navi Mumbai or http://www.great5th.in/packers-and-movers-navi-mumbai/
Packers and Movers Thane or http://www.great5th.in/packers-and-movers-thane/
Packers and Movers Gurgaon or http://www.great5th.in/packers-and-movers-gurgaon/

shashi (unauthenticated)
May 6, 2015

We Provides the Best Packers and Movers Solution:
Packers and Movers in Bangalore or http://www.great5th.in/packers-and-movers-bangalore/
Packers and Movers in Delhi or http://www.great5th.in/packers-and-movers-delhi/
Packers and Movers in Noida or http://www.great5th.in/packers-and-movers-noida/
Packers and Movers in Ghaziabad or http://www.great5th.in/packers-and-movers-ghaziabad/
Packers and Movers in Faridabad or http://www.great5th.in/packers-and-movers-faridabad/
http://4ad.in/

Movers and Packers (unauthenticated)
May 6, 2015

Best 3 Packers And Movers in Delhi Ncr:

Packers and Movers Ghaziabad @
http://3th.co.in/packers-and-movers-ghaziabad/
Packers and Movers Faridabad @
http://3th.co.in/packers-and-movers-faridabad/
Packers and Movers Noida @
http://3th.co.in/packers-and-movers-noida/
Packers and Movers Delhi @
http://3th.co.in/packers-and-movers-delhi/

Packers and Movers Pune (unauthenticated)
Jun 17, 2015


This article is really fantastic and thanks for sharing the valuable post.
http://www.expert5th.in/packers-and-movers-pune/
http://packersmoverspune.top3rd.in/

Packers and Movers (unauthenticated)
Jun 17, 2015


Thanks for all your information.Website is very nice and informative content.
http://www.smaart5th.in/packers-and-movers-in-mumbai/
http://www.smaart5th.in/packers-and-movers-in-delhi/
http://www.smaart5th.in/packers-and-movers-in-gurgaon/
http://www.smaart5th.in/packers-and-movers-in-chennai/

Packers and Movers (unauthenticated)
Jun 17, 2015


This article is really fantastic and thanks for sharing the valuable post.
http://www.smaart5th.in/packers-and-movers-in-hyderabad/
http://www.smaart5th.in/packers-and-movers-in-bangalore/
http://www.smaart5th.in/packers-and-movers-in-pune/