Search found 7 matches

by heinzv
Fri Apr 07, 2023 7:39 am
Forum: ESP32 Arduino
Topic: Using PCNT to Measure Frequency on Two Inputs
Replies: 2
Views: 7406

Re: Using PCNT to Measure Frequency on Two Inputs

I have the same use case/requirement and have taken also your example (as well as the original source of your example) and facing the same problem. Only the second input GPIO 12 is working. I also have not yet understdood what need to be implemented twice to measure two frequencies. I found this cod...
by heinzv
Thu Apr 06, 2023 5:05 am
Forum: ESP32 Arduino
Topic: Best Frequency Meter ever made with ESP32 - awesome!
Replies: 100
Views: 150965

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

Hi, very good code, thanks a lot. I have the same question as it was asked around 3 times but I have not found an answer/response to that questions: I also need to measure two frequencies at the same time. Is it possible to use two input pins or what need to be doubled or is it possible at all? A co...
by heinzv
Wed Mar 11, 2020 5:43 am
Forum: ESP32 Arduino
Topic: Frequency Measurement on digital input
Replies: 18
Views: 46834

Re: Frequency Measurement on digital input

I'm also looking for a precise frequency measurement of a digital IO for up to 10kHz with an accuracy below 1Hz. Could you share your final solution? BTW I need also to calculate the standard deviation of the pulses. Not sure if a simple HW pulse counter is sufficient then or if I anyhow need to mea...
by heinzv
Wed Mar 04, 2020 5:59 pm
Forum: Sample Code
Topic: Sinus Signal Generator from 18Hz to 250kHz
Replies: 9
Views: 71473

Re: Sinus Signal Generator from 18Hz to 250kHz

I'm using a very similar code already in Arduino Studio. It should more or less work 1:1. Main function code needs to go to setup(). I have another very important question to the experts here: I need a sine wave which shall sweep from 400Hz to 10kHz with 1Hz steps. The cosine works almost nicely BUT...
by heinzv
Wed Mar 04, 2020 5:06 pm
Forum: ESP-IDF
Topic: I2S to Internal DAC is Broken
Replies: 11
Views: 15713

Re: I2S to Internal DAC is Broken

will the 3.3.x API also been available for Arduino Studio and when can we expect it?
I also have this issue and I'm working with Arduino Studio.
by heinzv
Sat Feb 29, 2020 12:21 am
Forum: ESP-IDF
Topic: How do I access the contents of the CW generator / DAC?
Replies: 4
Views: 8378

Re: How do I access the contents of the CW generator / DAC?

I need a high precison sine tone sweep generator (200 to 8000Hz at least) and I found a working solution using the CW generator. I used this source: https://github.com/krzychb/dac-cosine Now I found your hint, that I should not go the the internal DAC directly but via the I2S. That is axcatly what ...
by heinzv
Sat Sep 21, 2019 12:03 pm
Forum: ESP-ADF
Topic: Adding custom voice recognition commands on Esp32-Lyra T .
Replies: 3
Views: 10113

Re: Adding custom voice recognition commands on Esp32-Lyra T .

I have also purchased 4 ESP32 audio boards (LyraT and ESP31-A1S Audio Kits from AI) with the idea to have local speech recognition for at least 20 commands. Unfortunatly we get only a hadnfull useless Chineese Words. So it is totally useless outside China. It would only makes sense if a handfull Eng...