Hello, I'm new to all this and have a project. I have a Raspberry Pi Pico running Micro python and a few snap switches. I wanted to add to my project some kind of "Mini" sensor that would sit on top a servo and rotate over a brass ammo casing to see if there is powder in it and rotate back. I guess my question is what kind of sensor would work, or am I starting with the correct one? I got the idea from a video I found on YouTube and apparently its worked for him, I just need to know the components I would need to get it to work.
YouTube Video of what im looking to duplicate
I bought this IR sensor
YouTube Video of what im looking to duplicate
I bought this IR sensor