[raspberry-vi] Re: Arduinos

  • From: "Ken Perry" <kperry@xxxxxxxxxxxxx>
  • To: <raspberry-vi@xxxxxxxxxxxxx>
  • Date: Thu, 15 Apr 2021 13:43:55 -0400


You can make Arduino alone  do that by programming it like Mike said with
the Arduino cli.  If you want the Arduino and Raspberry PI to communicate
results back and forth then you get into writing serial interface using  a
protocol you can create.      Then you have to write a client on the
raspberry pi and one on the Arduino.  
-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx <raspberry-vi-bounce@xxxxxxxxxxxxx>
On Behalf Of Martin McCormick
Sent: Thursday, April 15, 2021 1:36 PM
To: raspberry-vi@xxxxxxxxxxxxx
Cc: Martin McCormick <martin.m@xxxxxxxxxxxxxx>
Subject: [raspberry-vi] Re: Arduinos

Thank you  both.  All I really know about the arduino right now is that
there is a small processor similar to a PIC on the arduino plus connections
between the arduino board and whatever project one is building, pins you can
read and write to make stuff happen or read those lines to see what state
they are in.

        Taking my question literally was good since the idea is to make an
arduino perform some task such as read something from a wire or count
seconds or milliseconds, whatever, and do something else based on program
logic.

        I've gotten in to programming in perl over the last 7 or
8 years and also written programs in C and at least looked at python which
is another high-level language.

        I've also written assembler code in PIC microcontroller, 6502, 8086
and the Motorola 68HC11.  I am an expert in exactly none of those languages
but I can usually get stuff to work if that counts.

        So both of you basically answered my questions plus recommended the
arduino-cli.

        I will need to do both programming and communicating with the
arduino so you did hit all bases.  Hopefully, the next time you hear from me
on this topic, I will know a bunch more.  Thanks for being very helpful.

Martin

"Ken Perry" <kperry@xxxxxxxxxxxxx> writes:

I stand corrected he said talks to.  I guess I took it as serial 
communication not programming.



-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx 
<raspberry-vi-bounce@xxxxxxxxxxxxx>
On Behalf Of Martin McCormick
Sent: Thursday, April 15, 2021 7:12 AM
To: raspberry-vi@xxxxxxxxxxxxx
Subject: [raspberry-vi] Arduinos

I have had a beautiful new arduino Uno board sitting here gathering 
dust which is a sin and I wish to atone for it.

        I think there is a Linux package that works with the 
command-line that can run on a RaspberrypI and talks to the arduino.  
Is that correct and if so, what am I looking for?

        Thank you.

Martin   WB5AGZ
===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry 
Pi Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the 
views and attitudes expressed by the subscribers to this list do not 
reflect those of the Foundation.

Mike Ray, list creator, January 2013

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry 
Pi Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the 
views and attitudes expressed by the subscribers to this list do not 
reflect those of the Foundation.

Mike Ray, list creator, January 2013


===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of
the Foundation.

Mike Ray, list creator, January 2013


=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: