Rhino 8 with firefly - using arduino

I’m doing my work with rhino 8 using firefly. I tried to connect arudino, but firefly doesn’t work.

The error code is (1. solution exception:method not found: ‘microsoft.visualbasic.devices.ports microsoft.visualbasic.devices.computer.get_ports()’.)

I’m using arduino uno 3 in the COM3, and arduino 1.6.5 version. I must finish this work until 3/24, by rhino 8. (I’m using education version so I cannot use rhino 7…)

Any constructive help would be nice. Thanks in advance…

Hi

Thanks, I read this topic before.
no solution from rhino 8? So sad :smiling_face_with_tear:

sadly no firefly : Problem with port reading, while using firefly in grasshopper - #4 by AndyPayne
but you can use other methods.

Hi :smiley:, have you solved your problem, I have the same problem! :smiling_face_with_tear:

Hi guys, I had the same issue, and I have just written a new plugin that solves the issue, both on Rhino 7 and Rhino 8. It is about serial communication only,
The name is superSerial

https://www.food4rhino.com/en/app/superserial

I hope it helps, please let me know!
Fabio

2 Likes


Thanks for sharing this! Just gave it at whirl by connecting it to a motor driver board (which uses serial comm like Arduinos do). I never used Firefly for anything except its serial connection component, so superSerial is ideal for me if I ever return to connecting GH to micros.

Couple observations (R7):
Be aware that text input to the port parameter is case sensitive!
The component’s “available ports” did not detect any (had to use device manager to find it)

Hi Bruce,
thank you for you comment and useful observations!
I have added to the video tutorial a warning about the case sensitive.
I am updating the script with an info about the ports directly on the bubble at the beginning, as I think it might be a display issue. Just out of curiosity: are you on Rh7, windows, correct?
Have a nice day, Fabio

Yes, R7 on Win11.