Search found 10 matches

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: 1705

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: 1705

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: 1705

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: 3758

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: 3758

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: 3758

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: 3758

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: 15857

Re: The Toit language is now open source

Toit looks very interesting.
Any idea about sensors support?
Like ultrasonic sensors? TOF? any list?
by YigalB
Sun Mar 18, 2018 8:46 pm
Forum: ESP32 Arduino
Topic: ESP32 errors with Arduino IDE
Replies: 1
Views: 4717

ESP32 errors with Arduino IDE

I am totally newbie with ESP32, not with Arduino. I installed the ESP32 according to the guide lines. The ESP32 dev board can be selected. When I connect the board, I can see the pre-installed message on the serial monitor, so it looks like the drivers work well. However, I get two error messages wh...

Go to advanced search