Chrysostomos
Chrysostomos

Reputation: 47

Talk to I2C Devices connected to Arduino from Processing

I want to talk to devices that are connected to an Arduino from the Processing IDE and interface with the I2C communications protocol. The processing language is used to send command and data bytes to the arduino with the Firmata protocol. This is done with an existing arduino and Firmata library. I have been going through the library and it seems that there is functionality on both the Arduino and Processing sites to support I2C communication to devices connected to the Arduino, but there is no method to do that from processing. I have tried to create a method to do that but I couldn't get anywhere.

Can someone please help me ?

Upvotes: 0

Views: 2017

Answers (1)

Chrysostomos
Chrysostomos

Reputation: 47

To anyone who might be interested of, I have found a solution to extend Processing Firmata Library to support additional features. Based on this tutorial http://www.instructables.com/id/Going-Beyond-StandardFirmata-Adding-New-Device-Sup/ you have to edit Processing Arduino and Firmata Library, which are written in Java. Then compile the two and replace them in the source folder.
Then follow the tutorial to extend the Arduino Firmata Library on the Arduino end.

Upvotes: 1

Related Questions