adafruit / adafruit/Adafruit_CircuitPython_BNO08x
Help!Raspberry PI3 conected to BNO080 are having problems.
- Dominant language
- Python
- Stars
- 41
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
An unknown error occurred when using the raspberry PI to connect to the BNO080 sensor via i2C.
I completely follow the tutorial configuration and run the example, but there are the following problems, I don't know how to do, I hope someone can help me, thank you very much!
This is the code I used.(It is the same as the test code in the library.)
code:
> import board
> import busio
>
> from adafruit_bno08x.i2c import BNO08X_I2C
> from adafruit_bno08x import BNO_REPORT_ACCELEROMETER
>
> i2c = busio.I2C(board.SCL, board.SDA)
> bno = BNO08X_I2C(i2c)
> bno.enable_feature(BNO_REPORT_ACCELEROMETER)
>
> while True:
> accel_x, accel_y, accel_z = bno.acceleration # pylint:disable=no-member
> print("X: %0.6f Y: %0.6f Z: %0.6f m/s^2" % (accel_x, accel_y, accel_z))
>

Contributor guide
No contributing guide indexed for this repository
Research direction
Start from the provided Raspberry Pi Python example, especially the busio.I2C setup and BNO08X_I2C entry point, and reproduce the reported error with the BNO080 sensor. Compare the tutorial configuration with the example and document the specific cause and a verified working configuration or fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, raspberry-pi
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100