Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ready' never fired #6

Closed
eskimoblood opened this issue May 17, 2012 · 10 comments
Closed

'ready' never fired #6

eskimoblood opened this issue May 17, 2012 · 10 comments

Comments

@eskimoblood
Copy link

When I start the simple example from the README the callback on ready is never called. It seems to connect to the board as it prints:

1337288872941 Board Connecting... 
1337288872963 Board -> Serialport connected 

I'm adding a simple console.log() into the callback but it was nerver printed.

I'm using an Arduino Duemilanove

@eskimoblood
Copy link
Author

Sorry, I've used an older version of the Arduino IDE. Seems the StandardFirmata example has change between the versions. Now it works fine.

@rwaldron
Copy link
Owner

Awesome

I should note somewhere that I frequently have to run the program, control-C, then run again to get the serial line free between each program run.

@edtalmadge
Copy link

I'm having the same issue, but I'm using an up to date version of Arduino IDE (1.0.5).
I tried on Windows 8 and Ubuntu, and get the same timeout error message shown below.
I did upload the StandardFirmata example sketch.
I'm trying to do the blinking light example from the readme.

Do you have any troubleshooting advice?

1380785466622 Board Connecting...
1380785466758 Serial Found possible serial port COM3
1380785466761 Board -> Serialport connected COM3
1380785566777 StandardFirmata A timeout occurred while connecting to the Board.
Please check that you've properly loaded StandardFirmata onto the Arduino
1380785566778 Board Closing: firmata, serialport

@rwaldron
Copy link
Owner

rwaldron commented Oct 3, 2013

@edtalmadge

Is this a regular Arduino UNO?

Did you install Johnny-Five very recently? (There were updates to node-serialport a few days ago)

@edtalmadge
Copy link

Yes, it is a regular Arduino UNO. I installed Johnny-Five for the first time yesterday (10/2/2013).

@rwaldron
Copy link
Owner

rwaldron commented Oct 3, 2013

Can you try this:

git clone https://github.com/rwaldron/johnny-five.git;
cd johnny-five;
npm install && npm install serialport@1.1.3;

@voodootikigod
Copy link

Nothing in windows was changed in the latest release.

@edtalmadge
Copy link

This worked on Ubuntu. Blinking Lights! Great success!

npm install johnny-five && npm install serialport@1.2.2

This didn't work on Windows. Same issue as I originally stated. When I run the following get 7 (yellow) warnings during the install (no errors). Please let me know if you would like more info.

git clone https://github.com/rwaldron/johnny-five.git
cd johnny-five
npm install --msvs_version=2012 && npm install serialport@1.2.2 --msvs_version=2012

@hwiguna
Copy link

hwiguna commented Oct 11, 2013

I'm also running into this issue. board.on("ready") never fires. :-(
It finds the arduino on COM4. I can introduce errors outside the ready function and they show up, but any change inside the ready function never gets hit. I think it never talks to the Arduino because eventually it returns "A timeout occurred while connecting to the board. I do have StandardFirmata installed on the Arduino.
npm install serialport@1.2.2 did not help. :-(

@rwaldron
Copy link
Owner

As of yesterday there were still issues with serialport. Please use npm install serialport@1.1.3 in the meantime

On Friday, October 11, 2013, hwiguna wrote:

I'm also running into this issue. board.on("ready") never fires. :-(
It finds the arduino on COM4. I can introduce errors outside the ready
function and they show up, but any change inside the ready function never
gets hit. I think it never talks to the Arduino because eventually it
returns "A timeout occurred while connecting to the board. I do have
StandardFirmata installed on the Arduino.
npm install serialport@1.2.2 did not help. :-(


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-26177509
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants