I have a couple of locations that I have built a multi sensor based on the Arduino. One of the sensor functions is monitoring doors/windows. As example, in my garage, I have 2 garage doors (manual), 3 windows and 1 man door. I have a magnetic sensor at each of these locations. I wired them in series so that if any one of them gets triggered, the arduino will know and set the garage door/window device to open.
It seems somewhat unreliable. The arduino is fine, just monitoring those 6 sensors in series does not always alert when I enter the door. On the arduino, one of the wires for the series circuit goes to GND and the other goes to the digital pin that I am monitoring.
Here is my question - would it be better to have one end of the circuit going to 3V (rather than GN) and then to the pin I am monitoring. Stated another way, it is better for long distances to use GND or actual voltage (3V)?
Hope this makes sense.
It seems somewhat unreliable. The arduino is fine, just monitoring those 6 sensors in series does not always alert when I enter the door. On the arduino, one of the wires for the series circuit goes to GND and the other goes to the digital pin that I am monitoring.
Here is my question - would it be better to have one end of the circuit going to 3V (rather than GN) and then to the pin I am monitoring. Stated another way, it is better for long distances to use GND or actual voltage (3V)?
Hope this makes sense.
Comment