Search found 139 matches

by davef
Sat Dec 12, 2020 8:23 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 56
Views: 3635

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

Daniel, I think you need to go to https://github.com/glenn20/micropython/tree/espnow-g20-8266 , click on the green code button and either clone or download the .zip file. I think you have to then build this. At https://www.eevblog.com/forum/beginners/micro-controller-mesh-network-micro-python-circui...
by davef
Thu Dec 10, 2020 4:30 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 56
Views: 3635

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

More searching and I think this sorts my requirements:
https://randomnerdtutorials.com/esp32-e ... eb-server/
by davef
Thu Dec 10, 2020 1:03 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 56
Views: 3635

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

This project look interesting as I want to be able to reliably load-shed if my main power inverter fails, or else the standby inverter would be damaged. One of the many tutorials I read seemed to suggest that when the ESPs are configured as peer to peer that you couldn't then switch to WiFi operatio...
by davef
Sun Dec 06, 2020 8:28 pm
Forum: ESP8266 boards
Topic: ESP8266 WiFi outages and resilient [Sorted]
Replies: 2
Views: 191

Re: ESP8266 WiFi outages and resilient

Changing to a 13v5 to 3V3 1A SMPS has sorted the re-boot issues.

Putting another 470uF on the output of the LM317N only slightly reduced the 80ms dips. There must be a high peak current draw somewhere.

Now I can see how long the link stays up.
by davef
Sun Dec 06, 2020 7:14 pm
Forum: ESP8266 boards
Topic: ESP8266 WiFi outages and resilient [Sorted]
Replies: 2
Views: 191

Re: ESP8266 WiFi outages and resilient

Finally got the oscilloscope on the job. On the "faulty" unit the supply voltage dips from 3.0V to close to 2.5V every 80ms. I guess one of these dips gets close to the point where the ESP8266 re-boots. I am using a LM317N off a 5V supply with 470uF on the output. If the ESP8266 draws more than 100m...
by davef
Sun Dec 06, 2020 7:23 am
Forum: ESP8266 boards
Topic: ESP8266 WiFi outages and resilient [Sorted]
Replies: 2
Views: 191

ESP8266 WiFi outages and resilient [Sorted]

Before I launch into a resilient WiFi implementation I would like to understand what is happening in my current setup. I am running a simple socket server on a ESP8266. It appears that when the link drops-out is that the ESP8266 re-boots automagically. Nothing in the code does a machine.reset(). So,...
by davef
Mon Nov 23, 2020 9:06 pm
Forum: ESP8266 boards
Topic: ESP-01S GPIO2 problem
Replies: 11
Views: 446

Re: ESP-01S GPIO2 problem [solved]

Problem sorted.

Make certain that you are modifying the file that you are actually running on the device ... and not another one with a "similar" file name.

Apologies for wasting your time.

Regards,
Dave
by davef
Mon Nov 23, 2020 8:27 pm
Forum: ESP8266 boards
Topic: ESP-01S GPIO2 problem
Replies: 11
Views: 446

Re: ESP-01S GPIO2 problem

Well, putting the resistors to 3V3 correctly made no change.

If I read the file back on WebREPL I see the current changes but it appears that after doing a hard reset that that is not the file running on the device.

I try re-flashing the firmware or another ESP-01S
by davef
Mon Nov 23, 2020 8:09 pm
Forum: ESP8266 boards
Topic: ESP-01S GPIO2 problem
Replies: 11
Views: 446

Re: ESP-01S GPIO2 problem

I made a wrong assumption ... I just made a spelling change in the server script and it did NOT update on the device. I now see those extra 3K3 resistors I put in are not going to 3V3 but to my reset button ;( However, I had this "problem" before I put them in. Thank you for your effort thus far, I'...
by davef
Mon Nov 23, 2020 7:45 pm
Forum: ESP8266 boards
Topic: ESP-01S GPIO2 problem
Replies: 11
Views: 446

Re: ESP-01S GPIO2 problem

Oops, yes the code is changed on the device at each change. I check by getting the file back.

Is there some issue with handling the socket that I am not aware of?