OK this is what I’m showing today, I have a 47k resistor connected to GPIO 15 and 3.3v and a 47k resistor connected to GPIO 16 and 3.3v, its showing .50V going into GPIO 15 and .50V going into GPIO 16. SDA from my analog to digital converter is connected to GPIO 15 and SCL from my analog to digital converter is connected to GPIO 16. For the analog signal going to the ADC I have an adjustable voltage that can go from 0v to 2v or more.

Here’s the shell text:


| __ \ ()
| | | | ___ _ __ ___ _ _ __ ___
| | | | / _ \ | ’
` _ \ | | | '_ \ / _
| || | | () | | | | | | | | | | | | | | () |
|
/ _/ || || || || || || __/
OpenWrt Wireless Freedom
root@domino:~# ls
root@domino:~# opkg update
Downloading http://domino.io/firmware/pi/1.1/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_base.
Downloading http://domino.io/firmware/pi/1.1/packages/alljoyn/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_alljoyn.
Downloading http://domino.io/firmware/pi/1.1/packages/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_luci.
Downloading http://domino.io/firmware/pi/1.1/packages/management/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_management.
Downloading http://domino.io/firmware/pi/1.1/packages/oldpackages/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_oldpackages.
Downloading http://domino.io/firmware/pi/1.1/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_packages.
Downloading http://domino.io/firmware/pi/1.1/packages/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_routing.
Downloading http://domino.io/firmware/pi/1.1/packages/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_telephony.
root@domino:~# opkg install kmod-i2c-gpio-custom
Installing kmod-i2c-gpio-custom (3.10.49-2) to root…
Downloading http://domino.io/firmware/pi/1.1/packages/base/kmod-i2c-gpio-custom_3.10.49-2_ar71xx.ipk.
Installing kmod-i2c-gpio (3.10.49-1) to root…
Downloading http://domino.io/firmware/pi/1.1/packages/base/kmod-i2c-gpio_3.10.49-1_ar71xx.ipk.
Installing kmod-i2c-algo-bit (3.10.49-1) to root…
Downloading http://domino.io/firmware/pi/1.1/packages/base/kmod-i2c-algo-bit_3.10.49-1_ar71xx.ipk.
Configuring kmod-i2c-algo-bit.
Configuring kmod-i2c-gpio.
Configuring kmod-i2c-gpio-custom.
root@domino:~# rmmod gpio-button-hotplug
root@domino:~# insmod i2c-dev
root@domino:~# insmod i2c-gpio-custom bus0=0,15,16
root@domino:~# ic2detect -y 0
-ash: ic2detect: not found
root@domino:~# ic2detect -y 0
-ash: ic2detect: not found
root@domino:~# ic2detect -y 0
-ash: ic2detect: not found
root@domino:~# ic2detect -y 0
-ash: ic2detect: not found
root@domino:~# ic2detect -y 0
-ash: ic2detect: not found
root@domino:~# rmmod gpio-button-hotplug
kmod: module is not loaded
root@domino:~# insmod i2c-gpio-custom bus0=0,15,16
kmod: module is already loaded - i2c-gpio-custom
root@domino:~# insmod i2c-dev
kmod: module is already loaded - i2c-dev
root@domino:~# insmod i2c-gpio-custom bus0=0,15,16
kmod: module is already loaded - i2c-gpio-custom
root@domino:~# ic2detect -y 0
-ash: ic2detect: not found
root@domino:~# ic2detect -y 0
-ash: ic2detect: not found
root@domino:~# ls
root@domino:~# ls
root@domino:~#