Pages: [1]   Go Down
Author Topic: Plain java Firmata implementation  (Read 4064 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 1
Posts: 158
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: December 09, 2011, 06:30:03 am by 4ntoine » Logged

Offline Offline
Full Member
***
Karma: 1
Posts: 158
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: December 08, 2011, 02:48:19 am by 4ntoine » Logged

Offline Offline
Full Member
***
Karma: 1
Posts: 158
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: