mirror of
https://github.com/Ekokumppanit/Bicyclesim.git
synced 2026-02-25 00:51:01 +00:00
Use serialport data from TI Launchpad instead of keystrokes.
This commit is contained in:
14
README.md
14
README.md
@@ -16,13 +16,9 @@ a speed sensor.
|
||||
|
||||
## Speed sensor
|
||||
|
||||
Most basic speed sensor would be "Keyboard" that sends a keypress whenever
|
||||
the wheel has turned one revolution.
|
||||
This kind of sensor can be built from a old keyboard by soldering a reed switch
|
||||
to right conductors at keyboard circuit board. Some instructions here:
|
||||
http://www.instructables.com/id/Hacking-a-USB-Keyboard/.
|
||||
Most basic speed sensor would be "Keyboard" that sends a keypress whenever the wheel has turned one revolution.
|
||||
~~This kind of sensor can be built from a old keyboard by soldering a reed switch to right conductors at keyboard circuit board. Some instructions here: http://www.instructables.com/id/Hacking-a-USB-Keyboard/.~~
|
||||
Doesn't work. The reed switch wont be closed long enough for the keyboard controller or computer to register wheel revolutions.
|
||||
|
||||
It is also possible to built equivalent device from Arduino Uno:
|
||||
http://mitchtech.net/arduino-usb-hid-keyboard/.
|
||||
Or more easily with the new Arduino Due:
|
||||
http://www.i-programmer.info/news/91-hardware/4965-new-powerful-arduino-due-.html.
|
||||
It should be possible to build working device from Arduino Uno (http://mitchtech.net/arduino-usb-hid-keyboard/) or Arduino Due (http://www.i-programmer.info/news/91-hardware/4965-new-powerful-arduino-due-.html).
|
||||
Device should read the reed switch status every 1ms and send keypress maybe every 500ms (send 'a' if there was one wheel revolution since last keypress, send 'b' if two etc).
|
||||
|
||||
Reference in New Issue
Block a user