GMU:Max and I, Max and Me/Anna Lena Ruth Wissmueller: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 29: Line 29:




Arduino light sensor
Arduino light sensor + LED pin


[[File:20210505_105113.jpg|400px]]
[[File:20210505_105123.jpg|400px]]


the code i used:  
<gallery>
File:20210505_131826.jpg
File:lightsensor.jpg
</gallery>


// global variables


int sensor = A1;
Problems / Questions:
- when i try to connect the scale to the slider the led pin and the built in led starts blinking fast and i can't control the led pin with the light sensor


 
- what is the meaning of the select numbers "13, 10, 50, 51"?
void setup() {
 
// put your setup code here, to run once:
Serial.begin (9600); // start serial
}
 
void loop() {
 
// put your main code here, to run repeatedly:
 
 
int sensorValue = analogRead (sensor);
 
 
Serial.println (sensorValue);
}
 
 
Problems i encountered while trying to connect max msp and the arduino:
 
- when i try to run the patch from the first tutorial the numbers don't show on the console  / print isnt working
- led does not light up while running the code

Revision as of 11:23, 5 May 2021

22.4.2021:

getting to know max msp

File:Max MSP.mp4

i tried to run two counters at the same time to create two different melodies playing simultaneously but it didn't work


29.4.2021: sound and video analysis



i followed the tutorials and added the object "print" to both patches


interesting project: https://www.youtube.com/watch?v=6GIP5VDdQ18

(light sensor of an arduino connected to max msp)


6.5.2021


Arduino light sensor + LED pin



Problems / Questions:

- when i try to connect the scale to the slider the led pin and the built in led starts blinking fast and i can't control the led pin with the light sensor

- what is the meaning of the select numbers "13, 10, 50, 51"?