Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello!
The problem is if i try to read the analogin value with .read() function i get a lot of noise. Its constantly measureing values like 0,1 up to 0,25 sometimes even tho theres nothing connected to those pins. If i dont add any wait time between measurements it seems to work better. It almost looks like that if i wait like a second between the read()'s then it adds up all the noise to a big number. Or is there some grounding issues? MBED is taking its power from USB so im guessing it should get the grounding from there aswell. Tested other AnalogIn ports aswell. Same thing.
Its impossible to use any kind of sensor, if it keeps measureing so big seemingly random numbers.
Thanks for any help,
Joel