Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Lower-Level Serial Port Access on *NIX

by stevieb (Canon)
on Mar 03, 2017 at 01:49 UTC ( [id://1183495]=note: print w/replies, xml ) Need Help??


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

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.

  • Comment on Re^2: Lower-Level Serial Port Access on *NIX

Replies are listed 'Best First'.
Re^3: Lower-Level Serial Port Access on *NIX
by jmlynesjr (Deacon) on Mar 03, 2017 at 02:18 UTC

    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://1183495]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 05:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found