Interrupt on PCF8574 using IR sensor

HI

I am trying to work on personal project and stuck need urgent help on this

I am using Arduino Uno with PCF8574 with breakout board which has led on p0 p1 output pin and p3 is the input pin
so the idea is when i have a Infrared sensor when ever it active then interrupt must generate and led on pin p1 must glow after some time it will go back to normal

while doing that i realize that IR sensor has vcc gnd and output so output must be the basic of interrupt for PCF8574 but i am not sure how to bind the ir with PCF8574 for this and to generate the interrupt i have to do somethings like manually combining the output of p0 and gnd together in that case only interrupt is generated but i want when ever the IR sensor is active interrupt should generated

if anyone has done something or some idea on this please help me on this

any sort of help will be really appreciated

i was able to solve this
below is the code repo

https://github.com/adarshkumarsingh83/arduino/tree/master/APPLICATION/arduino-pcf8574-ir-intrrupt-example

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.