Search found 11 matches

by YigalB
Mon Nov 11, 2024 8:04 pm
Forum: ESP8266
Topic: How to increase by SW the power consumption of ESP8266
Replies: 0
Views: 448

How to increase by SW the power consumption of ESP8266

I know this sounds strange: How to increase by SW the power consumption of ESP8266 by 50mA. The reason: I use rechargeable battery to power the ESP8266 (Wemos D1 mini in that case). When the charger is delivering less than 50mA , it shuts down after 30 seconds. I would like to prevent that - there i...
by YigalB
Thu Jun 08, 2023 5:46 pm
Forum: Hardware
Topic: ESP32 - Analog read GPIO 33 affects interrupt on pin GPIO 36?
Replies: 4
Views: 2601

Re: ESP32 - Analog read GPIO 33 affects interrupt on pin GPIO 36?

I think I have the solution - can anyone confirm? GPIO36 ,aka VP, is connected to the ADC's voltage. So any AnalogRead() on another pin (GPIO33 in my case), caused interrupts to be triggered on GPIO36. So GPIO can't be used as input when the ADC is used. At least not with interrupts. When I stopped ...
by YigalB
Thu Jun 08, 2023 9:34 am
Forum: Hardware
Topic: ESP32 - Analog read GPIO 33 affects interrupt on pin GPIO 36?
Replies: 4
Views: 2601

Re: ESP32 - Analog read GPIO 33 affects interrupt on pin GPIO 36?

[/Codebox]33 is disabled, the problem stops. Is there a reason for that?
I am not sure I understand the question - GPIO 33 is not disabled. It is used for analog read.
When analog read, the problem exists interrupts occur suddenly on GPIO 36.
When no analog read from GPIO 33 is done - no problem.
by YigalB
Wed Jun 07, 2023 12:54 pm
Forum: Hardware
Topic: ESP32 - Analog read GPIO 33 affects interrupt on pin GPIO 36?
Replies: 4
Views: 2601

ESP32 - Analog read GPIO 33 affects interrupt on pin GPIO 36?

In the ESP32 design, GPIO 36 is connected to a push button and configured as input (that's all it can be anyway). and used to trigger interrupts. This is working well. I just started to use GPIO 33 as an analog input, to read from a potentiometer, using AnalogRead command. This is working well, test...
by YigalB
Mon Aug 22, 2022 3:53 pm
Forum: ESP32 Arduino
Topic: ESP-NOW: how to identify devices after boot?
Replies: 8
Views: 5593

Re: ESP-NOW: how to identify devices after boot?

You certainly said it, very clearly....
I just don't know where is that chaotic code.
by YigalB
Fri Aug 19, 2022 4:25 am
Forum: ESP32 Arduino
Topic: ESP-NOW: how to identify devices after boot?
Replies: 8
Views: 5593

Re: ESP-NOW: how to identify devices after boot?

Can you share a code example of the master and slave for the case the master send "who is out there" and each slave respond?
by YigalB
Thu Aug 18, 2022 3:49 am
Forum: ESP32 Arduino
Topic: ESP-NOW: how to identify devices after boot?
Replies: 8
Views: 5593

Re: ESP-NOW: how to identify devices after boot?

You can How can I do that? , but I'd do it the other way: the new devices can send an ESP-NOW packet to the broadcast MAC (ff:ff:ff:ff:ff:ff) and the receiver can receive those and try to configure the device. That is a nice idea, but it will fail in case the master device is going through a reset....
by YigalB
Wed Aug 17, 2022 6:24 am
Forum: ESP32 Arduino
Topic: ESP-NOW: how to identify devices after boot?
Replies: 8
Views: 5593

ESP-NOW: how to identify devices after boot?

As for now, I use hard coded MAC addresses of EWSP-NOW devices in my code, so every time a new device is added to the system, I need to recompile and burn few devices. Is there a way to scan automatically all ESP-NOW devices in the nearest are, get from them a certain ID and MAC and configure them a...
by YigalB
Sun Feb 13, 2022 10:02 am
Forum: General Discussion
Topic: The Toit language is now open source
Replies: 8
Views: 16942

Re: The Toit language is now open source

Toit looks very interesting.
Any idea about sensors support?
Like ultrasonic sensors? TOF? any list?