Can I use powershell to communicate with my Arduino board?

Can I use powershell to communicate with my Arduino board ?

I can open the port, but I don't see the normal output that I do from Putty or the built-in terminal monitor

Thanks

Did you set all the necessary communication parameters?

is this not correct: $port= new-Object System.IO.Ports.SerialPort COM4,9600,None,8,one

I verified Putty and the Arduino IDE are on Com4

Thanks

BUT! did you set the DTR line do your Arduino can be reset and started over, like the IDE?

Not sure what that means. The app on the board restarts for the IDE and Putty, why would it not start for anything thing else that opens that com port ? Are there any special characters that I need to prod the board with ?

Thanks

Doing some more research I found several web-pages that state "... when the serial/comm port is opened, the board will automatically reset."

I just need to find out why the Power-Shell script does not cause it to reset ?
I put some code in the main look and it does communicate, but no reset.

Thanks

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.