I trying to use the new OTOS board connected to the pro micro rp2350. I have the qwiic packages installed and trying to program in micropython using Thonny. I can program the rpi but cant get it to connect to the OTOS. Im not sure if its a problem with the i2c drivers or not.
I followed the hardware setup and tested to confirm correct installation by importing qwiic_i2c followed by qwiic_i2c.get_i2c_driver().scan() and received no errors.
However, when testing qwiic_otos.QwiicOTOS().is_connected() it says false.
Not sure how to get around this but it may likely be due to my inexperience with micropython as well as it being my first time using Thonny. Any help will be greatly appreciated!
I just redid everything using CircuitPython in the Mu editor and it works now. Should I stick to this or is Micropython or something else reccomended higher?
First, I’ll have someone take a look at this - we’re in the middle of some big updates to our python (normal, micro, circuit) support. If there’s an issue with micro py, we’ll get it fixed
It’s worth noting that the core of our libraries is the same on python, micro python and circuit python - just the communication driver is different. So it could be a driver issue, or a firmware issue.
As for which to py to use - micro or circuit - it’s really up to you’re needs. Micro python on the rp2350 is supported by Raspberry Pi, so it’s solid, but the Circuit Python team are very active also.
I followed the hardware setup and tested to confirm correct installation by importing qwiic_i2c followed by qwiic_i2c.get_i2c_driver().scan() and received no errors.
Good that qwiic_i2c.get_i2c_driver().scan() doesn’t give any errors, but what does it return? Does it return []? If so, that means it doesn’t find any devices during a scan.
I suspect the problem is that our MicroPython I2C driver implementation is defaulting to the wrong pins. Please try the following with the OTOS connected:
Nevermind I got it working by adding your lines of code to the example code. Is there a way to fix the default pins? If not its okay, I understand how to fix it know and I appreciate it a lot! Thank you!