KitronikLtd / Kitronik-Pico-Robotics-Board-MicroPython

Example code for the Kitronik Pico Robotics board ( www.kitronik.co.uk/5329 )
MIT License
19 stars 10 forks source link

Pico W not connecting #10

Open cbrmichi opened 10 months ago

cbrmichi commented 10 months ago

Hi, I´m using a pico W and stuck at connecting the board to the pico w. I just wanted to try the provided test- files. The pico is connected and powered by USB while the board is powered by battery (6v). The onboard LED is on.

Code:

import PicoRobotics
import utime

board = PicoRobotics.KitronikPicoRobotics()

I´m getting this error:

 File "<stdin>", line 4, in <module>
  File "/lib/PicoRobotics.py", line 189, in __init__
  File "/lib/PicoRobotics.py", line 18, in initPCA
OSError: [Errno 5] EIO

So i tried i2c.scan(), which gave me [108, 112]. So it should be connected and working, but it doesn´t. Could you please tell me, what is wrong?

Thanks in advance, Michael

user-redans commented 9 months ago

Hi @cbrmichi,

I also have the same issue. Did you find a solution?

Thanks in advance.

cbrmichi commented 9 months ago

Hi!

At first i tried using circuitPython. That did work, but i wanted to use microPython. The support (thanks again!) suggested reinstalling the newest microPython (w!) firmware. I did that before having tried circuitPython, but did it again next day and it worked immediately. From this on the problem was solved.

Maybe changing between the Firmware helped...

And don't forget to check the power switch on the board :)

user-redans @.***> schrieb am Mi., 7. Feb. 2024, 15:23:

Hi, @cbrmichi https://github.com/cbrmichi

I also have the same issue. Did you find a solution?

Thanks in advance.

— Reply to this email directly, view it on GitHub https://github.com/KitronikLtd/Kitronik-Pico-Robotics-Board-MicroPython/issues/10#issuecomment-1932155629, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4F5QIKFEK2RHF3CT4H5XDYSOE7XAVCNFSM6AAAAABCDFP2O2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZSGE2TKNRSHE . You are receiving this because you were mentioned.Message ID: <KitronikLtd/Kitronik-Pico-Robotics-Board-MicroPython/issues/10/1932155629 @github.com>

Hsgngr commented 7 months ago

Having the same problem, which version are you currently using ?

jkozniewski commented 6 months ago

Same here - tested with latest official build v1.22.2 and latest preview build v1.23.0-preview.343.ge60e8079a with no success, @KitronikLtd - is the board just incompatible with pico W ?

felinh commented 2 weeks ago

duplicate of #7 : Kitronik said :"Unfortunately this board was created before the Pico W came out and so hadn't taken into account the current spike caused by the WiFi chip.", workaround explained in #7