I have been experimentling with a PIR and have made a project that takes a photo on my Nikon when movement is detected.
My next project is get my Nikon to takes photo’s when wildlife breaks an infra red beam.
I recently purchased a couple of pairs of those 5mm Infra Red Break Beam sensors from you.
I have written a simple bit of code for a Raspberry Pi using mainly GPIO Zero to get them to work by simply connecting them across 5volts and ground and the data pin of the receiver to a GPIO. Eureka it works.
But for the life of me I cannot get them to work with a Raspberry Pico.
No matter what I do I can’t get the GPIO to detect a state of change.
I surrender. It would have been nice to have used a Pico for my project but a Pi will suffice. Any help or a simple bit of code for a Pico would be welcome.