Pages: [1]   Go Down
Author Topic: Firmata2.2 sketch on delivered board  (Read 1656 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 36
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My delivered Arduino UNO board has (had) an installed sketch that put out this message to Firmata_text.exe:

StandardFirmata_2_2_forUNO_0_3-2.2

I then loaded other sketchs to the UNO, and eventually used the following program file (that came with the UNO) to reload Firmata2.2:

StandardFirmata_2_2_forUNO_0_3.pde

However, when Firmata_test.exe now runs, it does not produce the above message, which suggests that the copy of Firmata2.2 that was delivered with the UNO, can no longer be reproduced.

Does anyone know of the location of the source (*.pde) for the sketch that came with my UNO board?
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 46029
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
My delivered Arduino UNO board has (had) an installed sketch that put out this message to Firmata_text.exe:
That is not what is typically installed. Where did you get the Arduino from? Have you asked them this question?
Logged

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

The physical UNO board came  with an ARDX 1.3 (experimenter's kit) from AdaFruit.  However, the UNO board is an updated version that is now being shipped (some of the chips are different and the circuit layout is different; photo attached).  In a question to AdaFruit, they indicate the board comes directly from the supplier and referenced arduino.cc for questions about the circuit layouts (which have not been responded to).


* IMG_0661_1.JPG (205.16 KB, 800x600 - viewed 6 times.)
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 46029
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
In a question to AdaFruit, they indicate the board comes directly from the supplier
Then, I think that they are telling the truth, and that your initial assumption (that the board came with some firmata sketch installed) is wrong.
Logged

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

There is no basis for the statement that Firmata2.2 does not come installed on the board.  There are points at AdaFruit (& Arduino.cc) which indicate that Firmata2.2 comes installed on the board.  In fact, the first thing I did was run the Firmata_test.exe program and used it with Circuits 1-4 (of ARDX 1.3) and the board responded as expected.  Firmata2.2 (a version thereof) was installed on the board, otherwise Firmata_test.exe does not run very well.

Does anybody have information about the updated Processing souce for the program that is installed on the new UNO R2 boards?

Here is a comparison of the Firmata_test.exe output screens:



* FirmataTestScreen.jpg (46.53 KB, 400x668 - viewed 7 times.)

* FirmataTestScreen_changed.jpg (45.73 KB, 399x666 - viewed 5 times.)
Logged

USA
Offline Offline
Jr. Member
**
Karma: 0
Posts: 90
I’m no expert, but I play one on the Internet…
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't use Firmata, but AFAIK it does not come "installed" on the Arduino board. There is a library that you can load onto the Arduino board with the Arduino IDE just like any other. You might not realize it is happening since Arduino sketches (.pde files) can call for a library to be included when loading a sketch onto the board. In your particular example you can see the Firmata library get loaded ("included") on line #26 of the StandardFirmata_2_2_forUNO_0_3.pde sketch:

Code:
#include <Firmata.h>

As another example you can also see the sketch include the Servo library on line #25:
Code:
#include <Servo.h>

The Firmata library is included with the Arduino IDE and is located on your computer at:

..\arduino-0022\libraries\Firmata
(Where 0022 matches whatever version of Arduino you have installed)

See this link for more info and a link to the Arduino Firmata library
http://www.arduino.cc/playground/Interfacing/Firmata

Here is a link to some of the other Arduino libraries:
http://arduino.cc/en/Reference/Libraries

willnue
Logged

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

At this website:

    http://www.firmata.org/wiki/Main_Page

is the following section and first statement:

Arduino Uno
---------------------------------------------------------------------------
All Arduino Uno boards come with StandardFirmata 2.2 pre-loaded.

I am inclined to take them at their word since StandardFirmata 2.2 was pre-loaded on the UNO R2 board that I received with the ARDX 1.3 kit.  In fact, I was able to run through Circuits 1-4 using the onboard sketch and Firmata_test.exe without using the Processing IDE for compiling any programs or loading any sketches.
Logged

USA
Offline Offline
Jr. Member
**
Karma: 0
Posts: 90
I’m no expert, but I play one on the Internet…
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I haven't used an UNO yet, so maybe it does come with Firmata loaded. Either way the version that ships with the 0022 Arduino IDE doesn't seem to match the one you initially had installed. Maybe the one you had loaded was older than the one in the 0022 IDE?

I would think the Firmata site would have the latest and on thier download page and they list Fimrata 2.2 as the latest. Also the Firmata site indicates there were some issues with the version shipped on the intial UNO boards, but the latest version is included the 0022 IDE.

Quote
All Arduino Uno boards come with StandardFirmata 2.2 pre-loaded.

Arduino 0022 (December 2010) fixed a baud rate error on Uno which corrupts communication. The Firmata Test program can open the serial port, and the receive counter at the bottom of the windows keeps increasing, but nothing works. To fix this, just use Arduino 0022 or later, open the code with the File > Examples > Firmata > StandardFirmata menu, and then upload it to your Uno.
 

If you don't trust the version from the 0022 IDE is the latest just download the latest from Firmata.org:
http://www.firmata.org/wiki/Download

willnue
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 46029
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
At this website:

    http://www.firmata.org/wiki/Main_Page

is the following section and first statement:

Arduino Uno
---------------------------------------------------------------------------
All Arduino Uno boards come with StandardFirmata 2.2 pre-loaded.
And, of course, since it's on the internet, it MUST be true.

That statement is flat out bullshit. UNOs do NOT come with StandardFirmata 2.2 pre-loaded. The IDE ships with firmata included, and you can choose to upload the Standard Firmata sketch, but it is not uploaded on all UNOs.
Logged

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

Well, what can I say?  Apparently, based on your STRONGLY worded feedback, nothing on the internet can be trusted.  I had come to accept that the items I was dealing with regarding Arduino, Firmata, & such through these forums, was essentially valuable and trustworthy.  That probably means what you said as well, but based on your own statement, no longer. 

Indeed though, my UNO board did come with Firmata2.2 installed and running.  The first thing I ran on my computer to talk with the board was the Firmata_test.exe program, and it interacted beautifully with the program on the UNO.  I even ran circuits 1-4 of the ARDX 1.3 kit using this setup.  And, I do have arduino_0022 download installed and have been using it.  The StandardFirmata sketches in that download are slightly different from the sketch that was pre-installed on the UNO. 

The pre-installed Firmata sketch puts out this identifier in its message at the bottom of the host computer window:

StandardFirmata_2_2_forUNO_0_3-2.2

The other versions of StandardFirmata that I found in arduino_0022 and loaded to the UNO, do not have this identifer. 

Does anybody else have something relevant to provide with regard to the source for the sketch relating to the above identifer?
Logged

USA
Offline Offline
Jr. Member
**
Karma: 0
Posts: 90
I’m no expert, but I play one on the Internet…
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Kasken,

Since it appears that users of Firmata for Arduino seem to be a small minority of the larger Arduino community I would suggests you ask your question to the Firmata community. See the following page for information on how to subscribe and submit questions to the Firmata development team mailing list:

https://lists.sourceforge.net/lists/listinfo/firmata-devel

If you do find the answer to your question please post it back to this thread so others can benefit.

Willnue
« Last Edit: May 28, 2011, 11:17:55 pm by willnue » Logged

Pages: [1]   Go Up
Jump to: