Search found 8 matches

by alanbell
Sun Apr 25, 2021 11:48 am
Forum: Raspberry Pi microcontroller boards
Topic: working with multiple serial devices
Replies: 3
Views: 2321

Re: working with multiple serial devices

Based on the pio_uart_rx.py example code I now have it reading from a GPS module on a normal GPIO pin, which is absolutely fantastic, I did find that the uart_rx_mini function works perfectly for ages, but the uart_rx function seems prone to locking up. I am wondering if the PIO system should be use...
by alanbell
Thu Apr 22, 2021 6:26 pm
Forum: Raspberry Pi microcontroller boards
Topic: working with multiple serial devices
Replies: 3
Views: 2321

Re: working with multiple serial devices

ah, excellent, I have some reading to do! That is exactly the pointer I needed.
by alanbell
Thu Apr 22, 2021 3:52 pm
Forum: Raspberry Pi microcontroller boards
Topic: working with multiple serial devices
Replies: 3
Views: 2321

working with multiple serial devices

I want to read a position from a GPS module, read a value from an air quality sensor, then send that data over a serial GSM module. Given that there are 2 UARTs and one is kind of handy for REPL, what is the best approach here? Can I do something like point UART1 at GPIO4/5 for a bit then destroy it...
by alanbell
Tue Mar 30, 2021 12:02 am
Forum: ESP8266 boards
Topic: WDT reboot on startup relating to WIFI (possibly mesh wifi)
Replies: 7
Views: 3480

Re: WDT reboot on startup relating to WIFI (possibly mesh wifi)

Both are now nice and stable, and can connect to the wifi and get data across it with no issues. Just turning on AP mode seems to be the trigger that sends them into a reboot loop, I will try and test that in different wifi environments.

Alan.
by alanbell
Mon Mar 29, 2021 11:37 pm
Forum: ESP8266 boards
Topic: WDT reboot on startup relating to WIFI (possibly mesh wifi)
Replies: 7
Views: 3480

Re: WDT reboot on startup relating to WIFI (possibly mesh wifi)

yes, I did erase the flash, multiple times using esptool, didn't seem to work. I turned off the wifi to boot it and turned off AP mode as suggested, and now it works! I can scan for networks and it does see the three nodes: >>> sta_if.scan() [(b'knockatemple', b'\xd82\x14bkq', 6, -56, 3, 0), (b'knoc...
by alanbell
Mon Mar 29, 2021 8:40 pm
Forum: ESP8266 boards
Topic: WDT reboot on startup relating to WIFI (possibly mesh wifi)
Replies: 7
Views: 3480

Re: WDT reboot on startup relating to WIFI (possibly mesh wifi)

I am literally flashing the firmware esp8266-20210202-v1.14.bin and looking to get a repl prompt. I am not running any of my code or modifying anything, I am not attempting to connect it to any wifi, and not connecting to it with anything, it won't boot to a repl prompt in the presence of my home wi...
by alanbell
Mon Mar 29, 2021 11:00 am
Forum: ESP8266 boards
Topic: Micropython crashing and rebooting every 9seconds
Replies: 26
Views: 15630

Re: Micropython crashing and rebooting every 9seconds

I am seeing the same issue, I am wondering if the problem is mesh networking, where there are multiple SSIDs with the same name visible. Doesn't require any attempt to connect, just visibility of the mesh seems sufficient to put it in a reboot loop.
by alanbell
Mon Mar 29, 2021 10:03 am
Forum: ESP8266 boards
Topic: WDT reboot on startup relating to WIFI (possibly mesh wifi)
Replies: 7
Views: 3480

WDT reboot on startup relating to WIFI (possibly mesh wifi)

I am having an issue flashing micropython to a couple of boards, a D1 mini (probably not a real one) and a slightly bigger nodeMCU board (also generic). I get a reboot cycle with this output, roughly every 9 seconds: ets Jan 8 2013,rst cause:4, boot mode:(3,6) wdt reset load 0x40100000, len 30712, r...