View: 647|Reply: 2

i2C issue with adeept_rasptank

[Copy link]

2

Threads

3

Posts

28

Credits

Newbie

Rank: 1

Credits
28
Post time 2022-1-19 22:11:23 | Show all posts |Read mode
have the raspberry pi and I play around with the raspberrypi tank from adeept.
Here is the official github link
https://github.com/adeept/adeept_raspta ... ts-program

When I want to start the server with
sudo python3 adeept_rasptank/server/webServer.py

I get this error

File "/usr/local/lib/python3.9/dist-packages/Adafruit_GPIO/I2C.py", line 55, in get_default_bus
raise RuntimeError('Could not determine default I2C bus for platform.')
RuntimeError: Could not determine default I2C bus for platform.


I have enabled i2c interface

with i2cdetect -l i get this

pi@raspberrypi:~/adeept_rasptank/server $ i2cdetect -l
i2c-1 i2c bcm2835 (i2c@7e804000) I2C adapter
Reply

Use magic Report

2

Threads

3

Posts

28

Credits

Newbie

Rank: 1

Credits
28
 Author| Post time 2022-1-25 20:46:59 | Show all posts
can anyone help me out here?
Reply

Use magic Report

0

Threads

51

Posts

189

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
189
Post time 2022-5-5 17:43:00 | Show all posts
It may be that the Raspberry Pi version compatibility problem causes the dependent library to fail to be installed successfully. Please download and install Raspberry Pi OS (Legacy).
Raspberry Pi OS (Legacy) download address: https://www.raspberrypi.com/software/operating-systems/
You need to find Raspberry Pi OS (Legacy) in the link and download the image file.
Raspberry Pi official description of the Raspberry Pi OS (Legacy):
https://www.raspberrypi.com/news ... berry-pi-os-legacy/
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules