tuupola / micropython-mpu9250

MicroPython I2C driver for MPU9250 9-axis motion tracking device
MIT License
141 stars 47 forks source link

Can not use AK8963 #27

Open ttyyzz34 opened 1 year ago

ttyyzz34 commented 1 year ago

Who can help me to solve the issue? I can not find AK8963. I use i2c.scan() get i2c.scan() [60, 104, 118] Can not find AK8963. I use the AK8963.py and it give error like this: Traceback (most recent call last): File "", line 6, in File "ak8963.py", line 76, in init File "ak8963.py", line 139, in whoami File "ak8963.py", line 197, in _register_char OSError: [Errno 19] ENODEV

tuupola commented 9 months ago

Although ENODEV suggest different error, looking at the scan resuts which in hex are 0x3c, 0x68 and 0x76. The address of AK8963 is 0x48. Are you sure you have an AK8963 connected to the bus?