newbie needs help with wifi/wlan

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
danwalkowski
Posts: 3
Joined: Sun Feb 01, 2015 6:13 am

Re: newbie needs help with wifi/wlan

Post by danwalkowski » Sun Feb 01, 2015 8:24 pm

Thanks for the help.
I was using 3v3 <-> 3v3, I'll use VIN instead and see if that improves things.

slzatz
Posts: 92
Joined: Mon Feb 09, 2015 1:09 am

Re: newbie needs help with wifi/wlan

Post by slzatz » Sun Feb 22, 2015 3:58 pm

I am having trouble getting the cc3000 to init as well. As outlined in the thread, I am pulling the relevant pins low but when I do:

Code: Select all

nic = network.CC3K(pyb.SPI(2), pyb.Pin('Y5'), pyb.Pin('Y4'), pyb.Pin('Y3'))
I am using recent firmware: v1.3.10-67-ge06cf89

at the REPL prompt, it never returns. There is some discussion about patching the firmware of the cc3000 -- can someone tell me how you determine the version of the software and how you patch it to the most current version. Not sure that is the problem, but would like to try that next but open to any suggestions.

slzatz
Posts: 92
Joined: Mon Feb 09, 2015 1:09 am

Re: newbie needs help with wifi/wlan

Post by slzatz » Tue Feb 24, 2015 2:10 am

After upping the power supply to 5V to the breakout board,

nic = network.CC3K(pyb.SPI(2), pyb.Pin('Y5'), pyb.Pin('Y4'), pyb.Pin('Y3'))

now returns but when I do nic.connect(...), nic.isconnected() is always false no matter how long I wait. Has anyone seen this or have any suggestions?

slzatz
Posts: 92
Joined: Mon Feb 09, 2015 1:09 am

Re: newbie needs help with wifi/wlan

Post by slzatz » Thu Feb 26, 2015 12:51 pm

Renaming my ssid so it didn't have a period in it did the trick and I can now connect and read a Web page. I haven't looked at the source to see if it actually makes any sense that the ssid name was the problem. In any event, very cool to be able to play with this at the REPL prompt.

Post Reply