question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Errno 19] ENODEV

See original GitHub issue

Hello,

I’m running into trouble trying “the simple test” code

My mcu : MicroPython v1.11-312-g22099ab88 on 2019-09-15; ESP32 module (spiram) with ESP32

Error: import test_mpu Traceback (most recent call last): File "<stdin>", line 1, in <module> File "test_mpu.py", line 7, in <module> File "mpu6500.py", line 97, in __init__ File "mpu6500.py", line 139, in whoami File "mpu6500.py", line 155, in _register_char OSError: [Errno 19] ENODEV

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tuupolacommented, Mar 31, 2022

How do you know there is a conflict? Does the internal accelerometer use the same address as the attachhed MPU9250?

1reaction
jasoncook-iocommented, Apr 29, 2020

Honestly I think Tuupola has got much more interesting things to deal with in this project (like working on the gyro calibration). @pidou64 take a closer look at the error message. If you are getting a result from the i2c.scan() then you can move on to the next step. Make sure that the correct address for your device is stated in the file mpu6500.py, line 88. The hexadecimal address here is 0x68 by default. My mpu9250 sensor address is decimal 105, or hexidecimal 0x69. I changed it in the code and all works now. If your sensor’s address is 41 decimal, then you might try changing the address in the code to 0x29

Read more comments on GitHub >

github_iconTop Results From Across the Web

OSError 19 (ENODEV) - MicroPython Forum (Archive)
When i want to call os.listdir() i get the error OSError: 19 ... From it, you can see that it's ENODEV, meaning that...
Read more >
MicroPython: OSError: [Errno 19] ENODEV - Stack Overflow
Use another jumper to connect GND to GND on the ESP32 and try again. [edit: Errno 19 ENODEV means that the module couldn't...
Read more >
OSError: [Errno 19] ENODEV : r/learnpython - Reddit
OSError: [Errno 19] ENODEV ... That usually means that a device is not found. Can be anything from a missing SD Card to...
Read more >
OSError: [Errno 19] ENODEV | Pycom user forum
Hi I have this error when i try to open a file OSError: [Errno 19] ENODEV I'm working on display image and text...
Read more >
Makerverse Micro SD Adapter, OSError: [Errno 19] ENODEV
I have installed everything correctly and have imported the necessary modules but keeps coming up with the error message OSError: [Errno 19] ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found