GPIO configuration
Iono Pi needs to have no internal pull-up/pull-down resistors enabled on the GPIOs
connected to its digital inputs.
A simple way to override the default configuration is to use the "gpio" overlay - add the
following line in /boot/config.txt:
gpio=16,19,13,12,6,5=ip,pn
This is not required if using the Kernel Module (see below) or if the GPIO configuration is
performed by your application.
Disabling Bluetooth and WiFi
The Iono Pi board works with Bluetooth and WiFi enabled, but you can disable both
interfaces if you need to turn off the Raspberry Pi’s onboard radios.
To disable Bluetooth, edit /boot/config.txt and add these lines at the end of the file:
# Disable Bluetooth
dtoverlay=pi3-disable-bt
You may also run the following command to disable the Bluetooth HCI UART driver:
$
sudo systemctl disable hciuart
To disable the WiFi, one convenient solution on Raspbian distributions is to blacklist the
WiFi driver. Edit /etc/modprobe.d/raspi-blacklist.conf and add these lines at the end of the
file:
# Disable WiFi
blacklist brcmfmac
blacklist brcmutil
Iono Pi Kernel Module
The Iono Pi Kernel Module can be used to easily access all of Iono Pi features via a sysfs
file system.
Refer to the following instructions to download and install the module or go to:
https://github.com/sfera-labs/iono-pi-kernel-module
for updated instructions and further details.
Download and install:
$
sudo apt install git
$
sudo apt install raspberrypi-kernel-headers
$
git clone --depth 1 https://github.com/sfera-labs/iono-pi-kernel-module.git
$
cd iono-pi-kernel-module
$
make
$
sudo make install
$
dtc -@ -Hepapr -I dts -O dtb -o ionopi.dtbo ionopi.dts
$
sudo cp ionopi.dtbo /boot/overlays/
Add to
/boot/config.txt
the following line:
dtoverlay=ionopi
24
Iono Pi User Guide