alphaTheta
Posts: 2
Joined: Sat Nov 12, 2016 5:09 am

I am trying to Use an Arduino as a Slave with Python

Sat Nov 12, 2016 5:18 am

I found several different ways to do this, but the one I am following is this
but I can't seem to get the arduino ide installed on RPi. According to the sudo apt-get install way its installed but when I try to do

Code: Select all

cp -avr nanpy-firmware/ ~/sketchbook/libraries
it gives me this error:
cp: cannot create directory ‘/home/pi/sketchbook/libraries’: No such file or directory
please help me!

richrarobi
Posts: 271
Joined: Sun Feb 08, 2015 1:13 pm

Re: I am trying to Use an Arduino as a Slave with Python

Sat Nov 12, 2016 5:26 pm

probably worth looking at this thread:-
viewtopic.php?f=44&t=46881&p=839460&hilit=nanpy#p839460

To begin with consder the pi as the pc in control of the arduino.. i.e. install the arduino software on pi.
sudo apt-get install arduino
After trying some sketches (to check they are talking) - then look at the Nanpy thread.

Return to “Automation, sensing and robotics”