I ordered some infrared obstacle avoidance sensors from Amazon for a little project I'm working on. I am using them to power a relay. I got a 10 pack. I have tested 3. The problem is they don't seem to be working properly. When I plug them into the project, they power the relay when there is nothing in front of them and only turn off the relay when there is an obstacle in front of them. In other words, no obstacle=power output from sensor. Obstacle=no power output from sensor. Am I missing something here? Is it possible they came wrong from the factory? Like backwards?
Thanks!
Thanks!