Friday, May 17, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 3027  / 2 Years ago, tue, april 12, 2022, 2:26:53

I would like to send an ACII string over a com port using the linux terminal. How can I do that.



I am using Kubuntu 12.04



I am brand new to linux and serial communication. I just got an arduino. I got it up and running using the arduino serial manager. But I would like to use linux terminal instead so I will have more flexibility.



My arduino is /dev/ttyACM0



Thank you for help.


More From » command-line

 Answers
5

GNU Screen or something like that would do the job.



sudo apt-get update
sudo apt-get install screen


Then to connect to the board,



screen /dev/ttyACM0


You might have to change the baud rate, check the specs on the Arduino and read the screen manual to work out how to do that.


[#37125] Wednesday, April 13, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fectlyole

Total Points: 64
Total Questions: 110
Total Answers: 110

Location: Nicaragua
Member since Thu, Feb 3, 2022
2 Years ago
;