Go Down

Topic: Attaching 4 x Sharp GP2D120 IR Distance Sensor to one arduino board (Read 225 times) previous topic - next topic

Hi all!
I was just wondering if its possible to attach 4 x Sharp GP2D120 IR Distance Sensor to one Arduino Eleven (essentially arduino uno) board. I've read some articles that say you can and others that say you can't. I think what I've deduced is that you can't run them at exactly the same time but maybe run each at fraction of a second delays. Is it just as simple as putting each output cable from the sensor into a different analogue pin in the arduino board? And if so what sort of code could I use to enable the delays (if that is the correct way to do it).
I really appreciate the help and sorry for my lack of knowledge, I have very little experience in mechatronics or Arduino and have been thrown in the deep end at uni!
Thanks in advance! :)

johnwasser


Is it just as simple as putting each output cable from the sensor into a different analogue pin in the arduino board?


Yes.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy