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.

  • hassan.orion

    m using rhino 4 sr8, which grasshopper version will firefly 3 works? firefly 4 wasnt working withit nor is 3?
  • Andy Payne

    Hi Hassan,

    I'm a little confused by your question.  Are you saying that Firefly 1.003 or 1.004 are not working on your machine (with Rhino 4 SR8)?  Have you made sure to remove any previous installation files?  Check these locations to make sure any old installations of Firefly have been removed:

    C:\Program Files (x86)\Rhinoceros 4.0\Plug-ins\Grasshopper\Components

    C:\Users\username\AppData\Roaming\Grasshopper\Libraries

    Then, go to www.fireflyexperiments.com and download the latest version (which is 1.005... released last week).  Please follow the installation instructions found on the download page (you have to copy/past two files into the proper directory).  If this is still not working, could you please post a screenshot of the error message or provide a little more information so we can help you debug this problem.

    Thanks,

    Andy

     

  • hassan.orion

    Hi ,

     Thanks for helping me out... i just checked , i have rhino Sr7.  my error is same as this one http://www.fireflyexperiments.com/discussions/post/1232576.

    Error something about newer version ... SDK...

    Its mentioned over there that firefly will work on 0.7.0053, but this version is asking for SR8. Now the prob is SR8 s askin for Key which i hav lost ... where can i find SR8 or is there any way of running Firefly on my current settings ( SR7 + 0.6.0059)  as this version is supporting geco and rabbit too

  • Andy Payne

    Hi Hassan,

    Unfortunately... there was a big shift in the core infrastructure between the older builds (0.6.0059) and the newer ones 0.8 and higher.  The move was made to make Firefly compatible with the newer version because all future versions of GH would be using this new Rhino common... so unfortunately, Firefly will not run on older versions of GH.  You could try to download and install an evaluation version of Rhino (http://download.rhino3d.com/rhino/4.0/evaluation/download/).  This is a fully functional version, but it will only allow you to save 25 Rhino files.

    HTH,

    Andy

  • hassan.orion

    Hi,

    I bought Arduino UNO just 2 days back. i tried some LEDs it was fine. now when i am upto Stepper motor, i cant afind any logic to feed numbers in grasshopper that does cyclic rotation. i have moved it in Arduino software ( processing type) . now i want to have controlled radian rotation.

     

    hassan

  • hassan.orion

    can anyone tell me how to run a stepper motor from arduino uno???  its working fine in processing and ardunio sketches
  • Andy Payne

    Hi Hassan,

    Sorry for not responding sooner.  Jason posted a stepper solution on the Firefly Experiments website.  Check out this discussion and let us know if you need more help:http://www.fireflyexperiments.com/discussions/post/1438445

  • hassan.orion

     

    Can the definition work without the Easy driver board. ?  Please guide me how to run it through grasshopper?? i cant buy any more boards...i just need to feed (1000 0100 0010 0001 ) numbers in sequence to stepper through Gh. i hope this will get it running... isnt this possible in gh....?

     

  • Andy Payne

    Hassan,

    The generic Serial Write component allows you to send any string you want out to the board... So, you can send the value (1000 0100 0010 0001 ) very easily just using the generic serial write (as in the stepper example).  The only tricky part is you have to parse through the data being sent over the serial port and get it into a format that can be read by the board.  Please look through the stepper example code, as this is taking the data sent over from the board and processing it so it can control the easy driver board.  I'm assuming that since you know exactly how you want the data to be sent to the board, that it shouldn't be too hard. 

  • hassan.orion

    i download  " easy drive stepp potentiometer  code" its still not working... can u send me any simple def. that just roates a 4 wire stepp motor.Untitled.png... m a newbe n m stuk since 2 weeks
  • hassan.orion

    could you please giude me step by step. i ll be very thankfull
  • hassan.orion

    i m uploading standat firmata2_2_for uno_3... just mentioning if there s any prob with that.

     

  • hassan.orion

    ok. thanks, i ll be waiting
  • claudemit

    hi,could I upload some data to pachube directly with firefly without processing? I receive some data from sensors through arduino,make some deal with them and want to send some of the data to pachube .It's a little trouble that doing the same thing in two software.
  • Andy Payne

    Hi claudemit,

    At the moment, there is no way (with Firefly) to post data to Pachube.  Its been on my list of something to consider implementing into the tool set, I just didn't know if there was a lot of demand for it.  But, I can take a look at it.  It will likely be a little more complicated as it requires more information to create a feed (than just downloading the current values).  I'll try to take a stab at it, but I don't know when I'll have a time-frame on the next release.  Sorry that I don't have a better solution at the moment, but thank you for your feedback.

    Cheers,

    Andy

  • claudemit

    hi andy,

    Thanks for your reply.I think we can download the date of some existing buildings from pachube,and then make some simulation and different optimizations in grasshopper or Physical models.It will be funny to show the comparison diagrams on pachube.well,it's just some random thoughts about the "demand".

  • Gia Djahaia

    Presentation of «Branchpoint: Interaction» Workshop on Strelka School 2011 student project of Interactive cluster.
    Arduino+2 Infrared Proximity Sensors, Firefly(Grasshopper), Kinect, vvvv.

    Students:
    Aleksandr Stepanov
    Maksim Pesov
    Anna Misharina
    Nelly Kareva
    Ekaterina Kapatun

    Mentors:
    Eduard Haiman
    Vadim Smakhtin
    Giya Djahaya

    Branchpoint.ru
  • Gia Djahaia

    Branchpoint Interaction Workshop on Strelka 2011.
    Interactive cluster workflow.

  • Andy Payne

    Hi Giya,

    Great videos... Very fun.  I really like the dance floor visualization. Congrats!

    -Andy

  • Gia Djahaia

    Thank you. Btw we were lacking of some features in firefly while developing speedometer based on two proximity sensors and arduino.

    We had to rewrite the bang (TogEdge) component and FlipFlop component like they are in vvvv to grasshopper in order to perform needed boolean operations. And grasshopper timers are awful. We need normal flexible counters!

    So my "wishlist" for next firefly release is about adding this features. I will appreciate if you implement these things.

    Cheers.

    -Giya.

  • Andy Payne

    HI Giya,

    Thanks for the suggestions. I have to admit that I'm not an expert in vvvv and as such I don't exactly know how the TogEdge and FlipFlop components work.  If you could describe how they work (and how they might be applied in a normal setting) I could definitely look into adding this functionality into Firefly.  Also, if possible, I'd like to move this discussion over to the Firefly forum so it can be tracked more closely: http://www.fireflyexperiments.com/discussions/post/1579096?lastPage...

    Thanks again for your input.

    Cheers,

    Andy

  • EliseElsacker

  • claudemit

    hi,I meet a problem,when i  send some data to grasshopper with the serial read,the UNO read shows error:solution exception:conversion from string "23.20" to type 'integer' is not valid. How can i solve this problem?

  • Andy Payne

    Hi claudemit.  Do you think you could upload a screenshot of your definition?  I'm just curious to know how you setup your definition/arduino sketch to see how I can help troubleshoot your problem.

    Cheers,

    Andy

  • claudemit

    hi andy,I use the DPin2 connect a Temperature &Humidity sensor AM2302 with  the library written by  http://www.ladyada.net/learn/sensors/dht.html. if I send the result to firefly meanwhile i use the "UNO read " ,it just show "solution exception:conversion from string "23.20" to type 'integer' is not valid" and not work.I have tried to change the type of the result ,as integer and  float,but it comes out similar error . So i reedit the arduino file like this,it seems to solve my problem.Firefly_UNO_Firmata.pde Please give me some suggestion.