windozeuser
Member
Hey Board,
I have a 120VAC In-fared sensor and I need to interface it to an I/O pin to the Arduino. I'm making a counter, and I want to count every time the sensor "Sees" something. So it would be a change in the Digital I/O pin, as an interrupt.
The problem I'm having is that the sensor is 120VAC and the Arduino I/O pins are 5VDC also it seems the sensor reads about 2.9VAC RMS when it sees the thing I want it to see, and the voltage increases to 116VAC Rms when it doesn't. It seems I need a circuit that can sense increasing AC voltage to trigger a digital 5V on/off response. Not sure how to approach this. I was measuring with a multi-meter, not sure if this sensor operates on current or voltage, it controls a solid state relay as the input to it in the device I'm modifying, then the relay controls an actuator. So the relay coil is connected directly to the sensor.
The sensor is an MP-D0130A but I cant find any datasheet on it..
I have a 120VAC In-fared sensor and I need to interface it to an I/O pin to the Arduino. I'm making a counter, and I want to count every time the sensor "Sees" something. So it would be a change in the Digital I/O pin, as an interrupt.
The problem I'm having is that the sensor is 120VAC and the Arduino I/O pins are 5VDC also it seems the sensor reads about 2.9VAC RMS when it sees the thing I want it to see, and the voltage increases to 116VAC Rms when it doesn't. It seems I need a circuit that can sense increasing AC voltage to trigger a digital 5V on/off response. Not sure how to approach this. I was measuring with a multi-meter, not sure if this sensor operates on current or voltage, it controls a solid state relay as the input to it in the device I'm modifying, then the relay controls an actuator. So the relay coil is connected directly to the sensor.
The sensor is an MP-D0130A but I cant find any datasheet on it..
Last edited: