check the wiring on your sensor. much to my dismay, i received a few that had wiring as follows:
Brown - Ground
Red - Signal
Black - 5v
it was strange connecting 5v to the black wire but it worked.
check the wiring on your sensor. much to my dismay, i received a few that had wiring as follows:
Brown - Ground
Red - Signal
Black - 5v
it was strange connecting 5v to the black wire but it worked.