O'Reilly Forums: Processing Arduino Firmata - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Processing Arduino Firmata

#1 User is offline   BertusJ 

  • New Member
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 09-May 11

Posted 09 May 2011 - 11:24 PM

Hi all
Posted this on few forums but no replies.
I bought a 2560 mega board for a big project. I installed StandardFirmata on the board because I want to do all controlling from my laptop. The problem I have is that analog pins 6 to15 don't return any values. I have ten analog sensors on pin 0 to 9 and pins 0 to 5 return a value for me but pins 6 to 15 don't. All my digital pins work as well as I have tested them as outputs and they turn a led on and off. the problem is just on the analog pins. I don't understand this because if the software thought that it was a board with less analog pins then there would have been less digital pins as well and I would have had a problem with them as well. I spend two days now looking for the reason but I am beaten. Can anybody help please?

Thanks

Bertus
0

#2 User is offline   grauwald 

  • Active Member
  • PipPip
  • Group: Members
  • Posts: 20
  • Joined: 26-August 10

Posted 10 May 2011 - 08:25 AM

Bertus,

I've never tried using the mega board, but maybe one thing to check is your version of the Arduino IDE, make sure you have the latest one (Arduino 0022), the version of Firmata that comes with it should support the mega. The Firmata that comes with Arduino IDE 0018 supposedly has a bug with the mega board.

Also, take a look here: http://www.arduino.c...?num=1250970792
0

#3 User is offline   BertusJ 

  • New Member
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 09-May 11

Posted 11 May 2011 - 11:18 AM

Hallo Grauwald
Thank you very much for replying to my post. I did check out the post that you refered me to but I already have ver 0022 installed and I checked my core file and it is already updated to what they suggested. I appreciate your trouble and I understand you don't have a mega. I would like to ask you if you maybe know in which part of the software the problem could be? I downloaded firmata_test.exe and when I run it it shows all 54 dig pins as well as all 16 analog pins and they are all working. This is a standalone program and not run through arduino or processing.
the deduction I make from this is that firmata_test must still communicate with arduino through standardFirmata uploaded to arduino. If that is correct then the problem must be on the processing side. I'm not sure about this but I am trying to edit the cc.arduino file as well as firmata.h but no luck yet.
Thanks
Bertus
0

#4 User is offline   iter 

  • New Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 15-August 11

Posted 15 August 2011 - 02:06 AM

interesting for me, thanks
0

#5 User is offline   bluepink 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 12-September 12

Posted 12 September 2012 - 12:49 AM

Hi there

Is there anyone who knows if it possible to use firmata and processing together with the Ardunio wifi shield V2.1? and maybe advice me on how to go about doing this as I am new to Arduino?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users