No edit summary |
No edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[:File: | '''Task 4''' "Using cables to control objects in Max" | ||
<br>Based on task 2 "Jitter", I want to build a connection between the virtual pattern object and physical equipment that we can have an interaction with the virtual world. | |||
Using 6 cables on Arduino to input serials to max, I connect converted inputs from arduino (physical equipment)to max that I can control each axis by 6 cables (Analog0-- Analog5). For instance, when I touch the cable (to change value) which inserts in pin A0, position X of the object will change in certain range, other cables can be inserted in 3.3V, 5V or GND to keep stable voltage that you can see the change obviously. | |||
*[[:File:Arduino signal sphere 6cables.maxpat]] | |||
*[[:File:AnalogReadSerial.ino]] | |||
Furthermore, I use a gyroscope (GY521) on arduino to detect the moving direction, particles in max will follow the direction in 3 axes. Virtual patterns interact with the physical world still have many possibilities. | |||
*[[:File:tut_02_particles.maxpat]] [https://www.youtube.com/watch?v=TRgX7rVgSAE] | |||
<br>'''Task 3''' "OSC" | |||
<br>Using SoundcollOSC app to connect with Max. Drag the slider/volume or turn on/off the button on the app, the serials receive by max and vice versa. OSC received from SoundCool app, and outputs to Arduino and Sound. | |||
*[[:File:Network-OSC.maxpat]] | |||
<br>'''Task 2''' "Jitter" | |||
<br>I build a camera, a window, and three-dimensional objects in this patcher, control the position and rotate in X, Y and Z axis. Objects also can be controlled by using "object: join" to a certain place in a certain time. (Mega helped me to edit the patcher easy to read and understand). | |||
*[[:File:Jitter_Graphic_test3.maxpat]] (miga edit) | |||
*[[:File:0517 Jitter_Graphic_test2.maxpat]] | *[[:File:0517 Jitter_Graphic_test2.maxpat]] | ||
*[[:File: | <br>'''Task1''' "dimmer" | ||
<br>If you drag the slider in patcher, you will find the LED which inserts in PWM pin change brightness. | |||
*[[:File:dimmer LY.maxpat]] | |||
[[:File: | *[[:File:Homework.maxpat]] | ||
<br><br> | |||
*[[:File:you-4020.pdf]] |
Latest revision as of 04:25, 28 October 2018
Task 4 "Using cables to control objects in Max"
Based on task 2 "Jitter", I want to build a connection between the virtual pattern object and physical equipment that we can have an interaction with the virtual world.
Using 6 cables on Arduino to input serials to max, I connect converted inputs from arduino (physical equipment)to max that I can control each axis by 6 cables (Analog0-- Analog5). For instance, when I touch the cable (to change value) which inserts in pin A0, position X of the object will change in certain range, other cables can be inserted in 3.3V, 5V or GND to keep stable voltage that you can see the change obviously.
Furthermore, I use a gyroscope (GY521) on arduino to detect the moving direction, particles in max will follow the direction in 3 axes. Virtual patterns interact with the physical world still have many possibilities.
Task 3 "OSC"
Using SoundcollOSC app to connect with Max. Drag the slider/volume or turn on/off the button on the app, the serials receive by max and vice versa. OSC received from SoundCool app, and outputs to Arduino and Sound.
Task 2 "Jitter"
I build a camera, a window, and three-dimensional objects in this patcher, control the position and rotate in X, Y and Z axis. Objects also can be controlled by using "object: join" to a certain place in a certain time. (Mega helped me to edit the patcher easy to read and understand).
Task1 "dimmer"
If you drag the slider in patcher, you will find the LED which inserts in PWM pin change brightness.