Go Down

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



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.



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