-
Notifications
You must be signed in to change notification settings - Fork 70
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
Issue flashing Firmata to Arduino Board #259
Comments
What version of J5 are you using? I suspect with the recent release this is
going to cause an issue with the version of firmata it's expecting to pull
through.
…On Thu, 8 Jul 2021 at 15:42, danielduan2002 ***@***.***> wrote:
I successfully installed johnny-five as well as the node-pixel and
nodebots-interchange packages. After copying the command to flash my
Arduino with the custom Firmata, I received these two lines after a brief
wait
Downloading firmware
Flashing firmware to board
However, after proceeding and running the node app, this error gets spit
out.
(node:19580) UnhandledPromiseRejectionWarning: IncorrectFirmataVersionError: Please upload NodePixel Firmata to the board
I'm not sure where the issue lies exactly, so any help or advice is
greatly appreciated.
Specs:
Windows 10
Node v14.17.3
npm v6.14.13
Arduino Uno Rev3
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#259>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA5DI2SDOUDNMBFDRJYMX3TWU3DVANCNFSM5AAACI4A>
.
|
I tried downgrading to johnny-five@2.0.0, but I'm still receiving the same error message. I copied my node modules below if that might be of any help.
|
Update: In the process of debugging this error, I pulled this project directly and that fixed the issue of firmata not flashing onto the Arduino board. My best guess as to what was causing the error in the first place was conflicting versions of node modules that node-pixel shared with the initial project that I had tried to install node-pixel into earlier. During the process of debugging, I also ran into a related issue that I notice has been brought up in other threads but not resolved officially. If anyone is running into an error during the initial flashing that says:
What caused this issue for me is I had a peripheral module connected to my board (specifically a MIDI Shield for the Arduino Uno), which occupies the Rx and Tx pins during its on state. To upload code to the board or flash it with firmware, those pins need to be free. Ajfisher, thank you for the prompt response to my issue and your advice in solving it. In the end the cause turned out to be my own incompetence, but I appreciate the advice and help! |
I successfully installed johnny-five as well as the node-pixel and nodebots-interchange packages. After copying the command to flash my Arduino with the custom Firmata, I received these two lines after a brief wait
However, after proceeding and running the node app, this error gets spit out.
I'm not sure where the issue lies exactly, so any help or advice is greatly appreciated.
Specs:
Windows 10
Node v14.17.3
npm v6.14.13
Arduino Uno Rev3
The text was updated successfully, but these errors were encountered: