Grasshopper

algorithmic modeling for Rhino

Information

Firefly

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: 400
Latest Activity: Oct 12

Firefly Experiments

Firefly offers a set of comprehensive software tools dedicated to bridging the gap between Grasshopper (a free plug-in for Rhino) and the Arduino micro-controller. 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.

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.

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.

Discussion Forum

Running steppers from a L293D board 2 Replies

Hi guysI tried figuring out how to get my newly bought stepper driver board, similar to Adafruit's to work with Firefly and especially the Quad stepper. Unfortunately, they are not really compatible and with quite some searching, the only proposal…Continue

Tags: L293D, Firefly, Motor, Stepper, Arduino

Started by Andreas Bested. Last reply by Andreas Bested Oct 1.

Problem with Serial Read

Hello everyone, I am a neophyte arduino and firefly. I'm using a simple sensor for measuring the temperature and its associated script, so not a script Firmata, I use FF for reading data, but when I use the "Serial Read" I can not see the data, I…Continue

Tags: sean.mckeever

Started by Emanuele Calabrò Sep 26.

Screen LCD 2 Replies

Hi, I´m quite new in arduino, I´m using a redboard, works fine, I´m wondering if anyone know how to control a LCD screen from firefly, I have a 16 character and 2 lines screen.there is a way to import liquidcristal module at the same time that…Continue

Started by jorge sainz de aja. Last reply by jorge sainz de aja Jul 14.

Mapping frames or video to non-uniform grid 5 Replies

Hey Andy-I'm working on simulating a non-uniform LED mesh using your amazing Firefly tools and am so close! But i've run into a few snags and it's time to bring in the big guns (you).First of all i tried loading a video into the video player and it…Continue

Tags: video, firefly

Started by Dan Weissman. Last reply by Dan Weissman Jul 10.

News

Loading… Loading feed

Comment Wall

Comment

You need to be a member of Firefly to add comments!

Comment by Emanuele Calabrò on September 26, 2014 at 12:53pm

it's an old screenshot, sorry

Comment by Andy Payne on September 26, 2014 at 12:53pm

Lastly, could you start a discussion topic about this issue instead of just posting to the wall.  That will help us track any issues and keep the comment wall more clean.  Thanks.

Comment by Andy Payne on September 26, 2014 at 12:52pm

PS, the 1023 value you're getting is not actually correct.  Either you have a hardware circuit error, which is causing your voltage to saturate around 5V (and thus the pin is returning it's maximum value of 1023) or you never actually got the firmata installed and it's returning some other number.

Comment by Andy Payne on September 26, 2014 at 12:50pm

Emanuele, it appears you're getting an error in the Arduino IDE... which may mean the firmata never actually got uploaded to your board.  Can you close Grasshopper, and try uploading the Firmata, and then restart Grasshopper?

Comment by Emanuele Calabrò on September 26, 2014 at 12:50pm

YES, i'm using "Uno Read" component and getting numbers out?

I'm using a DHT11, a DHT22 and a DS18B20

From 20 to 30 should give me values ​​and instead gives me about 1000

Comment by Emanuele Calabrò on September 26, 2014 at 12:45pm

Comment by sean.mckeever on September 26, 2014 at 12:23pm

Emanuele,

Can you perhaps upload an image screen capture of your issue?  And perhaps a link to the sensor you're trying to use.  Some sensors are more basic and some more complex than others.  

Are are you using the "Uno Read" component and getting numbers out?  

Comment by Emanuele Calabrò on September 26, 2014 at 10:30am

Ok, 

I did as you said but the sensors shoot numbers, when and where it is time to put the script of the sensor? 'Cause if I do not put it, sensor does not go

Comment by sean.mckeever on September 26, 2014 at 10:13am

Hi Emanuele,

From my brief work with firefly + various arduino sensors, you NEED to be using the Firefly Firmata for those components to read your Arduino inputs.  

It was confusing at first for me too.  Before you even engage the Grasshopper environment, you need to use the Arduino software to upload the Firefly Sketch (Firmata) to the Arduino board.  Read "Getting Started" here:

http://www.fireflyexperiments.com/resources/

THEN launch Grasshopper and try your Firefly Read components again.

Good luck, and keep at it!

Comment by Emanuele Calabrò on September 26, 2014 at 9:50am

Hi Andy,

I am using just the component Serial Read, not UNO Read.
I do not understand how to use Firmata. I do the upload at board of the first sketch from the site and after? How should I / can I use other scripts?

 

 

Members (400)

 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2014   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service