Tuesday, April 30, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 3022  / 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
fectlyole questions
Sun, May 8, 22, 02:54, 2 Years ago
Mon, Jun 21, 21, 16:56, 3 Years ago
Fri, Jul 9, 21, 17:44, 3 Years ago
;