Issues connecting Pico W to WipperSnapper

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Locked
User avatar
spovlot
 
Posts: 9
Joined: Sun Nov 27, 2022 10:54 pm

Issues connecting Pico W to WipperSnapper

Post by spovlot »

I am trying to add a new device with WipperSnapper. Followed the "New Device" instructions for adding WipperSnapper to my Raspberry Pi Pico W. I loaded the latest UF2 (wippersnapper.rpi_pico_w.1.0.0-beta.61.uf2) and updated the secrets.json with my credentials. I have unplugged and reattached the board to reset it.

The Pico W continues to disconnect the USB drive. I am seeing the LED flash 3 times, then 4 times for a few cycles and then solid until it disconnects.

Can you provide additional troubleshooting steps?

User avatar
brubell
Learn User Page
 
Posts: 2010
Joined: Fri Jul 17, 2015 10:33 pm

Re: Issues connecting Pico W to WipperSnapper

Post by brubell »

Sure!

Prior to the disconnect, could you:
1) When the LED is solid - copy and paste the output of the boot_out.txt file on the WIPPER drive here.
2) When it is still connecting, plug your Pico W into USB and visit https://www.serialterminal.com. Please paste the debug output from serial terminal.com here so I can analyze it.

User avatar
spovlot
 
Posts: 9
Joined: Sun Nov 27, 2022 10:54 pm

Re: Issues connecting Pico W to WipperSnapper

Post by spovlot »

wipper_boot_out.txt:

Adafruit.io WipperSnapper
Firmware Version: 1.0.0-beta.61
Board ID: rpi-pico-w
MAC Address: 28:CD:C1:08:ED:BA

From https://www.serialterminal.com.
Attempting to connect to WiFi...
Attempting to connect to WiFi...
Attempting to connect to WiFi...
Attempting to connect to WiFi...
ERROR [WDT RESET]: ERROR: Unable to connect to WiFi, rebooting soon...

I double checked my wifi credentials in secrets.json.

User avatar
brubell
Learn User Page
 
Posts: 2010
Joined: Fri Jul 17, 2015 10:33 pm

Re: Issues connecting Pico W to WipperSnapper

Post by brubell »

Is the WiFi network you're connecting to a 2.4GHZ network?

User avatar
spovlot
 
Posts: 9
Joined: Sun Nov 27, 2022 10:54 pm

Re: Issues connecting Pico W to WipperSnapper

Post by spovlot »

My router is dual band and allows both 2.4 and 5 GHz. The router even shows it as a "connected device".
Image

User avatar
brubell
Learn User Page
 
Posts: 2010
Joined: Fri Jul 17, 2015 10:33 pm

Re: Issues connecting Pico W to WipperSnapper

Post by brubell »

Could you possibly to tether it to your Phone's wireless hotspot, or try another network?

User avatar
spovlot
 
Posts: 9
Joined: Sun Nov 27, 2022 10:54 pm

Re: Issues connecting Pico W to WipperSnapper

Post by spovlot »

FYI. I loaded CircuitPython 8.0.5 on the same Pico W. And it connects fine.

Adafruit CircuitPython 8.0.5 on 2023-03-31; Raspberry Pi Pico W with rp2040
>>>
soft reboot

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:

Connecting to WiFi
Connected to WiFi
My MAC addr: ['0x28', '0xcd', '0xc1', '0x8', '0xed', '0xba']
My IP address is 10.0.0.151
Ping google.com: 32.999985 ms

User avatar
spovlot
 
Posts: 9
Joined: Sun Nov 27, 2022 10:54 pm

Re: Issues connecting Pico W to WipperSnapper

Post by spovlot »

I tried my mobile hotspot and it worked. But I still don't see the device under https://io.adafruit.com/spovlot/devices

Code: Select all

ERROR [WDT RESET]: ERROR: Unable to connect to WiFi, rebooting soon...
Attempting to connect to Adafruit IO...
Registering hardware with WipperSnapper...
Registering hardware with IO...
Encoding registration request...Encoding registration msg...Published!
Polling for registration message response...2
GOT Registration Response Message:
Hardware Response Msg:
	GPIO Pins: 31
	Analog Pins: 4
	Reference voltage: 3.30v
Completed registration process, configuration next!
Polling for message containing hardware configuration...
cbSignalTopic: New Msg on Signal Topic
2 bytes.
decodeSignalMsg
cbSignalMsg
Sub-messages found: 1
Signal Msg Tag: Pin Configuration
Initial Pin Configuration Complete!
Publishing to pin config complete...
Hardware configured successfully!
Registration and configuration complete!
Running application...
PING!
PING!
PING!

User avatar
spovlot
 
Posts: 9
Joined: Sun Nov 27, 2022 10:54 pm

Re: Issues connecting Pico W to WipperSnapper

Post by spovlot »

Well, I was on io.adafruit.com when the Pico W restarted and I got a "Register Device" dialog. Seems OK now.

Hopefully I can switch back to my regular wifi.

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”