Kim
0
1
10
11
100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
final
Along with working on the final project, I wanted to simulate my final project; the table lamp arm reacts with the light.
Even though it is not what this week's assignment is looking for, I started by making a simulation with Grasshopper, which is the closest thing to programing from tools I'm comfortable with.
I made a grasshopper script that takes the value from the phototransistor and moves the IK structure of my table lamp arm.
The arm goes lower when the sensor gets the light, and the arm goes higher when it gets darker.
I made simmilar simulation in Fusion360 before but I've never made an IK structure script, so I watched some tutorials to learn the basics of Kangaroo, Grasshopper physics symulation plugin, through tutorials.
At the first try, joints were not rotating around the axis but behaved like a ball joint.
The short demo above is the first success of the stable movement of the IK structure controlled by input numbers. The next step is to connect values from phototransistor to the grasshopper by using Firefly to controll arms from re-mapped domain of values from phototransistor.
This practice is the extension of what I did at Input device week. Full Grasshopper file is in files tab below.
Rhino + Grasshopper
Arduino IDE
Files