Grasshopper

algorithmic modeling for Rhino

Hey guys,

I am having troubles to get Firefly working. I want to read and write data to my Arduino Micro, but I don't receive any data in the Serial Read Component.

I just made a very simple "Hello World!" set, but the Firefly read component doesn't seem to work. However the LED on my Micro blinks, so the code arrived there for sure.






I am using Rhino 5 64bit (also tried 32bit) latest GH and an Arduino "Micro". Could it be a problem with my .NET? (I am using version 4)

Did I miss something important? I also tried different BaudRates

Any help would be of great appreciation. Thanks a lot.


Greets
Benjamin

Views: 793

Replies to This Discussion

Try changing:

Serial.print("Hello World");

to

Serial.println("Hello World");

I tested here and this works.

Hi,

I tried it, no success. Did you test it with an Arduino Micro?? I made some tests today with an Arduino Duemilanove everything worked just fine. The generic read as well as Uno read / write...

Only the Micro doesn't respond, I even checked on two different ones.

I also tried what you wrote here. No success.

Which Atmel chip does the micro have?

It has the Atmega32u4.. so in the Firefly Firmata it responds to the parts that actually written for the Leonardo boards. I attempted to just adjust the number of pins in the Firmata.

I now made a work around by using my Duemilenove board with Grasshopper (Uno Components) and sending the signals from Duemilenove PWM pins to the Micro Analog Inputs.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service