Hello, I just started to use my old BananaPi M1 (Armbian 23.8 Bookworm) to check sensor values by onewire and i2c. At last there was no problem with onewire
For onewire I had to define "param_w1_pin=PI3" even if my onewire sensor is connected to GPIO7.
for I2C I checked "lsmod | grep i2c" but couldnt find anything. So ieven if it is not correctly activated, I could run "i2cdetect -y 2" and could find my sensor at 0x76 but couldnt communicate with it.
I think I need to load "i2c-bcm2708 i2c-dev". How can I get these to run?
Or do I have to define the i2c_pins like I did with param_w1_pin ?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Roland Sabata
Hello, I just started to use my old BananaPi M1 (Armbian 23.8 Bookworm) to check sensor values by onewire and i2c. At last there was no problem with onewire
But I cannot get I2c to work.
For onewire I had to define "param_w1_pin=PI3" even if my onewire sensor is connected to GPIO7.
for I2C I checked "lsmod | grep i2c" but couldnt find anything. So ieven if it is not correctly activated, I could run "i2cdetect -y 2" and could find my sensor at 0x76 but couldnt communicate with it.
I think I need to load "i2c-bcm2708 i2c-dev". How can I get these to run?
Or do I have to define the i2c_pins like I did with param_w1_pin ?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.