Go Down

Topic: Can one IR sensor control two Arduino Unos? (Read 581 times) 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: 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!

via Egeo 16
Torino, 10131