well my sensor was not 5v tolerant its now a random number generator , in the bin
i give up