DEV Community

Discussion on: Wireless javascript robotics with Johnny five and the ESP8266

Collapse
 
manas_kumar_b7fe833b52a4c profile image
ManaS KumaR

am getting bellow error
1684850459534 SerialPort Connecting to host:port: 192.168.43.18:3030
1684850459536 Connected Connecting to host:port: 192.168.43.18:3030
1684850469537 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: github.com/rwaldron/johnny-five/wi...

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.
node:events:381
throw err; // Unhandled 'error' event
^

Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({
type: 'error',
timestamp: 1684850469537,
class: 'Device or Firmware Error',
message: 'A timeout occurred while connecting to the Board. \n' +
'\n' +
"Please check that you've properly flashed the board with the correct firmware.\n" +
'See: github.com/rwaldron/johnny-five/wi...' +
'\n' +
"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.",
data: null
})
at new NodeError (node:internal/errors:371:5)
at Board.emit (node:events:379:17)
at Board.log (D:\manas\carrier-work\johnny-five\node_modules\johnny-five\lib\board.js:637:8)
at Board. as error
at Timeout._onTimeout (D:\manas\carrier-work\johnny-five\node_modules\johnny-five\lib\board.js:384:14)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7) {
code: 'ERR_UNHANDLED_ERROR',
context: {
type: 'error',
timestamp: 1684850469537,
class: 'Device or Firmware Error',
message: 'A timeout occurred while connecting to the Board. \n' +
'\n' +
"Please check that you've properly flashed the board with the correct firmware.\n" +
'See: github.com/rwaldron/johnny-five/wi...' +
'\n' +
"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.",
data: null
}
}

help me on this