Pages: [1]   Go Down
Author Topic: software to read input form keyboard and place in arduino sketch real time? :)  (Read 1830 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hello all Arduino users!

My goal is to somehow control the speed and direction of motors via my computer keypad or even a joystick connected to the computer. i would probably need a software that can read the input from the keyboard and place it in an arduino sketch as to change the "pulse with modulation" value in order to change the speed of the motors.

i have researched long and hard for a solution but i am a beginner and would greatly appreciate any feed back

thank you very much!
oamar
Logged

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 6
Posts: 2360
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You need a program that can read the keyboard and send the data over serial to your Arduino.
Logged

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


Check this - http://www.arduino.cc/playground/Main/PS2Keyboard -

or the extended version - http://www.arduino.cc/playground/Main/PS2KeyboardExt2 -


Logged

Rob Tillaart

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

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thank you guys! your feed back is much appreciated!
Logged

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

you are welcome, maybe you can post your project when its finished smiley-wink
Logged

Rob Tillaart

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

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Will do! i am planning on building an ROV...
quick question, would the keypad in the link you sent me be replaceable with an xbox controller?
thanx!
Logged

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

Not trivial,  but IIRC it is done before, you might need to search the forum for that.

The interface of the Xbox controller is (I assume very) different than a keyboard.
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: