L
L
Light7772014-01-31 17:50:17
Arduino
Light777, 2014-01-31 17:50:17

Arduino. How to control stepper motor via keyboard?

Arduino. How to control stepper motor via keyboard? For example: press the right arrow button - the motor rotates clockwise, the right arrow button - counterclockwise

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
vipvizor, 2014-02-04
@Light777

As an option - write an application in Processing that would read the keys pressed and transfer the values ​​​​to the com port

V
Vladimir, 2014-01-31
@noonv

use any convenient protocol - for example Firmata .
Those. open the serial port and send messages of the specified format to it, which the sketch processes on the MK and controls the stepper accordingly.

L
lemon_spb, 2014-02-10
@limon_spb

There are a bunch of options. It is important - what is more convenient for you in terms of programming on a computer.
I did a similar task on Qt through QtSerialPort.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question