Pages: [1]   Go Down
Author Topic: Use breathing to type letters  (Read 705 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

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/
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


Atlanta, USA
Offline Offline
Edison Member
*
Karma: 53
Posts: 1777
AKA: Ray Burne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@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

Logged

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

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.
Logged

Atlanta, USA
Offline Offline
Edison Member
*
Karma: 53
Posts: 1777
AKA: Ray Burne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Or, another implementation of V-USB HID:
http://forum.arduino.cc/index.php?topic=135623.msg1032421#msg1032421

- Ray
Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 144
Posts: 5365
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

It is on an Arduino Leonardo...

http://arduino.cc/en/Reference/MouseKeyboard
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Pages: [1]   Go Up
Jump to: