Go Down

Topic: Use breathing to type letters (Read 808 times) previous topic - next topic

mwhaskin

Hey this is my first real solo project I worked on.  I might still work on improving it if anyone has experience using the UNO to control keyboard keys. I know I could hack a usb keyboard and set up a ton of relays to trigger buttons but I was hoping there was a work around in the code since "Keyboard.write()" isnt an option i have.


http://boredmichael.wordpress.com/2013/05/24/typing-with-breath-challenge-arduino/

Osgeld

you can mess with vusb and there is a simple example out on the webbernet


http://code.rancidbacon.com/ProjectLogArduinoUSB

or you can get a teensy, which is a USB arduino complete with a Keyboard.print() function
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

mrburnette

@mwhaskin:

You actually could have used Morse Code @5 bit maximum... See the Magic Morse algorithm.
http://www.instructables.com/id/Morse-Code-Magic-An-Algorithm/

There are a few implementations of Magic Morse on this forum.  It is very lightweight... For a handicap person, you would likely want to make the character-break and word-space "times" long and configurable OR use a 6-puff element to drive that functionality.  The nice part about Morse Code is that commonly used characters are the shortest sequence, thereby increasing the overall bandwidth of the communication without additional human effort.

Good save, however.

- Ray


Grumpy_Mike

Quote
or you can get a teensy, which is a USB arduino complete with a Keyboard.print() function

You can also get an Arduino Leonardo or Arduino Micro which also has these functions.

mrburnette


fungus


"Keyboard.write()" isnt an option i have.


It is on an Arduino Leonardo...

http://arduino.cc/en/Reference/MouseKeyboard
No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Go Up