Search found 16 matches

by rtborg
Mon Dec 06, 2021 7:04 pm
Forum: ESP32 boards
Topic: ESP32 DevKit C V4 - very weak WiFi signal
Replies: 3
Views: 2841

Re: ESP32 DevKit C V4 - very weak WiFi signal

Your comment is dead on - I had the resistor connecting the PCB antenna not soldered, but instead the bridge connecting the IPEX connector was on. I spent half a day looking for solution in code...

Thanks!
by rtborg
Mon Dec 06, 2021 3:37 pm
Forum: ESP32 boards
Topic: ESP32 DevKit C V4 - very weak WiFi signal
Replies: 3
Views: 2841

ESP32 DevKit C V4 - very weak WiFi signal

I am trying to use an ESP32 DevKit C V4 board with WROVER-B module, however the wifi signal is extremely weak. When in station mode, scanning returns only two access points (there are many more), and the strength of the signal from my router is -70 dBm when the board is next to the router. When I pl...
by rtborg
Mon Dec 06, 2021 2:41 pm
Forum: General Discussion and Questions
Topic: Deterministic functions
Replies: 3
Views: 5531

Re: Deterministic functions

Thank you for the detailed explanation - using an external flip-flop will probably do the trick, I'll give it a try.
by rtborg
Sun Dec 05, 2021 3:06 pm
Forum: General Discussion and Questions
Topic: Deterministic functions
Replies: 3
Views: 5531

Deterministic functions

I have a RPi Pico board which I am using to output a trigger when a certain message is sent out via the UART. The code is: uart.write(cmd) trigger_pin.on() # This is the important trigger edge response = uart.read(n) trigger_pin.off() Using a scope, I can see that the pin is not turned on at the sam...
by rtborg
Sun Dec 05, 2021 10:44 am
Forum: ESP32 boards
Topic: Unable to set hostname
Replies: 0
Views: 1842

Unable to set hostname

Hello, I'd like to set a hostname for my ESP32 board, and the code I am using is: self.wlan_sta.connect(ssid, password) self.wlan_sta.config(dhcp_hostname = self.hostname) After that if I print out the hostname, it's the same as the one I set; however my router just shows the name espressif. If I mo...
by rtborg
Tue Nov 09, 2021 7:00 pm
Forum: Raspberry Pi microcontroller boards
Topic: uasyncio and inaccessible REPL
Replies: 13
Views: 4600

Re: uasyncio and inaccessible REPL

It's not only Thonny - rhsell and Mu can't connect either.

Tried adding the code from above, but that did not give any results.
by rtborg
Tue Nov 09, 2021 9:39 am
Forum: Raspberry Pi microcontroller boards
Topic: uasyncio and inaccessible REPL
Replies: 13
Views: 4600

Re: uasyncio and inaccessible REPL

Thank you for the input. That is certainly a way to rescue your files after being "locked out" of the REPL, but doing that every time you want to reprogram the Pico or make small changes to the existing firmware is too much overhead. What I've done now, to keep me going, is connected a push button t...
by rtborg
Tue Nov 09, 2021 5:38 am
Forum: Raspberry Pi microcontroller boards
Topic: uasyncio and inaccessible REPL
Replies: 13
Views: 4600

Re: uasyncio and inaccessible REPL

I tried Putty (Windows & Linux) and Moserial (Linux).

The script that does not terminate is loaded with Thonny and named main.py.
by rtborg
Mon Nov 08, 2021 7:35 pm
Forum: Raspberry Pi microcontroller boards
Topic: uasyncio and inaccessible REPL
Replies: 13
Views: 4600

Re: uasyncio and inaccessible REPL

Tried that on both Windows and Linux, not working except when I initially flash the board. Once I exit Thonny, there's no way to get the REPL when starting it again, ctrl-d and ctrl-c both fail.
by rtborg
Mon Nov 08, 2021 7:03 pm
Forum: Raspberry Pi microcontroller boards
Topic: uasyncio and inaccessible REPL
Replies: 13
Views: 4600

Re: uasyncio and inaccessible REPL

Is there a way to interrupt that script, and get the REPL? I am stuck on that.