Search found 11 matches

by MMliam
Sat Oct 15, 2022 2:56 pm
Forum: General Discussion
Topic: Does the Light-sleep function disable the wifi radio?
Replies: 4
Views: 3422

Re: Does the Light-sleep function disable the wifi radio?

It still appears, according to the Espressif spec graceful shutdown should be part of Light-sleep, or Deep-sleep. As I use microPython, would the equivalent of "esp_wifi_stop" be net.active(false) [where "net" is a user instance of a network object]? BTW: I'm not actually using wifi connections, I'm...
by MMliam
Wed Oct 12, 2022 11:44 pm
Forum: General Discussion
Topic: Does the Light-sleep function disable the wifi radio?
Replies: 4
Views: 3422

Re: Does the Light-sleep function disable the wifi radio?

From the referenced document: In Deep-sleep and Light-sleep modes, the wireless peripherals are powered down. Before entering Deep-sleep or Light-sleep modes, the application must disable Wi-Fi and Bluetooth using the appropriate calls (i.e., esp_bluedroid_disable(), esp_bt_controller_disable(), esp...
by MMliam
Wed Oct 12, 2022 4:48 pm
Forum: General Discussion
Topic: Does the Light-sleep function disable the wifi radio?
Replies: 4
Views: 3422

Does the Light-sleep function disable the wifi radio?

According the the specification (see attached table image) current draw during light-sleep should max out at about 2ma. For this low current draw the wifi radio must be disabled. Does this occur as part of the light-sleep function call, or must the wifi radio be disabled prior to calling the light-s...
by MMliam
Mon Sep 19, 2022 2:07 pm
Forum: General Discussion
Topic: Chip (ceramic) antenna superior to basic wifi dipole.
Replies: 5
Views: 8538

Re: Chip (ceramic) antenna superior to basic wifi dipole.

I've used D1 Mini Pro modules and ESP-07 modules (in a programming fixture) both types with the same results. These modules are offered by many sellers, but there is no indication as to what company is the actual manufacturer. I've also used numerous ESP versions (01S, 12E&F, 32) with a meandered in...
by MMliam
Fri Sep 02, 2022 3:24 pm
Forum: General Discussion
Topic: Peer Registration
Replies: 0
Views: 1023

Peer Registration

ESPNow is a communications protocol developed by Espressif to address long latency connection time of wifi. I'm using ESP8266's & ESP32's with microPython; both using ESPNow communications. Using an ESP8266 as a sender doesn't require the ESPNow peer registration, however the ESP32 microPython does ...
by MMliam
Fri Sep 02, 2022 3:10 pm
Forum: General Discussion
Topic: Chip (ceramic) antenna superior to basic wifi dipole.
Replies: 5
Views: 8538

Re: Chip (ceramic) antenna superior to basic wifi dipole.

My source is the controlled tests I ran comparing meandered inverted-F, half-wave dipole, and the ceramic chip antenna. The ceramic chip antenna and dipole providing equivalent transmission distance performance. However, the ceramic chip antenna is less that 1cm. The meandered inverted-F does not co...
by MMliam
Sat Aug 27, 2022 3:33 pm
Forum: General Discussion
Topic: Chip (ceramic) antenna superior to basic wifi dipole.
Replies: 5
Views: 8538

Chip (ceramic) antenna superior to basic wifi dipole.

Controlled tests comparing a chip (ceramic) antenna to a basic wifi dipole with ESP8266 modules, demonstrated a commensurate transmission distance under varying weather conditions with the chip-antenna. The judged superiority of the ceramic antenna is do to the diminutive size of ceramic antenna as ...
by MMliam
Mon Aug 08, 2022 2:03 am
Forum: General Discussion
Topic: MQTT starts too slowly
Replies: 6
Views: 4511

Re: MQTT starts too slowly

Tom, Richard is not having a "bottleneck" issue. As I understand it, the delay occurs every time his device re-connects to the wifi. Connections to wifi can take several seconds, and are also variable, as a function of distance from the router. I had the same problem with remote sensors that needed ...
by MMliam
Sun Aug 07, 2022 5:48 pm
Forum: General Discussion
Topic: MQTT starts too slowly
Replies: 6
Views: 4511

Re: MQTT starts too slowly

The first thing you'll need to do is create a Gateway using a single ESP32. The gateway receives ESP-Now from your sensors/devices (using the ESP32 AP interface), is connected to WiFi (using the ESP32 STA interface) and forwards the data to the MQTT broker. ESP-Now sending devices can request an ack...
by MMliam
Sat Aug 06, 2022 12:56 am
Forum: General Discussion
Topic: MQTT starts too slowly
Replies: 6
Views: 4511

Re: MQTT starts too slowly

When you say it takes 7 seconds to re-connect that suggests you're using your wifi network for MQTT? While there are things that can be done to improve network connection time, it would be much better to use ESP-Now; reducing connection times from seconds to milliseconds. If you interested I can pro...