senadj

Results 3 comments of senadj

I am using customized "firmata" for my arduino UNO and I am hitting the same problem with LM35 and another Hall-effect sensor. I found that readings are stable as long...

I did just now (using 5,10,25,125ms). Now read order does not matter - in both cases LM35 sensor readouts floats. It seems the problem got worse, no stable reads anymore....

Your second example is sufficient in my case. But you should use int datatype to store 10bit readouts (hallPinVal and lm35PinVal). I would guess only particular sensors benefit from dummy...