Search found 141 matches

by davef
Sat Jan 02, 2021 6:08 pm
Forum: ESP32 boards
Topic: uPyCraft constant re-burn firmware required?
Replies: 5
Views: 191

Re: uPyCraft constant re-burn firmware required?

Post a link to the board schematic. What I do know is that some dev boards have a "cross-coupled" pair of transistors that put the board in a specific mode when powered from the USB. Also, I see caution statements on some schematics not to use the USB and power from from an external 5V at the same t...
by davef
Sat Jan 02, 2021 5:15 am
Forum: ESP32 boards
Topic: uPyCraft constant re-burn firmware required?
Replies: 5
Views: 191

Re: uPyCraft constant re-burn firmware required?

How you are powering it and what you have hooked up to any of the GPIO?
by davef
Fri Jan 01, 2021 8:12 pm
Forum: ESP8266 boards
Topic: ESP8266 gets currupted a few hours of running.
Replies: 9
Views: 465

Re: ESP8266 gets currupted a few hours of running.

I found that looking at 3V3 with a DSO, even a cheap unit like a DSO138 was enough to show the "dips" in supply voltage that was causing my problems. On a USB to UART converter board I had to place an extra 1000uF on the output to get reliable operation. I also found that using a LM317N linear regul...
by davef
Fri Jan 01, 2021 8:01 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 58
Views: 3988

Re: ESP-Now support for ESP32 (and ESP8266)

Thank you for pointing out that: del msg is incorrect. On each call to irecv() new data is written into those bytearrays (peer mac address and the message). If I send one message and process it and then I make another call to irecv() should there not be a message to process. The message I sent seems...
by davef
Fri Jan 01, 2021 10:00 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 58
Views: 3988

Re: ESP-Now support for ESP32 (and ESP8266)

Yes, I have had a few problems understanding the docs. I understood: .. method:: ESPNow.recv([timeout]) (ESP32 only) to mean that a timeout was only allowed on the ESP32 I now realise that that was incorrect. However, as per a previous post: Something in espnow.rst that I do not understand: import n...
by davef
Sun Dec 27, 2020 6:24 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 58
Views: 3988

Re: ESP-Now support for ESP32 (and ESP8266)

With this image?
..and a precompiled image for the ESP32 at https://drive.google.com/file/d/1IIStoi ... UgOrHRe7VF
by davef
Sat Dec 26, 2020 8:42 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 58
Views: 3988

Re: ESP-Now support for ESP32 (and ESP8266)

Just an observation: on the ESP32 image the Wifi needs to be set to AP before you can use WebREPL. On the ESP8266 WebREPL works in STA and AP mode. Maybe it is "finger-trouble" at my end and certainly is not a problem. Things seem to be working consistently, now I will set up a link and do some seri...
by davef
Sat Dec 26, 2020 7:21 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 58
Views: 3988

Re: ESP-Now support for ESP32 (and ESP8266)

ESPNow.irecv([timeout]) As for `recv()<ESPNow.recv()>` except that ``irecv()`` will return a "callee-owned" tuple of bytearrays. That is, memory will be allocated once for the tuple and byte strings on invocation of espnow.ESPNow() and re-used for subsequent calls to `irecv()<ESPNow.irecv()>`. You ...
by davef
Fri Dec 25, 2020 10:25 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 58
Views: 3988

Re: ESP-Now support for ESP32 (and ESP8266)

Found a snippet of code on how to grab the message content which works for my simple case. I only want to tell a pump to turn off and it would be useful to have a message come back that it has been told to turn off. The remote end is a ESP8266 and the local end a ESP32. For ESP8266 receive import ne...
by davef
Fri Dec 25, 2020 4:39 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 58
Views: 3988

Re: ESP-Now support for ESP32 (and ESP8266)

Hi glenn20, Thank you for the feedback. Anytime you see the word "seemed" it means that things did not seem to work 100% of the time. When looking at traceback messages sometimes it "seemed" that a programming error later in the program would throw up an error at a earlier line number. I got into a ...