Friday, 16 August 2019

arduino - Daisy chain (parallel) of IR sensors


I've got 5 little Sharp IR sensors I need to wire to an Arduino.



These are the sensors: https://www.sparkfun.com/products/242


Trouble is, I need to put the connections in a relatively small area.


Is there any reason I shouldn't "daisy chain" them together in parallel like this?


schematic


simulate this circuit – Schematic created using CircuitLab



Answer



Each device has three terminals, not just the two that you show.


Yes, you can connect Vcc and Gnd in parallel to all of the sensors, but you'll need a separate Vo connection from each one to one of the analog input pins on your Arduino.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...