Jump to content
Sign in to follow this  

How to get Processing to directly communicate with input/output ports on pcDuino 3B?

Recommended Posts

Hello. Novice electronics hacker here, working on an interactive art project.


I have successfully installed Processing 2.2 on a pcDuino 3B, and gotten Processing to read / write to ports on a separate Arduino board (a SparkFun Digital Sandbox, which is based on the Arduino Fio) connected to the pcDuino via the USB port. The Processing code imports the serial and the Arduino (Firmata) libraries, and the Standard Firmata sketch is running on the Digital Sandbox. With this setup, the Processing code can read inputs from the Digital Sandbox and draw graphics based on the data -- it works beautifully.


I'd like to do this directly off the pcDuino 3B board, though, without the separate Arduino board. But the Standard Firmata sketch is not listed in the example code in the Arduino IDE  on the pcDuino when "pcDuino" is selected as the board (it does appear when "Arduino Fio" is selected as the board). And if I try to upload the Standard Firmata sketch to the pcDuino, I get the following error:



Arduino: 1.5.3_beta_pcDuino (Linux), Board: "pcDuino (ARM Cortex-A8)"
standard_firmata.ino:32:19: fatal error: Servo.h: No such file or directory
compilation terminated.
Is there another approach that would work for this, or is there a way to get the Standard Firmata sketch to run on the pcDuino?
Thank you much!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this