Analog To digital
Posted: Wed May 27, 2020 3:38 pm
Hi Guys
This is the first time I'm working with the A/D, I'm working with a 5v PSU the input voltage is connected to (A0) with a 10mv / degree input voltage. What has lost me is once you read the value then you multiply it by 500 Temp = fmul (ATD, 500) this is what I have seen in some examples. Should I not multiply it by 100 instead Temp = fmul (ATD, 100) which will display 1 degree for every 10mv. If I have got this all wrong and it has something to do with the power supply voltage then could someone please explain it to me
This is the first time I'm working with the A/D, I'm working with a 5v PSU the input voltage is connected to (A0) with a 10mv / degree input voltage. What has lost me is once you read the value then you multiply it by 500 Temp = fmul (ATD, 500) this is what I have seen in some examples. Should I not multiply it by 100 instead Temp = fmul (ATD, 100) which will display 1 degree for every 10mv. If I have got this all wrong and it has something to do with the power supply voltage then could someone please explain it to me