BBBlue: How to read analog (ADC) inputs?

346 views
Skip to first unread message

Ryan Van Rooyen

unread,
Oct 5, 2017, 11:36:29 AM10/5/17
to BeagleBoard
I've read multiple articles showing ways to read the analog inputs on regular (BeagleBone Black) models, similar to what's described in this article:


But on my BeagleBone Blue, it appears none of these directories exist.  Does anyone know of a simple & correct way to read in the analog inputs (or even the regular gpio input/outputs) on the BeagleBone Blue?  Seems like there should be a similar way to read/write some system files to access the inputs/outputs?

Any help is greatly appreciated,
Ryan

Robert Nelson

unread,
Oct 5, 2017, 11:41:24 AM10/5/17
to Beagle Board, ryan.va...@gmail.com
Currently on the Blue, the ADC is tied up by the Robotics Library.

That library needs to be ported from mmap'ing the adc directly to iio..

Regards,


--
Robert Nelson
https://rcn-ee.com/

Patrick Poirier

unread,
Nov 23, 2017, 9:25:49 AM11/23/17
to BeagleBoard
@JasonKridner is this something that we can expect in the near future ? 

That would really make thing simpler, we have request on the AruPilot side as well to integrate the Battery Monitoring to make the BBBlue a better Flight Controler.

 
Reply all
Reply to author
Forward
0 new messages