simple question

i want to send data to arduino by pressing pc keyboard. i came to know that through arduino IDE serial monitor, i can send single data at a time. everytime i need to press send for sending data. can anyone suggest me how to send data automatically to arduino without pressing send everytime? thanks in advance.

use a real serial program, type data bang enter

putty works well with windows

minicom or cutecom with linux

mac ?

The problem with it is if you change something in your program you need to physically disconnect the serial port, easiest is to kill the program, so hit send or restart a program (minicom is pretty good about releasing the port)

another option is the command line pipe

echo data >comX (enter)

If you have windows with hyperterminal, you could use that to send a keystroke when the key is pressed.

The problem with it is if you change something in your program you need to physically disconnect the serial port, easiest is to kill the program, so hit send or restart a program (minicom is pretty good about releasing the port)

If you use an ISP programming does not need the serial port. Thus you can avoid to disconnect it.