can you make the servo move from 90 degrees to 0 in steps based on how close someone is the sensor? I am curious because I've been wanting to get into this stuff for a couple years now, but haven't had the resources. I hope to enter an art & technology MFA program and arduino is kind of central to my ideas.
Cool stuff, that you are doing. I like that you are cataloging the discovery process. It's research.
@neutronine Yeah, you would map the analog input voltage from the sensor (values 0-1023) to the 180 degrees of the servo - mappedValye = map(inputReading,0,1023,0,180);
can you make the servo move from 90 degrees to 0 in steps based on how close someone is the sensor? I am curious because I've been wanting to get into this stuff for a couple years now, but haven't had the resources. I hope to enter an art & technology MFA program and arduino is kind of central to my ideas.
Cool stuff, that you are doing. I like that you are cataloging the discovery process. It's research.
neutronine 3 months ago
@neutronine Yeah, you would map the analog input voltage from the sensor (values 0-1023) to the 180 degrees of the servo - mappedValye = map(inputReading,0,1023,0,180);
ohotis 3 months ago
Exactly. Awesome. you seem like you have learned a lot of new stuff since I last saw you. cool.
neutronine 3 months ago