Search found 102 matches

by kwiley
Sat May 16, 2020 2:55 pm
Forum: ESP8266 boards
Topic: Is deactivating WLAN equivalent to depowering wifi?
Replies: 2
Views: 833

Re: Is deactivating WLAN equivalent to depowering wifi?

Thanks. I expected as much, but I just wanted to confirm it.
by kwiley
Sat May 16, 2020 2:53 pm
Forum: ESP8266 boards
Topic: RTC memory
Replies: 2
Views: 857

Re: RTC memory

Okay. I see that in the REPL now: >>> PYB: soft reboot MicroPython v1.10-8-g8b7039d7d on 2019-01-26; ESP module with ESP8266 Type "help()" for more information. >>> import machine >>> rtc = machine.RTC() >>> rtc.[TAB] __class__ ALARM0 alarm alarm_left datetime irq memory >>> rtc. It's worth noting t...
by kwiley
Sat May 16, 2020 7:45 am
Forum: ESP8266 boards
Topic: Is deactivating WLAN equivalent to depowering wifi?
Replies: 2
Views: 833

Is deactivating WLAN equivalent to depowering wifi?

I have noticed that WLAN state changes are persistent across resets. This is as expected, as the ESP8266 is documented to automatically reconnect upon power-up. Correspondingly, I have noticed that deactivating the WLAN before reseting is also persistent: the WLAN is not reactivated or connected upo...
by kwiley
Sat May 16, 2020 5:59 am
Forum: ESP8266 boards
Topic: RTC memory
Replies: 2
Views: 857

RTC memory

Apparently a trick to both reduce power consumption to increase battery life while simultaneously saving EEPROM cycles is to pass small amounts of data across deep sleep cycles by writing that data (up to 512 bytes) into the RTC memory. I don't see API endpoints for this in the docs. Does MicroPytho...
by kwiley
Thu May 14, 2020 8:18 pm
Forum: MicroPython pyboard
Topic: PyBoard 1.1 and WIZnet 850io
Replies: 13
Views: 955

Re: PyBoard 1.1 and WIZnet 850io

I just discovered that. Thanks. I put the PyBoard with its now-working ethernet on my home network, and then put an ESP-01S on my home network via wifi, and I was able to ping to the ESP-01S from the PyBoard even though one device was on ethernet and the other on wifi. That's super cool. And of cour...
by kwiley
Thu May 14, 2020 5:47 pm
Forum: MicroPython pyboard
Topic: PyBoard 1.1 and WIZnet 850io
Replies: 13
Views: 955

Re: PyBoard 1.1 and WIZnet 850io

Sorry, you lost me. uping is a MicroPython module, so you aren't referring to pinging *to* the PyBoard from the desktop, you are showing code for pinging *from* the PyBoard. Right?
by kwiley
Thu May 14, 2020 4:55 pm
Forum: MicroPython pyboard
Topic: PyBoard 1.1 and WIZnet 850io
Replies: 13
Views: 955

Re: PyBoard 1.1 and WIZnet 850io

Your firmware is definitely behaving differently (and more hopefully) than the 1.12 build on the website. The mysterious isactive() function is finally accessible, isconnected() reports True for the first time, and ifconfig() reports meaningful values even without manually configuring those values. ...
by kwiley
Thu May 14, 2020 4:33 pm
Forum: MicroPython pyboard
Topic: PyBoard 1.1 and WIZnet 850io
Replies: 13
Views: 955

Re: PyBoard 1.1 and WIZnet 850io

Thank you! I will do that
by kwiley
Thu May 14, 2020 4:04 pm
Forum: MicroPython pyboard
Topic: PyBoard 1.1 and WIZnet 850io
Replies: 13
Views: 955

Re: PyBoard 1.1 and WIZnet 850io

Well, I suppose I could delve into building my own firmware. However, when you say "the body of ports/stm32/network_wiznet5k.c f is only compiled if these two flags are set" I presume the fact that I can build a WIZNET5K object, as shown in my code above, demonstrates that those flags are, indeed, s...
by kwiley
Wed May 13, 2020 9:35 pm
Forum: MicroPython pyboard
Topic: PyBoard 1.1 and WIZnet 850io
Replies: 13
Views: 955

Re: PyBoard 1.1 and WIZnet 850io

Well, my confusion is getting worse. The function STATIC mp_obj_t wiznet5k_active(size_t n_args, const mp_obj_t *args) has been in the ports/stm32/network_wiznet5k.c file from the beginning and is still there. So I don't understand the behavior I demonstrated above, in which I can't access the activ...