Go Down

Topic: Plain java Firmata implementation (Read 5302 times) previous topic - next topic


Dec 04, 2011, 07:01 am Last Edit: Dec 09, 2011, 12:30 pm by 4ntoine Reason: 1
I develop an app to interact with my arduino board and i decided to develop JavaFX 2.0 and Android apps also. I decided to use Firmata protocol (http://firmata.org/wiki/Main_Page), but unfortunately, existing Java implementation (http://www.arduino.cc/playground/Interfacing/Processing) has hard-coded processing.core.* and processing.serial.Serial dependencies.

So i created fork - plain Java Firmata implementation (almost the same code as original, so it has exactly the same features) with an opportunity to use any Serial implementation with adapter. It has regular Processing serial and RxTx adapters so you can use it with your existing code too.

Now you can use Firmata in your console java apps, Swing apps, JavaFX 2.0 apps and Android.

Check it out - https://github.com/4ntoine/Firmata


Dec 07, 2011, 01:30 pm Last Edit: Dec 08, 2011, 08:48 am by 4ntoine Reason: 1
I've reviewed Processing Firmata implementation code and i am not happy with it  :smiley-sad-blue: I am going to refactor it. Can somebody help me with Firmata protocol details? F.e. Processing implementation does not implement some Firmata messages like 'report digital port' and there are few more questions.


Check out a new android application to control Arduino from Android - ArduinoCommander (https://market.android.com/details?id=name.antonsmirnov.android.arduinocommander). It uses this Firmata implementation.


Now you can use Firmata in your console java apps, Swing apps, JavaFX 2.0 apps and Android.

Excellent library!
Can write a test application on android using bluetooth and firmata?
I'm not good in java and android, so I can not understand itself.


     i too am curious about bluetooth.  Also I couldn't find any documentation on how to utilize this library.  Does anyone have a resource?

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131