Interface and Application Programming
in this weeks assignment we had to read some and out put something. I wanted to explore the firefly plug in for grasshopper.
The installation is very easy. I downloaded the firefly plugin and the tutorial from firefly’s website. http://fireflyexperiments.com/resources/
In the tutorial there is a very clear explanation on how to use the arduino that communicate with the arduino board.After i plug in the arduino board i uploaded the scatch called firefly_firmata and the bord is ready to talk to the grasshopper.
In the grasshopper interface i used the firefly toolbar to open the arduino port and read data from it.
I connected a microphone sensor to the analog pin ( pin A0) and read the input from it.
then i build a simple code for some surfaces made of loft between a hex grid and a circle, getting the radius and the hight of the surfaces change by the reading from the sensor.