Pi pico - multiplexer - oled and Bq34z100 #12256
Unanswered
Manjo80
asked this question in
RP2040 / Pico
Replies: 2 comments 1 reply
-
Ok I have found this error I can‘t count the channels like this line channel_mask = 1 << (channel - 1) now the adresses are correct. Now i have done the first readout from the bq34z100, what seams working but the informations are totaly wrong. Has someone here already worked with an Bq34z100? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Have you got pullup resistors on the I2C lines? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hallo, I‘m trying to make a skript on a pi pico to show the chaging stat of multiple batteries with an Bq34z100 in it, using an oled for every battery being charged. I‘m using an Muitiplexer Hailege TCA9548 TCA9548A I2C IIC Multiplexer Breakout Board 8 Channel Expansion Board Module Development Board. On every channel I will install an oled and a plugg for the battery. For the moment I‘m testing the Mux with 2 Oled an one battery.
This is may main skript.
For the moment I have the Problem on every channel I can see devices using the i2c.scan() even on channels with no devices. Maybee there are some lines in the skript making no sense, because I‘m testing and searching for my error. And for the moment I have not yet added to display the data on the oleds. This makes no sense until I have found a solution for my i2c.scan() problem
Greeds
Joel
Beta Was this translation helpful? Give feedback.
All reactions