Pages: [1]   Go Down
Author Topic: Arduino Act like a USB keyboard  (Read 5149 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to make my Arduino to send array of keystrokes with a delay to my PC just like a normal keyboard was, the only difference is that, keys are already declared and an ON/OFF button to start/terminate the program when running.

what confuses me are this questions in my mind:

- and i think there's a library needed to be called to make this thing works
- can i reuse keyboard chip, control it to send button to pc?


Actually, i have no idea how arduino works.. this was just a redesigned idea of my program that i want to do. my first program works but when i want it to be applied on different application, it didn't. so i was hoping that an external like keyboard that will send keystrokes to my computer will allow me to use it in any applications i want. please help me..  smiley-kitty

- sorry if this post is not in its right place  smiley-eek-blue
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 634
Posts: 34541
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This is the arduino you want to get:-
http://arduino.cc/en/Guide/ArduinoLeonardo
This will allow you to look at key presses on external hardware and ship them off to a PC and it will look like it came from a PC keyboard.
Logged

Germany
Offline Offline
Full Member
***
Karma: 1
Posts: 221
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It works with Arduino UNO as well.
I tested it successfully with mine using UnoJoy.
Logged

using Arduino Uno Rev 3

Manchester NH
Offline Offline
Full Member
***
Karma: 1
Posts: 132
Like to build typing devices, and heard unicorns
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It works with Arduino UNO as well.
I tested it successfully with mine using UnoJoy.
Isn't programming the second mcu required for this?
looks like UnoJoy is a firmware for the serial comm chip
would seem a little too much for someone just getting started

I'm with mike on this one, but I would go further to suggest the Arduino Mirco as well. Dont know about else where but they stock them at my local electronics shop

Quote
- and i think there's a library needed to be called to make this thing works
its integrated when you select leonardo, micro, lilypad usb,(MEGA34u4 chip) or due. Given you have any of these boards.

otherwise I think your in for a bit of hacking, checkout UnoJoy
« Last Edit: February 03, 2013, 01:13:48 pm by Paul Beaudet » Logged

Germany
Offline Offline
Full Member
***
Karma: 1
Posts: 221
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Everything needed is included here
http://code.google.com/p/unojoy/
and here
http://www.atmel.com/tools/FLIP.aspx

Yes the Arduino's USB interface has to be flashed. This is done with Atmel's FLIP tool.
There is a Arduino-keyboard-0.3.hex available here:
http://hunt.net.nz/users/darran/weblog/b3029/Arduino_UNO_Keyboard_HID_version_03.html
Logged

using Arduino Uno Rev 3

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 222
Posts: 13855
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The teensy2.0 has native keyboard support - http://www.pjrc.com/teensy/td_keyboard.html -

I've played with one last week and the examples work out of the box - uploading to a teensy is only slightly more difficult, but blazingly fast!
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Jump to: