# Dynamo connected to arduino

**URL:** <https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492>\
**Category:** Packages\
**Tags:** arduino\
**Created:** [June 14, 2016, 8:53am UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492 "2016-06-14T08:53:43Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![NIEN-CHIN\_WU](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nien-chin_wu/32/9687_2.png) [@NIEN-CHIN\_WU](https://forum.dynamobim.com/u/NIEN-CHIN_WU)\
**Post date:** [June 14, 2016, 8:53am UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/1 "2016-06-14T08:53:43Z")

</div>

i connected node and dynamo can read arduino port ''com3",  
but when i turned servo motor in arduino,  
dynamo can’t read data like arduino?

---

<div class="post-metadata">

**Author:** ![NIEN-CHIN\_WU](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nien-chin_wu/32/9687_2.png) [@NIEN-CHIN\_WU](https://forum.dynamobim.com/u/NIEN-CHIN_WU)\
**Post date:** [June 14, 2016, 8:54am UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/2 "2016-06-14T08:54:32Z")

</div>

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/8/818a468819191b0556abbdf5be275c0f2d7b34d0.png)

---

<div class="post-metadata">

**Author:** ![NIEN-CHIN\_WU](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nien-chin_wu/32/9687_2.png) [@NIEN-CHIN\_WU](https://forum.dynamobim.com/u/NIEN-CHIN_WU)\
**Post date:** [June 14, 2016, 8:55am UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/3 "2016-06-14T08:55:10Z")

</div>

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/8/81691636f889a9083399a1ad0a358f894b0967e1.png)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [June 15, 2016, 3:39am UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/4 "2016-06-15T03:39:01Z")

</div>

Don’t know much about this, but seems to work for me.  
Didn’t connect a servo though. Just uploaded the basic _Blink_ sketch’

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/6/68ec6521fbe688cb4747b00ec6f06fffd2e9e475.png)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [June 15, 2016, 4:15am UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/5 "2016-06-15T04:15:47Z")

</div>

Also note that _FireflyFirmata_ doesn’t work on the latest current version of Arduino (1.6.9)  
An older version will need to be used (1.0.3)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [June 20, 2016, 12:16pm UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/6 "2016-06-20T12:16:20Z")

</div>

Looked into this a little more and can confirm that the problem lies with the Arduino version.  
Download an older version, unplug and then replug in your Arduino and then Open _Firefly\_Firmata_  
 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/2/235d37f944ad147d678a7b0902c31555a2aefd98.png)

Follow the instructions in the file…

1. Plug Arduino boards into your USB port; confirm that your Arduino’s green power LED in on
2. Select your specific Arduino Board and Serial Port (Tools \> Board; Tools \> Serial Port) \*Take note of your Serial Port COM #
3. Verify (play button) and Upload (upload button) this program to your Arduino, close the Arduino program
4. then open … Rhino/Grasshopper/Firefly (In our case Revit/Dynamo)

Upload the sketch…

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/1/1bd8b877f3bde1a52a459e159a2c0eeb18eb4105.png)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [June 20, 2016, 12:21pm UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/7 "2016-06-20T12:21:02Z")

</div>

Here is a basic set up of _Arduino.UnoRead_ and _Arduino.UnoWrite_  
[ArduinoBasic.dyn](https://forum.dynamobim.com/uploads/short-url/fldZPyeoj23FElywONHeKX3xYAN.dyn) (8.9 KB)

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/5/5c192a16aaba061c9c1ebcf236d4904958819408.png)

---

<div class="post-metadata">

**Author:** ![NIEN-CHIN\_WU](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nien-chin_wu/32/9687_2.png) [@NIEN-CHIN\_WU](https://forum.dynamobim.com/u/NIEN-CHIN_WU)\
**Post date:** [June 26, 2016, 3:37am UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/8 "2016-06-26T03:37:19Z")

</div>

I followed the steps you 've done it again  
and i want to say thank y so much,because i can read date in list.

But I have a question  
I replace servo motor for led  
because i want when my data in dynamo can constantly updated  
it’s possible in arduino.unowrite node?

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [June 26, 2016, 6:44am UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/9 "2016-06-26T06:44:27Z")

</div>

A value of 1 (_Bool_ in the below screenshot) switchs ON the onboard LED (connected to pin 13) , while 0 switches it off

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/e/e9f165bf9f9f2c28cbe7ccb83dd3539ef4d485a6.png)

---

<div class="post-metadata">

**Author:** ![KalaCanel](https://avatars.discourse-cdn.com/v4/letter/k/ccd318/32.png) [@KalaCanel](https://forum.dynamobim.com/u/KalaCanel)\
**Post date:** [March 11, 2019, 6:18pm UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/11 "2019-03-11T18:18:50Z")

</div>

Hi…there are far more useful means of measuring the speed of pedalling than measuring the out put voltage of the generator. Bicycle generators output is probably far from linear in the first place.

Make life easy on yourself and use a reed switch attached to the chainstay and a small magnet attached to the chain ring like bike computers use and get exact results rather than a ball park / semi meaningless figure by trying to measure the AC from the generator.

[pcb assembly](https://www.7pcb.ca/PCB-Assembly-services/)

---

<div class="post-metadata">

**Author:** ![lucasbaisch](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/lucasbaisch/32/115448_2.png) [@lucasbaisch](https://forum.dynamobim.com/u/lucasbaisch)\
**Post date:** [April 19, 2021, 5:22pm UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/12 "2021-04-19T17:22:14Z")

</div>

They there. Thank you!  
I’, developing an projetc in Dynamo Autodesk Revit and… I have a inicial problem, my Arduino.UnoRead can’t read information from arduino. What’s happening, please?!

 ![Sem título](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/1/a1b7775a1f56925d38ff3b8b87fa1b9f1aad308e.png)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [April 20, 2021, 12:49pm UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/13 "2021-04-20T12:49:48Z")

</div>

You might need to modify the firmata.

> [@Firefly](https://forum.dynamobim.com/t/firefly/25102/4):
>
> Not sure about STM32F401RE, but for it to work with the current Arduino IDE, the firmata needs to be modified as outlined [here](https://muut.com/i/firefly/faq-frequently-asked-ques:error-uploading-firmata-in) Below is the altered version … /\* Created by Andrew Payne and Jason Kelly Johnson Latest Update March 25th, 2015 Copyright 2015 | All Rights Reserved This Firmata allows you to control an Arduino board from Rhino/Grasshopper/Firefly. Updates, Questions, Suggestions visit: http://www.fireflyexperiments.com 1. Plug Arduino boards into your USB port; confirm …

---

<div class="post-metadata">

**Author:** ![lucasbaisch](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/lucasbaisch/32/115448_2.png) [@lucasbaisch](https://forum.dynamobim.com/u/lucasbaisch)\
**Post date:** [April 21, 2021, 9:52pm UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/14 "2021-04-21T21:52:24Z")

</div>

Let me try and send something here.  
THank you Vikram

---

<div class="post-metadata">

**Author:** ![101222203](https://avatars.discourse-cdn.com/v4/letter/1/3ec8ea/32.png) [@101222203](https://forum.dynamobim.com/u/101222203)\
**Post date:** [September 10, 2022, 11:28am UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/15 "2022-09-10T11:28:09Z")

</div>

Guyz I need help. My project is Real time monitoring of temperature and humidity using Dynamo and Revit model only 1 room. Can anyone help me from where should I start. I just bought Arduino uno and DHT12 sensor.

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [September 12, 2022, 12:58am UTC](https://forum.dynamobim.com/t/dynamo-connected-to-arduino/4492/16 "2022-09-12T00:58:55Z")

</div>

Monitoring typically means you are trying to work in a fairly live manner. Dynamo doesn’t really work this way, you may need more developed software that works with the system in real time. I’d suggest as a starting point, get the data from your sensor at regular intervals and use Dynamo to process it (assuming it comes back in CSV format or something like that). From there you can look into how that part of the process could be automated, but focus on what you want to do with that data before you figure out how to automate capturing it.

I’ve seen SO many university projects like this, and they always get so caught up in using the wrong platform for the approach from the start, and never actually determine what data is important and how it should be used once collected. Focus on the data and use of that data first.

Here’s a thread discussing how to network up an Arduino. One suggestion talks about mySql and raspberry pi, so it’s quite technical I think. I think a web database would be needed if you want to write data realtime then scrape that data at a chosen time as a user:

> **[A network of Arduinos reporting to a central device or computer?](https://forum.arduino.cc/t/a-network-of-arduinos-reporting-to-a-central-device-or-computer/227624/10)**
>
> PeterH: spinjector: This would all be wired. There are half a dozen sites spread across 5 counties, about 35 miles at most, with microwave LAN bridges that use 802.11g over 900mhz diplexed onto the FCC licensed 950mhz band. But for the purpose of...
