BeagleBone Blue tests#

ADC#

rc_test_adc

GP0#

cd /sys/class/gpio;echo 49 >export;cd gpio49;echo out >direction;while sleep 1;do echo 0 >value;sleep 1;echo 1 >value;done
cd /sys/class/gpio;echo 49 >export;cd gpio49;echo in >direction;watch -n0 cat value

GP1#

cd /sys/class/gpio;echo 97 >export;cd gpio97;echo out >direction;while sleep 1;do echo 0 >value;sleep 1;echo 1 >value;done
cd /sys/class/gpio;echo 97 >export;cd gpio97;echo in >direction;watch -n0 cat value

UT1#

tio /dev/ttyO1 -b 9600

GPS#

tio /dev/ttyO2 -b 4800

I2C#

Grove I2C modules#

The Linux kernel source has some basic IIO SYSFS interface documentation which might provide a little help for understanding reading these entries. The ELC2017 conference also had an IIO presentation.

cd /sys/bus/i2c/devices/i2c-1;echo tsl2561 0x29 >new_device;watch -n0 cat 1-0029/iio\:device0/in_illuminance0_input
cd /sys/bus/i2c/devices/i2c-1;echo th02 0x40 >new_device;watch -n0 cat 1-0040/iio\:device0/in_temp_raw

Motors#

rc_test_motors