Search found 21 matches
- Sat Nov 25, 2023 7:47 am
- Forum: General Discussion
- Topic: Setting the threshold value with the button.
- Replies: 1
- Views: 4373
Setting the threshold value with the button.
Hello, I want to record the instantaneous value received from a connected sensor as a threshold value 10 seconds after my esp32 card is powered on and then compare it with the values from the same sensor. This threshold value should be deleted after the power is cut off, and the threshold value sh...
- Mon Dec 19, 2022 10:17 pm
- Forum: ESP32 Arduino
- Topic: Best Frequency Meter ever made with ESP32 - awesome!
- Replies: 100
- Views: 150898
Re: Best Frequency Meter ever made with ESP32 - awesome!
Yes, I solved the problem. I was really happy too. As you mentioned in your previous comments, there can be erroneous counts when the sampling time is set to low values. In my test, the count of frequencies less than 50hz below 100000 microseconds is wrong. I can accurately count the frequency value...
- Mon Dec 19, 2022 9:32 pm
- Forum: ESP32 Arduino
- Topic: Best Frequency Meter ever made with ESP32 - awesome!
- Replies: 100
- Views: 150898
Re: Best Frequency Meter ever made with ESP32 - awesome!
Thanks Gustavo, have solved this problem according to your suggestions.
- Mon Dec 19, 2022 4:50 pm
- Forum: ESP32 Arduino
- Topic: Best Frequency Meter ever made with ESP32 - awesome!
- Replies: 100
- Views: 150898
Re: Best Frequency Meter ever made with ESP32 - awesome!
Dear jgustavoam, unfortunately there is something wrong again. I am currently working with your original code. If you don't help, I will have to stay in front of the computer until the morning and sleep during the day. :) uint32_t sample_time = 1000; uint32_t osc_freq = 50; When I set it to, on the ...
- Mon Dec 19, 2022 4:27 pm
- Forum: ESP32 Arduino
- Topic: Best Frequency Meter ever made with ESP32 - awesome!
- Replies: 100
- Views: 150898
Re: Best Frequency Meter ever made with ESP32 - awesome!
thanks for the answer. I tested it without making any changes to the program. frequency line transitions on the monitor at 1 second intervals.
- Sun Dec 18, 2022 7:11 pm
- Forum: ESP32 Arduino
- Topic: Best Frequency Meter ever made with ESP32 - awesome!
- Replies: 100
- Views: 150898
Re: Best Frequency Meter ever made with ESP32 - awesome!
Ok jgustavoam. I found what is causing the wrong frequency measurement. in the original code; uint32_t overflow = 20000; Although, i then this line; uint32_t overflow = 1500; I changed it to. I fixed it now and the count is correct. Despite this, unfortunately, the problem of the refresh rate of the...
- Sun Dec 18, 2022 3:32 pm
- Forum: ESP32 Arduino
- Topic: Best Frequency Meter ever made with ESP32 - awesome!
- Replies: 100
- Views: 150898
Re: Best Frequency Meter ever made with ESP32 - awesome!
Hi jgustavoam. No, I wanted to use the frequency counter in a generic code. I rearranged the pins according to the Firebeetle ESP32-e card. As I said, there is a problem with the IDE monitor. I am attaching the code. I defined pin D7 (13) for osc output. When I measure this pin with an oscilloscope,...
- Sat Dec 17, 2022 5:10 pm
- Forum: ESP32 Arduino
- Topic: Best Frequency Meter ever made with ESP32 - awesome!
- Replies: 100
- Views: 150898
Re: Best Frequency Meter ever made with ESP32 - awesome!
Hi jgustavoam, Frequency refresh while checking code execution on ide monitor I see that the intervals are 1sec. Frequency: 0 Hz Frequency: 0 Hz Frequency: 0 Hz ........................... I wonder if this time is valid on the LCD screen as well. Therefore, even though I removed the delay(100) below...
- Thu Dec 08, 2022 9:43 am
- Forum: General Discussion
- Topic: Is it possible to process multiple data at the same time with ESP32?
- Replies: 10
- Views: 6628
Re: Is it possible to process multiple data at the same time with ESP32?
Thanks a lot for your answere.
- Thu Dec 08, 2022 9:23 am
- Forum: Sample Code
- Topic: The Code doesn't work for passive buzzer, piezo buzzer.
- Replies: 0
- Views: 3158
The Code doesn't work for passive buzzer, piezo buzzer.
Hello, I want to receive sound at various frequencies from the passive buzzer whose + end is connected to pin 4 (D12) of firebeetle esp32-e. However, I was never able to do that. When I measure the frequency on the pin, I usually see fluctuations between 50hz and 80hz. Where could I be doing wrong? ...