Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/encukou/morse-keyboard
https://github.com/encukou/morse-keyboard
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/encukou/morse-keyboard
- Owner: encukou
- Created: 2013-12-18T21:05:37.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-18T21:06:37.000Z (almost 11 years ago)
- Last Synced: 2023-03-11T13:19:25.856Z (over 1 year ago)
- Language: Python
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
A Morse-based wireless keyboard!
(it's pretty slow)The setup:
A Raspberry Pi blinks a LED in response to keystrokes it gets from
a keyboard.
An Arduino receives the message, decodes the characters, ands sends them over
its serial interface.Parts:
- Raspberry Pi
- A bright LED
- ~100R resistor
- 2 ~10K resistors
- 2 photoresistorsConnect the LED and 100R resistor in series between Raspberry pin 7 & ground.
Connect a photoresistor between Arduino's pin A5 and ground,
and a 10K resistor between A5 and +5V.
Connect the second photoresistor between Arduino's pin A0 and ground,
and the other 10K resistor between A0 and +5V.Orient one of the photoresistors to face the LED.
The other one will sense ambient light.On the Raspberry, install RPi.GPIO and run the morseled.py script as root.
Or you can set the script to start at boot.For the Arduino part:
Generate lookup tables:
python makelookup.py | tee src/lookup.h
Compile, upload, start (using ino):
ino build && ino upload && ino serialSending the numbers 1-4 to the Arduino's over serial will change the
reporting mode.