Cannot connect -- Device or Firmware Error
I can't seem to connect to my bean. I have loaded the Standard Firmata altered for Bean and that went just fine. LED on-board blinked when complete and success messages all around from the Loader and Arduino apps.
I have the following code:
var five = require( 'johnny-five' );
var bean = require( 'bean-io' );
var myBean = new bean.Board();
var board = new five.Board({
io: myBean
});
board.on( 'ready', function() {
console.log( 'connected' );
//var led = new five.Led({ pin: 13 });
//led.blink();
});
Which produces the following output:
1423578301219 Device(s) bean
set color undefined
writing buffer: <Buffer f9>
writing buffer: <Buffer f0 79 f7>
1423578315255 Device or Firmware Error A timeout occurred while connecting to the Board.
Please check that you've properly flashed the board with the correct firmware.
TypeError: Uncaught, unspecified "error" event.
at TypeError (<anonymous>)
at Board.emit (events.js:74:15)
at Board.<anonymous> (/Users/jacobroufa/Repos/beanTest/node_modules/johnny-five/lib/board.js:377:12)
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
I have the similar errors with [email protected], [email protected] and [email protected].
1431667000501 Device(s) bean 1431667011329 Connected Firmata set color undefined writing buffer: < Buffer f9 > writing buffer: < Buffer f0 79 f7 > 1431667021332 Device or Firmware Error A timeout occurred while connecting to the Board.
Please check that you've properly flashed the board with the correct firmware.
See: https://github.com/rwaldron/johnny-five/wiki/Getting-Started#trouble-shooting
events.js:141
throw er; // Unhandled 'error' event
^
Error: A timeout occurred while connecting to the Board.
at Board.
Any help will be appreciated! Thanks!
Having same issue - Any luck figuring this out? Thanks!
Same issue. Anybody an idea?
1479782556765 Device or Firmware Error A timeout occurred while connecting to the Board.
Please check that you've properly flashed the board with the correct firmware.
See: https://github.com/rwaldron/johnny-five/wiki/Getting-Started#trouble-shooting
If connecting to a Leonardo or Leonardo clone, press the 'Reset' button on the board, wait approximately 11 seconds for complete reset, then run your program again.
TypeError: Uncaught, unspecified "error" event.
at TypeError (<anonymous>)
at Board.EventEmitter.emit (events.js:74:15)
at Board.log (/Users/melbo/Documents/Node/bean-io/node_modules/johnny-five/lib/board.js:630:8)
at Board.(anonymous function) [as error] (/Users/melbo/Documents/Node/bean-io/node_modules/johnny-five/lib/board.js:641:14)
at Board.<anonymous> (/Users/melbo/Documents/Node/bean-io/node_modules/johnny-five/lib/board.js:390:14)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
Same issue, could anyone help please ?
`1497008955401 Device or Firmware Error A timeout occurred while connecting to the Board.
Please check that you've properly flashed the board with the correct firmware. See: https://github.com/rwaldron/johnny-five/wiki/Getting-Started#trouble-shooting
If connecting to a Leonardo or Leonardo clone, press the 'Reset' button on the board, wait approximately 11 seconds for complete reset, then run your program again. events.js:165 throw err; ^
Error: Uncaught, unspecified "error" event. ([object Object])
at Board.emit (events.js:163:17)
at Board.log (C:\Users*\node_modules\johnny-five\lib\board.js:635:8)
at Board.(anonymous function) [as error] (C:\Users******\node_modules\johnny-five\lib\board.js:646:14)
at Board.