Hi,
I want read the ain7 value in BBB.
But following command's result is empty.
# find /sys/ -name "ain*"
How to read?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I want read the ain7 value in BBB.
But following command's result is empty.
# find /sys/ -name "ain*"
How to read?
Ahn said:3871 what that means? 3.871v?
ADC input voltages cannot exceed VREFP, which is 1.8V in BBB. This is the binary value that is read from AIN7 in decimal representation. This would correspond to 1.8V * (3871 / 4096) = 1.7V
Ahn said:How to determined VREFP?
This is the ADC reference voltage. It's either provided on processor pins or taken from internal source. Read the AM335X documentation for details.
Ahn said:Is VREF of am335x always 1.8V?
Not necessarily, but if 1.8V positive reference and GND negative reference is used you will get best performance from the ADC.