Pages: [1]   Go Down
Author Topic: Attaching 4 x Sharp GP2D120 IR Distance Sensor to one arduino board  (Read 170 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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! smiley
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8975
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Yes.
Logged

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

Pages: [1]   Go Up
Jump to: