Pages: [1]   Go Down
Author Topic: Can one IR sensor control two Arduino Unos?  (Read 354 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 180
Posts: 8108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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

Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Awesome!  Thanks.
Logged

Pages: [1]   Go Up
Jump to: