The analog input AIN7 is connected on-board to the 3.3V power line over a 
50/50 voltage divider. Just get the input of AIN7 to measure the (half) 
board voltage.

One solution to fetch AIN7 inputs is libpruio 
<http://beagleboard.org/project/libpruio/>. Check out the (pre-compiled) 
examples, ie trigger 
<http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/ChaExamples.html#SubExaTriggers>
 
to show a graph of the inputs at AIN4 and AIN7 in a window. Or example 1 
<http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/ChaExamples.html#SecExaSimple>,
 
which exports 13 lines of sampled ADC values. AIN7 is in the last column, 
scaled as 16 bit value (*0xEE40* * 2 * 1.8 V / (4095 * 16) = 3.35 V)

Am Donnerstag, 17. Juli 2014 00:39:37 UTC+2 schrieb chris...@gmail.com:
>
> Hi,
>
> Is there a way to measure a BBB's supply voltage from within the Linux OS? 
>   I was thinking about connecting one of the VDD_3V3 pins to a analog GPIO 
> input and measuring that but I'm not sure if that's a good idea or even 
> possible. 
>
> Thanks,
>
> Chris
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to