Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Articles

RPI with Ardulink

60 RPI with Ardulink

RPI with Ardulink

installation :

sudo apt-get install oracle-java7-jdk why not java8? 4um
sudo apt-get install librxtx-java
cd /usr/lib/jvm/jdk-7-oracle-armhf/jre/lib/arm
sudo ln -s /usr/lib/jni/librxtxSerial.so

cd /home/pi/

( check for new version pls )
wget http://arduinopclink.altervista.org/wp-content/uploads/2013/12/ardulink_v0.2.2.20131212.zip
unzip ardulink_v0.2.2.20131212.zip
cd ardulink
chmod +x ardulink.sh
chmod +x networkserver.sh




now, i work with RPI + arduino and processing and python
but also long time ago with firmata,
so i understand that here something is missing!
SHOULD THERE BE A PROGRAM IN THE ARDUINO?
try a
ls /home/pi/ardulink/sketches/ArdulinkProtocol/
even i not see it mentioned in the installation manual
i think i should load that arduino sketch.
BUT first:
install arduino IDE on the RPI

sudo apt-get install arduino
start arduino IDE from VNC
| File | Preferences | Browse | /home/pi/ardulink/sketches [OK]
| File | Sketchbook | ArdulinkProtocol |
| Tools | Board | yourboard type
| Tools | Serialport | devTTYACM0
-> UPLOAD
( done uploading )
close the arduino IDE window



as above we see the board on ACM0

ln -s /dev/ttyACM[x] /dev/ttyS8[x]

sudo ln -s /dev/ttyACM0 /dev/ttyS80

from a VNC Desktop open terminal
cd /home/pi/ardulink/
bash ardulink.sh
OR
./ardulink.sh
open that console.

from putty show error.
pi@arduRPI ~/ardulink $ bash ardulink.sh
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which r equires it.
there is a youtube video how to do this, but i can see nothing
sorry

in Connection type that
/dev/ttyS80 OR search ( by the magnifier button and select port..)
and press button [Connect]
and get the info down left: connected.

lets also see here that the RPI cpu is ( permanent ) on 100%

TEST OPERATION:
make a jumper between 2 digital ports,
and in TAB Sensor Digital Panel switch sensor ON and see a LOW,
in TAB Switch Panel SET OUTPUT to ON
and check in TAB Sensor Digital Panel and see a HIGH.
nice, but

INSTEAD OF JAVA I WOULD LIKE TO SEE THIS IN PYTHON.

kll December 13 2013 28 reads Print
Sign In
Not a member yet? Click here to register.
Forgot Password?
Users Online Now
Guests Online 1
Members Online 0

Total Members: 1
Newest Member: kll