- Thu Jun 25, 2015 1:00 pm
#182916
I am using an ATMEL ATMEGA 324p. So, we use microcontroller's analog input pin to give an input voltage of 0 to 5V from sensors, etc (first, we scale down the voltage to 0 to 5V using voltage dividers, as microcontroller only accepts maximum of 5V)... what about current values... what if i am using a current transformer and need to give that input to microcontroller...
And I have another doubt as well, what is AREF pin for ??? Should we give an input of 5V to that pin compulsorily or what it is for.
Suppose I have to compare two analog values of 0 to 5V (one is reference which is set by POT and another is coming from speed feedback) and based on the error of these two signals i have to control a variable... how should it be done...
Thank you
Time and effort spend for helping - Very much appreciated.
And I have another doubt as well, what is AREF pin for ??? Should we give an input of 5V to that pin compulsorily or what it is for.
Suppose I have to compare two analog values of 0 to 5V (one is reference which is set by POT and another is coming from speed feedback) and based on the error of these two signals i have to control a variable... how should it be done...
Thank you
Time and effort spend for helping - Very much appreciated.