Go Down

Topic: Can one IR sensor control two Arduino Unos? (Read 985 times) previous topic - next topic

drwhofan

Hi,

That's the simple question - can I wire up one cheap IR sensor like this (https://www.sparkfun.com/products/10266) to control two different arduino unos simultaneously from one remote?  Is it just a simple matter of running three leads from the sensor to each arduino or is it more complicated than that?  It usually is with arduino, I've found.  Thought I'd ask first.

Thanks.

johnwasser

Yes.  You have to hook the GND pin to Ground on BOTH Arduinos.  The OUT pin goes to a digital input pin on each Arduino.  The Vs pin connects to +5V on one of the Arduinos.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp


Go Up