Search found 163 matches

by jgustavoam
Fri Aug 02, 2024 12:19 am
Forum: Hardware
Topic: General question regarding GPIO2 and program uploading
Replies: 1
Views: 599

Re: General question regarding GPIO2 and program uploading

Reference: https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf 2.4 Strapping Pins There are five strapping pins: • MTDI • GPIO0 • GPIO2 • MTDO • GPIO5 Each strapping pin is connected to its internal pull-up/pull-down during the chip reset. Consequently, if a strapping...
by jgustavoam
Thu Aug 01, 2024 11:52 pm
Forum: Hardware
Topic: Get a PC state and turn it on or off
Replies: 2
Views: 975

Re: Get a PC state and turn it on or off

Quintellarosa you are correct. I suggest using an optocoupler to monitor the power led and another optocoupler to turn on the PC (Power on button). This way, the risk of interference can be minimized. But you will have to make correct use of these components, since the ESP32 uses a voltage level of ...
by jgustavoam
Thu Aug 01, 2024 3:58 am
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 96
Views: 135283

Re: Best Frequency Meter ever made with ESP32 - awesome!

ESP32 FREQUENCY METER - 2 CHANNELS - Checking out The accuracy of the measurements is impressive! See measuring the two oscillators with 15.999 Hz signals on both channels of the ESP32 Frequency Meter. Arduino Console: Frequency CH0: 15,999 Hz Frequency CH1: 15,999 Hz Checking measurements with an ...
by jgustavoam
Thu Aug 01, 2024 2:23 am
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 96
Views: 135283

Re: Best Frequency Meter ever made with ESP32 - awesome!

ESP32 FREQUENCY METER - 2 CHANNELS: I am posting now an upgraded version with 2 channels - under development!!! There is still a problem with the program - the interrupts of Pulse counter 0 is interfering with the interrupts of Pulse counter 1. This causes the program to crash, if frequencies are g...
by jgustavoam
Tue Jul 30, 2024 2:36 am
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 96
Views: 135283

Re: Best Frequency Meter ever made with ESP32 - awesome!

Users, good news ahead! In response to requests from some users ( Akmin_PP, MotoDan, CP2011 ) , I am reworking the code to measure two frequencies at the same time (frequency meter with 2 channels) . Almost finished! And responding to a request from Xiaolab, I implemented a variable for calibrating...
by jgustavoam
Mon Jul 22, 2024 9:21 pm
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 96
Views: 135283

Re: Best Frequency Meter ever made with ESP32 - awesome!

Araqel, I suggest you use the same version of the Arduino IDE and the new ESP32 firmware as the updated project, to avoid the errors you are encountering. And of course, use the new updated sketch. Here at home, everything has been tested and working! 1) Arduino IDE version 2.3.2 https://www.arduino...
by jgustavoam
Mon Jul 22, 2024 2:10 am
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 96
Views: 135283

Re: Best Frequency Meter ever made with ESP32 - awesome!

ESP32 FREQUENCY METER - NEW VERSION: For the happiness of those interested in the project, I am posting an update to the code and schematics. I chose another library for the LCD I2C Display. Simpler and functional with the new ESP32 firmware. I removed the option to connect directly to the LCD, as ...
by jgustavoam
Mon Jul 08, 2024 2:31 am
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 96
Views: 135283

Re: Best Frequency Meter ever made with ESP32 - awesome!

I agree with Boarchuz.
I think maybe Rin67630 is mistaken.
I do not recommend comparing the internal RTC circuit with the ESP32 counter circuits.
by jgustavoam
Sun Jul 07, 2024 12:36 pm
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 96
Views: 135283

Re: Best Frequency Meter ever made with ESP32 - awesome!

Hi RIn67630, Within the features presented, the ESP32 oscillator is very stable. I don't know how you came to the conclusion that the oscillator is unstable. I did numerous tests with the frequency meter on my oscilloscope. I'm not comparing it to a professional frequency meter. Furthermore, this pr...
by jgustavoam
Fri Jul 05, 2024 2:55 pm
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 96
Views: 135283

Re: Best Frequency Meter ever made with ESP32 - awesome!

Tuku, (highlighted in the previous answer)

You must use two counters. One to count the positive part of the pulse and one for the negative part.

pcnt_config.pos_mode = PCNT_COUNT_INC; // PCNT positive edge count mode - inc
pcnt_config.neg_mode = PCNT_COUNT_INC; // PCNT negative edge count mode - inc