Search found 143 matches

by jgustavoam
Tue Jun 04, 2024 8:55 pm
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 73
Views: 103031

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

Hi Araquel, The code created by the topic is for Arduino. Please inform which IDF code you are using. It's this one? Arduino Release v3.0.0 based on ESP-IDF v5.1.4 (latest)? Please report the error message. If you want to test compiling with the ESP32 IDF, try this: https://github.com/Gustavomurta/E...
by jgustavoam
Tue May 28, 2024 12:01 pm
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 73
Views: 103031

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

Hi ligteltelecom, I don't remember the ESP32 documentation, but I think you can change these two pins. But be careful, as some ESP32 pins are reserved and cannot be used. Which pins do you intend to use? #define PCNT_INPUT_CTRL_IO GPIO_NUM_35 // Set Pulse Counter Control GPIO pin - HIGH = count up, ...
by jgustavoam
Sun May 26, 2024 11:36 am
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 73
Views: 103031

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

Hi ligteltelecom, You must use these two pins for the frequency meter to work. #define PCNT_INPUT_CTRL_IO GPIO_NUM_35 // Set Pulse Counter Control GPIO pin - HIGH = count up, LOW = count down #define OUTPUT_CONTROL_GPIO GPIO_NUM_32 // Timer output control port - GPIO_32 Why don't you want to use them?
by jgustavoam
Mon May 13, 2024 10:42 am
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 73
Views: 103031

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

Hi Sairam, "My I2C is PCF8574 with 16 x 2 (162A) lcd and the address is set to 0x27 and #define LCD_I2C_ON but still getting only squares but with lcd test and same connection it is working can you please guide me in this matter" You need to change this line to address 0x27? You did it? LiquidCrysta...
by jgustavoam
Sun May 12, 2024 12:06 pm
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 73
Views: 103031

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

Hi Fenderer,
Post your code so that the problem can be analyzed.
by jgustavoam
Sun May 05, 2024 12:36 pm
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 73
Views: 103031

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

Hi Sairam,

You must change this line to ON:

#define LCD_I2C_ON // LCD_I2C_ON, if want use I2C LCD (PCF8574)
by jgustavoam
Thu May 02, 2024 10:34 am
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 73
Views: 103031

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

Hi Tuku, First define the frequency range you want to use in your project. For example from 1 Hz to 100KHz. If it is for frequencies below 1 Hz, the sample time will have to be changed. sample_time = 1000000; ( one million miliseconds) 1. The pulse counter uses the ESP32 pcnt. Pcnt has the following...
by jgustavoam
Thu May 02, 2024 1:00 am
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 73
Views: 103031

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

Hi Tuku,
To measure the Duty cycle, it will require many changes to the code. I am currently unavailable to help you. Sorry.
by jgustavoam
Wed May 01, 2024 1:29 pm
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 73
Views: 103031

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

Hi Sairam, I recommend checking these items 1) Your display is LCD 16 char x 2 lines + I2C PCF8574? 2) Check the I2c Interface lines: #define I2C_SDA 21 // LCD I2C SDA - GPIO_21 #define I2C_SCL 22 // LCD I2C SCL - GPIO_22 3) Which PCF8574 module are you using? What is the I2C address? LiquidCrystal_...
by jgustavoam
Sat Apr 06, 2024 7:50 pm
Forum: Sample Code
Topic: ESP32 IDF Benchmark
Replies: 6
Views: 27170

Re: ESP32 IDF Benchmark

I found this:

ESP-IDF vs Arduino Framework: Best Framework for ESP32-S3 Development.
https://youtu.be/O-7rPkya4Yw?si=RXYms3a-rAEXvoRl