Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Lower-Level Serial Port Access on *NIX

by holyghost (Beadle)
on Mar 02, 2017 at 03:57 UTC ( [id://1183344]=note: print w/replies, xml ) Need Help??


in reply to Lower-Level Serial Port Access on *NIX

This is why I am reading the Arduino cookbook. It just needs a serial card, an old connection or an AMD motherboard with serial ports on it. +1

Replies are listed 'Best First'.
Re^2: Lower-Level Serial Port Access on *NIX
by stevieb (Canon) on Mar 03, 2017 at 01:49 UTC

    First, ++ to haukex for the post as it is most informative and detailed.

    Now, which Arduino board are you using? Most (if not all) Arduino boards have their serial port connected directly through the USB connector. In fact, it's the same serial port one uploads new "sketches" to the Arduino with :)

    You can literally plug your Arduino via USB cable (micro USB) to any USB port on a computer (Windows or *nix), and communicate with the Arduino over it using UART (Serial). USB is, after all, the Universal Serial Bus.

    If you have further questions regarding the serial comms on the Arduino specifically, I'd be glad to try to help out. Just reply. Sounds like haukex has some understanding of serial comms in general, particularly using Perl, so that's great too.

      I have used Device::SerialPort::Arduino to talk to my chipKIT UNO and Fubarino boards via USB. I'm not sure that it's still on CPAN anymore, but I have a hard copy of it.

      James

      There's never enough time to do it right, but always enough time to do it over...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1183344]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found