IFD:Fire Water Air and Earth. And Electricity!/Shuyan: Difference between revisions

From Medien Wiki
Line 6: Line 6:
NOTICE: you should upload your Ardunio first to build the connection between your Arduino IDE and your sensors before you run the processing code, so that the connection between processing and TouchOsc will not occupy the serial port.
NOTICE: you should upload your Ardunio first to build the connection between your Arduino IDE and your sensors before you run the processing code, so that the connection between processing and TouchOsc will not occupy the serial port.
So in this work, I was using the push controls in TouchOsc to control the rotation of servo in Ardunio side. Processing was used to receive the data of TouchOsc and read the data of the controls to be sent to the servos in Arduino side.
So in this work, I was using the push controls in TouchOsc to control the rotation of servo in Ardunio side. Processing was used to receive the data of TouchOsc and read the data of the controls to be sent to the servos in Arduino side.
[[File:Port.jpg]]
[[File:port2.jpg]]
[[File:shusketch.jpg]]
[[File:sketchshu.jpg]]


== Development ==
== Development ==
When I was choosing to use the servos, I wanted to build my mobile phone as a portable controller to control the movement of an object. So it literally can be developed into many other contollers, such as remote Car controller, remote Fan controller, etc.
When I was choosing to use the servos, I wanted to build my mobile phone as a portable controller to control the movement of an object. So it literally can be developed into many other contollers, such as remote Car controller, remote Fan controller, etc.