Post a real picture of the setup, not a Fritzing mess.
The Fritzing can't work like that, because you haven't powered the Arduino,
and didn't connect sensor ground to Arduino ground.
There are no 5volt batteries either.
Leo..
Post a real picture of the setup, not a Fritzing mess.
The Fritzing can't work like that, because you haven't powered the Arduino,
and didn't connect sensor ground to Arduino ground.
There are no 5volt batteries either.
Leo..