Software Installation And Configuration; Raspberry Pi Os Kernel Module; Raspberry Pi Os Real Time Clock Installation - Sferalabs Iono Pi Max Series User Manual

Hide thumbs Also See for Iono Pi Max Series:
Table of Contents

Advertisement

Software installation and configuration
All features of Iono Pi Max can be used with any operating system, programming language
or framework compatible with Raspberry Pi.
The following sections describe how to install utility drivers for the Raspberry Pi OS
(formerly Raspbian) or to access its features from alternative set-ups.

Raspberry Pi OS Kernel module

The Iono Pi Max Kernel module can be used to easily access all of Iono Pi Max 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-max-kernel-module
for updated instructions and further details.
Download and install:
$ sudo apt install git raspberrypi-kernel-headers
$ git clone --depth 1 https://github.com/sfera-labs/iono-pi-max-kernel-module
$ cd iono-pi-max-kernel-module
$ make
$ sudo make install
$ dtc -@ -Hepapr -I dts -O dtb -o ionopimax.dtbo ionopimax.dts
$ sudo cp ionopimax.dtbo /boot/overlays/
Add the following line to /boot/config.txt:
dtoverlay=ionopimax
Optionally, to be able to use the /sys/ files not as super user, create a new group "ionopi"
and set it as the module owner group by adding an udev rule:
$ sudo groupadd ionopimax
$ sudo cp 99-ionopimax.rules /etc/udev/rules.d/
and add your user to the group, e.g., for user "pi":
$ sudo usermod -a -G ionopimax pi
Reboot:
$ sudo reboot
You will find all the available devices under the directory /sys/class/ionopimax/ and you will
be able to control all the exposed functionalities by simply reading/writing the
corresponding files from your application or any tool or framework that supports file
access.
Refer to the next chapter for usage details about each functionality.

Raspberry Pi OS Real Time Clock installation

The RTC is based on the Microchip MCP79410 which is natively supported by the
Raspberry Pi OS.
You can use the available "i2c-rtc,mcp7941x" dtoverlay by adding it in /boot/config.txt.
21
Iono Pi Max User Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Iono Pi Max Series and is the answer not in the manual?

Table of Contents