PTH's embedded Raspberrypi tools and tweaks

From chriesibaum wiki
Revision as of 09:23, 12 August 2021 by PTH (talk | contribs)
Jump to navigation Jump to search

I2C

Enable I2C support by configuring the interface with raspi-config and do a reboot to load the kernel drivers.

Check if the kernel drivers were loaded at startup:

lsmod | grep i2c

For a Raspi 3B the result should look something like this:

i2c_bcm2835            16384  0
i2c_dev                20480  0


Then, install the following packages to do some basic i2c tinkering:

sudo aptitude install i2c-tools