Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
catching Arduino UNO output
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Sep 17, 2014 11:00 am    Post subject: catching Arduino UNO output Reply with quote

Hi,

I have Arduino's so-called IDE running and serial comms works fine in both directions with the serial monitor feature. The Uno is logging data to the serial port once a second.

Now I need to get this to a text file

I expected to be able to 'cat' or tail the device but cat return immediately with no output and tail sits there looking dumb, waiting for something that never happens.


Code:

 ls -ail /dev/ttyACM0
30634 crw-rw---- 1 root uucp 166, 0 Sep 17 12:46 /dev/ttyACM0

cat /dev/ttyACM0


Groups are correct and that device name works fine from the IDE. I exited to IDE too just in case there was conflict.

If I restart the IDE I find the Uno is still there merrily chucking out data.

IDE puts this to console when I start up
Code:
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7



Am I missing some additional setup commands from bash?

TIA, Gentree. 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum