I have some problems at a project I am working on atm. I am about to build a cocktail-mix-machine.
Therefore I need to get analog values from some sensors.
Initialy it works well using analogRead(), but when I reached a certain point at the programm the analogRead() function always returns 0 until I reset the board.
It would be nice if someone maybe knows a solution for this problem or just tries to help me.