debian i2c-dev
#7
Big Grin 
(12-16-2016, 08:09 AM)pine.adam Wrote:
(12-16-2016, 08:06 AM)KnReLe Wrote: Hardware-wise you seem to be OK. The problem is with high-level software (the python library that talks to the /dev/i2c-1 device).

You might want to check out the RPi.GPIO-PineA64 library that was linked to by martinayotte on this thread;

http://forum.pine64.org/showthread.php?tid=2935

I haven't done that much with this myself, but the idea is to provide a similar utility library for the PineA64 as is seen on Raspberry Pi machines.

Will do - I was just in the process of digging through the ADS1x15 python code to try to understand it a little better.

Thanks!

-Adam

Was messing with the pine today and realized I didn't need the ADS1115. Used my arduino uno instead.
Successfully measuring 0-5v through the analog input and python code watching the the arduino output connected through the usb/serial.
Even better, writing to a .csv file 

had a 3.3v through a 10k ohm potentiometer watching the outputs change.

Had to leave some work for Monday - add 1min delay in voltage print loop, add date/time stamp, and write to a new line in the .csv instead of overwriting first line in every instance.
should be pretty simple. 

Happy to be doing this on the pine.

Thanks!
  Reply


Messages In This Thread
debian i2c-dev - by pine.adam - 12-15-2016, 09:32 AM
RE: debian i2c-dev - by KnReLe - 12-16-2016, 02:49 AM
RE: debian i2c-dev - by KnReLe - 12-16-2016, 05:19 AM
RE: debian i2c-dev - by pine.adam - 12-16-2016, 07:31 AM
RE: debian i2c-dev - by KnReLe - 12-16-2016, 08:06 AM
RE: debian i2c-dev - by pine.adam - 12-16-2016, 08:09 AM
RE: debian i2c-dev - by pine.adam - 12-16-2016, 04:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian installer on Pine A64+ but no hdmi mrwick 1 4,930 07-28-2020, 01:49 PM
Last Post: kuleszdl
  Debian Pine64 h264/5 Video under vlc ozcy 6 12,879 04-15-2020, 05:27 AM
Last Post: dmitrymyadzelets
  OMV/debian/systemd: how to start the network kittyland 0 2,974 12-10-2019, 05:29 PM
Last Post: kittyland
  Debian 10 (Buster) in deep freeze - includes support for Pine64+ amp 5 10,193 07-22-2019, 09:29 PM
Last Post: amp
  Pine64 Debian Stretch/mainline [4.14.7] CallMeFoxie 50 122,044 07-22-2019, 09:24 PM
Last Post: amp
  Installing Debian with the Debian Installer (Buster RC1) amp 1 4,798 06-28-2019, 12:35 PM
Last Post: Kaarme42
  Script to build pure Debian images for Pine64+ amp 1 4,232 05-01-2019, 09:09 PM
Last Post: tllim
  Debian (Stretch) for Pine64-LTS wgray 2 6,331 04-04-2019, 09:54 PM
Last Post: wgray
  Is there just one fuctioning Debian Desktop image? KNERD 7 13,191 03-29-2019, 02:00 AM
Last Post: desai_amogh
  (ARCHIVED) Debian Jessie Images (3.10.102 BSP Kernel) New Release lenny.raposo-pine64.pro 259 465,362 05-21-2018, 06:30 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)