- The Monkey
- Posts: 25
- Joined: Sun Mar 26, 2017 9:55 pm
- Contact: Website
Arduino + Pi
Is it possible to use an Arduino with a Pi and if so do you have a link to a website with a project using both.
Re: Arduino + Pi
Yes.
What do you want to do? Receive data from the Arduino on the Pi or Send data from the Pi to the Arduino?
Either way, firmata is a simple method of communicating between the two
https://raspberrypi-aa.github.io/session3/firmata.html
http://madeformakers.org/using-firmata- ... pberry-pi/
What do you want to do? Receive data from the Arduino on the Pi or Send data from the Pi to the Arduino?
Either way, firmata is a simple method of communicating between the two
https://raspberrypi-aa.github.io/session3/firmata.html
http://madeformakers.org/using-firmata- ... pberry-pi/
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter
Pi Interests: Home Automation, IOT, Python and Tkinter
- The Monkey
- Posts: 25
- Joined: Sun Mar 26, 2017 9:55 pm
- Contact: Website
Re: Arduino + Pi
Thank you, I will look into these links. But can you also control a Arduino with a pi with no second computer?scotty101 wrote:Yes.
What do you want to do? Receive data from the Arduino on the Pi or Send data from the Pi to the Arduino?
Either way, firmata is a simple method of communicating between the two
https://raspberrypi-aa.github.io/session3/firmata.html
http://madeformakers.org/using-firmata- ... pberry-pi/
Re: Arduino + Pi
Yes, that's what the links you were given do.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him
Pronouns: he/him
- The Monkey
- Posts: 25
- Joined: Sun Mar 26, 2017 9:55 pm
- Contact: Website
Re: Arduino + Pi
Oh it seemed like they were connected to a different computer.scruss wrote:Yes, that's what the links you were given do.
Re: Arduino + Pi
You can install the Arduino IDE on a Raspberry Pi, but it's not very fast and needs a keyboard and display
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him
Pronouns: he/him
- The Monkey
- Posts: 25
- Joined: Sun Mar 26, 2017 9:55 pm
- Contact: Website
Re: Arduino + Pi
I do have both of thosescruss wrote:You can install the Arduino IDE on a Raspberry Pi, but it's not very fast and needs a keyboard and display
Re: Arduino + Pi
I have my Arduino connected to one of my RPi's for data collection. The code is here for both the Pi and the Uno:
https://github.com/hdtodd/WeatherStation.
The key to making this work was the rs232 package by Teunis van Beelen, http://www.teuniz.net/RS-232/, which provides RS232 service over the USB connection (look at the table at the bottom of this web page to see which ports are available on which systems).
My setup is:
But in my case, I wanted the Pi to control the data collection process, store the data in a database, and display the results on a web page on demand, so it's usually more convenient to do the development and run the operation from the Pi.
Good luck! These are fun to work with!
David
https://github.com/hdtodd/WeatherStation.
The key to making this work was the rs232 package by Teunis van Beelen, http://www.teuniz.net/RS-232/, which provides RS232 service over the USB connection (look at the table at the bottom of this web page to see which ports are available on which systems).
My setup is:
- *Arduino connected (in this case to a Raspberry Pi-2B) via USB cable
*Power supply to RPi sufficient to power both Pi and Uno (2.5A in my case, I think)
*Pi connected to network via WiFi (Edimax dongle)
But in my case, I wanted the Pi to control the data collection process, store the data in a database, and display the results on a web page on demand, so it's usually more convenient to do the development and run the operation from the Pi.
Good luck! These are fun to work with!
David