algorithmic modeling for Rhino
Firefly offers a set of comprehensive software tools dedicated to bridging the gap between Grasshopper, (a free plug-in for Rhino) the Arduino microcontroller and other input/output devices. It allows near real-time data flow between the digital and physical worlds – enabling the possibility to explore virtual and physical prototypes with unprecedented fluidity.
Website: http://www.fireflyexperiments.com/
Location: Cambridge, MA
Members: 628
Latest Activity: Dec 12
As a generative modeling tool, Grasshopper offers a fluid visual interface for creating sophisticated parametric models, but by default, it lacks the ability to communicate with hardware devices such as programmable microcontrollers or haptic interfaces. Firefly fills this void. It is an extension to the Grasshopper’s parametric interface; combining a specialized set of components with a novel communication protocol (called the Firefly Firmata or Firmware) which together enable real-time communication between hardware devices and the parametric plug-in for Rhino.
Key Features
A notable distinction for Firefly is that it is the first visual microcontroller programming environment designed specifically for a 3-D parametric CAD package (such as Rhino). This feature means that real-world data, acquired from various types of sensors or other input devices (video cameras, internet feeds, or mobile phone devices, etc.) can be used to explicitly define parametric relationships within a Grasshopper model. Firefly completes the communication feedback loop by allowing users the ability to send information from Grasshopper back to the microcontroller in order to incite specific actuations (ie. lights, motors, valves, etc). Ultimately, this workflow creates a new way to create interactive prototypes.
Hi all.I'm recently working on a kinetic project involving a number of hobby servo motors controlled by a I2C PWM controller PCA9685. (or some of you refer to the famous Adafruit 16 channel 12-bit PWM/Servo Driver - I2C interface )I realize it would…Continue
Started by Victor Leung. Last reply by KieshaEFrederick Dec 12.
I have a prerecorded video clip that I'd like to run through the 'optical flow' component to generate an extra layer for my video.using the 'video player' as the input for the 'optical flow' component makes the outcome appear bumpy because the video…Continue
Tags: mediatypes, rawvideobitmap, opticalflow, framerate
Started by Johanna Jõekalda. Last reply by yogamaja Nov 25.
Hey There. A quick question: is there any way to synch Arduino/Firefly with HAL?I have a tool attached to my robot arm and I kinda manually control it through Arduino. I need to use Firefly to parametrically and maybe in almost real time (if…Continue
Tags: IRC5, Arduino, ABB, Firefly, Robot
Started by Mehdi FarahBakhsh. Last reply by GabrielaSullivan Mar 21.
Hi guys,I'm communicating with a 3D printer via Grasshopper / Firefly (and eventually) Silkworm.So far, I can quite happily send G-Code move commands to the printer - which is a Leapfrog Creatr, based on Arduino Mega / RAMPS electronics - via the…Continue
Tags: GCode, Read, Serial, Firefly
Started by fergal.coulter. Last reply by Aaron Porterfield May 16, 2022.
Loading feed
Comment
Thanks for your reply Andy!
Hi CarloMaria,
Unfortunately, Firefly isn't yet supported on 64-bit applications. Well, to be more accurate... the computer vision and audio tools aren't supported on Rhino 5 64-bit. This is because the C_sawapan_media.dll which is what Firefly uses to tap into the video capture devices and microphones isn't compiled for 64-bit applications (this was noted as a known bug in the ReadMe.txt file in the download zip file). It's on the list of things to work on over the next few months (it's actually a relatively big task to update that library)... but for now, if you want to use the Computer Vision and Audio tools, you have to use either Rhino 5.0 32-bit or Rhino 4.
Sorry for the confusion.
Cheers,
Andy
Ok Andy!! thank you very much for your suggestions, any way I changed my strategy, and I have used an other arduino board in the computer of my partner, to save up time. I will check forward these steps to try to knwo What-the-Fck is going on with mine!
Thanks for all!!
Hi Carlos,
For future reference, it's probably better to start a discussion (above) for more detailed questions... that way we can start a thread about the topic and track any questions all the way through. Nevertheless, the description of your problem makes me think that for some reason the data being sent from your arduino isn't being formatted correctly, and thus the Uno Read component is throwing an error when the incoming data doesn't match the expected format. You may have already tried this, but can you double check that you have loaded the Uno Firmata properly onto your board. You might have loaded the Mega Firmata onto your Uno board, in which case it may not be sending the right data over to Grasshopper. To see if the firmata is working properly, load it onto your board and then launch the serial monitor in the Arduino IDE (make sure your port is closed in Grasshopper and that the serial monitor baud rate is set to 115200). You should see a long string of data (separated by commas) streaming down the page. That is the string of data that is being sent over to Grasshopper... so if this is working properly, then you should be able to open the port in Grasshopper and then use the Uno Read component to retrieve that data and parse it up.
If this doesn't work, could you post a screen shot of your circuit, or provide more information about what type of sensor you are using? You mentioned a sound sensor (is that a microphone?). Hopefully we can figure this out before your deadline (although I'm currently out of town and do not have regular access to my computer... so I may be a little less responsive than usual).
Cheers,
Andy
Hi!!!
I'm having problems With the "UNO READ": it 's red all the time and no data is collected. I can "Write" and control manually some Leds, but not through the data collected by my sensors. I have developed an equalizer definition, And I need to control it With a sound sensor.
Even When I change the position of the USB in other sockets, always recognize that I'm using COM 3. Is this normal??
I hope you could help me to make it work, before Friday! It's my project delivery day.
Thanks,
Carlos
Thanks andy!
@Andy... this is really odd. it didn't work with my laptop's camera, plug in the PS Eye, and the laptop camera then works and it doesn't use the PS Eye. Tried disabling the laptop camera and it stopped capturing. No complaints, just thought i'd share that oddity. Main thing is, I can get it working now!
@ Andy... Got it working flawlessly with my PS Eye, guess my laptop's webcam is bunk.
Thanks for your help and the plugin!
I don't actual use Firefly that much I just joined the group to give you my insight on the uploading issue. I would suggest you start a discussion and use a website like Mediafire.com to upload your files to then you can post the links in the discussion.
---
In the interest of neutrality I would like to say that there are other file uploading websites available :))
Welcome to
Grasshopper
© 2024 Created by Scott Davidson. Powered by
You need to be a member of Firefly to add comments!