# Load firmata onto Arduino Robot

**URL:** <https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253>\
**Category:** General\
**Created:** [25 January 2019 23:21 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253 "2019-01-25T23:21:24Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sin/32/6104_2.png) [@Sin](https://discourse.nodered.org/u/Sin)\
**Post date:** [25 January 2019 23:21 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/1 "2019-01-25T23:21:24Z")

</div>

Hello everyone. I'm using Arduino Robot as shown in Image 1 to communicate with the node-red. I need to download the Arduino node in the node-red but it failed. Is anyone know how to install the Arduino node? I've followed the steps given by the node-red but it failed. I've tried to upload the StandardFirmata sketch onto my Arduino Robot but it failed. Anyone knows how to upload the firmata onto Arduino Robot as well? Thanks a lot.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/4/47d3e304012b8806986d00785df7b3177227bc8a.png)

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [26 January 2019 07:27 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/2 "2019-01-26T07:27:15Z")

</div>

Where are you running node-red?

When you say it failed, how are you installing it?  
What did the error message say?

What version of Node-RED and nodejs are you running?

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [26 January 2019 11:10 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/3 "2019-01-26T11:10:14Z")

</div>

And a link to the what robot it is would be helpful

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [26 January 2019 11:45 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/4 "2019-01-26T11:45:00Z")

</div>

[https://store.arduino.cc/arduino-robot](https://store.arduino.cc/arduino-robot) that bit is easy

---

<div class="post-metadata">

**Author:** ![Sin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sin/32/6104_2.png) [@Sin](https://discourse.nodered.org/u/Sin)\
**Post date:** [26 January 2019 15:02 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/5 "2019-01-26T15:02:52Z")

</div>

I used the **node-red** command in the command prompt and access the node-red at [http://localhost:1880/](http://localhost:1880/)  
First of all, I tried to load the StandardFirmata sketch into my Arduino Robot using Arduino IDE followed the step **Files-Examples-Firmata-Standard Firmata**. I choose the 'Arduino Robot Control' as the board.  
But unfortunately, it failed. Then I change the directory of the command prompt to my node-red user directory and type the **npm install node-red-node-arduino** command to install the Arduino nodes.  
Here is the error message.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/6/67ba66414afb50975b5c13718606442666925362.png)  
The version of node-red is v0.19.5 and version of nodejs is v10.14.1

---

<div class="post-metadata">

**Author:** ![Sin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sin/32/6104_2.png) [@Sin](https://discourse.nodered.org/u/Sin)\
**Post date:** [26 January 2019 15:03 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/6 "2019-01-26T15:03:29Z")

</div>

The link provided by ukmoose is the correct link.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [26 January 2019 15:15 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/7 "2019-01-26T15:15:23Z")

</div>

So it looks like it is looking for python...do you have it installed?

---

<div class="post-metadata">

**Author:** ![Sin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sin/32/6104_2.png) [@Sin](https://discourse.nodered.org/u/Sin)\
**Post date:** [26 January 2019 16:00 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/8 "2019-01-26T16:00:13Z")

</div>

No. I'll install it now and try again. Will update once I done it.

---

<div class="post-metadata">

**Author:** ![Sin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sin/32/6104_2.png) [@Sin](https://discourse.nodered.org/u/Sin)\
**Post date:** [26 January 2019 16:07 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/9 "2019-01-26T16:07:38Z")

</div>

I've download Python with version 3.7.2 and tried to install the Arduino node again but it failed again.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/1b54ae9be68f85d15dfc9b95f6e6b3f86e3de37c.png)

---

<div class="post-metadata">

**Author:** ![Sin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sin/32/6104_2.png) [@Sin](https://discourse.nodered.org/u/Sin)\
**Post date:** [26 January 2019 16:08 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/10 "2019-01-26T16:08:19Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/3/36edd475c5c16b682066626869c5ced3f43375ff.png)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [26 January 2019 16:31 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/11 "2019-01-26T16:31:33Z")

</div>

I'm not a windows user so I can't be much more help, but you need to investigate that fatal error and see what you can do about it. So put on your thinking cap and start googling and reading about what the error means and see if anyone else has come up with a solution.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 January 2019 17:04 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/12 "2019-01-26T17:04:52Z")

</div>

I don't know about node red with Windows either, but I would be tempted to delete the folder `.node-red/node_modules/serialport`, then google for how to install the serialport node on Windows and install that. If that works then install the arduino node. You should not end up in any worse situation than you are now and if it doesn't help then you will have to wait for a Windows guru.

---

<div class="post-metadata">

**Author:** ![Sin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sin/32/6104_2.png) [@Sin](https://discourse.nodered.org/u/Sin)\
**Post date:** [26 January 2019 20:07 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/13 "2019-01-26T20:07:10Z")

</div>

Okay. Thank you for your reply

---

<div class="post-metadata">

**Author:** ![Sin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sin/32/6104_2.png) [@Sin](https://discourse.nodered.org/u/Sin)\
**Post date:** [26 January 2019 20:08 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/14 "2019-01-26T20:08:50Z")

</div>

Hi Colin. I'll try your method to see whether it can success or not. Thanks for your helping.

---

<div class="post-metadata">

**Author:** ![Sin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sin/32/6104_2.png) [@Sin](https://discourse.nodered.org/u/Sin)\
**Post date:** [31 January 2019 17:23 UTC](https://discourse.nodered.org/t/load-firmata-onto-arduino-robot/7253/15 "2019-01-31T17:23:57Z")

</div>

Sorry for the late uploading of the result of the method. I didn't try Colin's method because I found another way that much simpler to solve the problem. First of all, I choose the **Arduino Leonardo** as the board instead of the **Arduino Robot Control** before upload the Standard Firmata sketch to solve the uploading firmata problem. This is because the Arduino has not continued development on the Arduino Robot Control definition since it's been retired for a long time and the **Arduino Leonardo** has the same functionality as **Arduino Robot Control**. Secondly, my **node** installation is broken. Thus, I removed the **node** from my PC and reinstall the **node.js** and **node-red**.
