User Tools

Site Tools


projects:electronics:plc

This is an old revision of the document!


Steps to install an Iono Pi

This particular model is a IPMB20RP.

Following the instructions in the kernel module github page, all the examples seem to work. The kernel module is compiled for a specific kernel. If apt update/upgrade installs a new kernel, how should the module be recompiled?

Chatgpt gives some hints. First, it says I should install raspberry pi headers:

sudo apt install raspberrypi-kernel-headers

Then, it suggests putting the kernel module in a subfolder extra because that is a common folder for third party modules.

Usage

Reading the temperature from the file system seems to work:

  $ cat /sys/bus/w1/devices/28-0316458506ff/temperature 
  23875

The overlay for the onewire sensors seems to be called dtoverlay=w1-gpio

Links

projects/electronics/plc.1758928136.txt.gz · Last modified: by daniel