Search found 44 matches

by stan
Fri Dec 18, 2020 8:37 pm
Forum: Projects
Topic: Goertzel for stm32f103 LCD
Replies: 17
Views: 1128

Re: Goertzel for stm32f103 LCD

I am trying different frequencies, i think this is not issue, with 40000 the highest input frequency = 2000 Hz, 1 bin is 312Hz wide..... So sampling frequency is changing the numbers but this doesn't make the Goertzel work or not.
by stan
Fri Dec 18, 2020 8:29 pm
Forum: Projects
Topic: Goertzel for stm32f103 LCD
Replies: 17
Views: 1128

Re: Goertzel for stm32f103 LCD

fredbox wrote:
Fri Dec 18, 2020 7:58 pm
You might find some useful info here: https://github.com/jmharvey1/STM32_CWDecoder. The tone detection has been solved using a timer interrupt.
Thanks for link. now I have to make it shorter , it has 1760 lines, I think just tone detect part will be about 100 lines.
by stan
Fri Dec 18, 2020 7:41 pm
Forum: Projects
Topic: Goertzel for stm32f103 LCD
Replies: 17
Views: 1128

Re: Goertzel for stm32f103 LCD

I added sensorValue and numbers are changing when generator is turned on /off // Set things up //http://play.fallows.ca/wp/radio/ham-radio/signal-analysis-morse-decoder/ #include <Goertzel.h> int sensorPin = PA6; //int sensorPin =A0; int led = PC13; //int led = 13; //const float TARGET_FREQUENCY = 5...
by stan
Fri Dec 18, 2020 7:25 pm
Forum: Projects
Topic: Goertzel for stm32f103 LCD
Replies: 17
Views: 1128

Re: Goertzel for stm32f103 LCD

ozcar wrote:
Fri Dec 18, 2020 6:44 pm
stan wrote:
Fri Dec 18, 2020 4:42 pm
it is compiling but not working I added LCD, in uno LCD it is alive in stm32 it is dead just displays 0.00 and do on respond to signal on PA6.
How are you generating the signal on PA6, and are you sure there is really something to see there?

I have signal generator and oscilloscope.
by stan
Fri Dec 18, 2020 7:18 pm
Forum: Projects
Topic: Goertzel for stm32f103 LCD
Replies: 17
Views: 1128

Re: Goertzel for stm32f103 LCD

Here is fft bin 12 = 3.6kHz, and SAMPLING FREQUENCY 40000, so I put 40000 to Goertzel but nothing changes. In fft LCD is responding to PA6, numbers are jumping without signal from noise in Goertzel on LCD is 28.3 steady. #include "arduinoFFT.h" #include <LiquidCrystal.h> LiquidCrystal lcd(PB15, PB5,...
by stan
Fri Dec 18, 2020 4:42 pm
Forum: Projects
Topic: Goertzel for stm32f103 LCD
Replies: 17
Views: 1128

Re: Goertzel for stm32f103 LCD

it is compiling but not working I added LCD, in uno LCD it is alive in stm32 it is dead just displays 0.00 and do on respond to signal on PA6. // Set things up //http://play.fallows.ca/wp/radio/ham-radio/signal-analysis-morse-decoder/ #include <Goertzel.h> int sensorPin = PA6; //int sensorPin =A0; i...
by stan
Thu Dec 17, 2020 9:14 pm
Forum: Projects
Topic: Goertzel for stm32f103 LCD
Replies: 17
Views: 1128

Re: Goertzel for stm32f103

Thanks it is done, no errors. For some reason I have higher space usage

Code: Select all

Sketch uses 25352 bytes (38%) of program storage space. Maximum is 65536 bytes.
Global variables use 3960 bytes (19%) of dynamic memory, leaving 16520 bytes for local variables. Maximum is 20480 bytes.
by stan
Thu Dec 17, 2020 6:40 pm
Forum: Projects
Topic: Goertzel for stm32f103 LCD
Replies: 17
Views: 1128

Re: Goertzel for stm32f103

so I made modification // Set things up //http://play.fallows.ca/wp/radio/ham-radio/signal-analysis-morse-decoder/ #include <Goertzel.h> int sensorPin =PA6; //int sensorPin =A0; int led = PC13; //int led = 13; //const float TARGET_FREQUENCY = 500; const float TARGET_FREQUENCY = 5000; const int N = 1...
by stan
Thu Dec 17, 2020 2:42 pm
Forum: Projects
Topic: Goertzel for stm32f103 LCD
Replies: 17
Views: 1128

Re: Goertzel for stm32f103

With new IDE the error is; Arduino: 1.9.0-beta (Windows 7), Board: "Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), STM32duino bootloader, 72Mhz (Normal), Smallest (default)" In file included from C:\Users\John\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2017.8.5\cores\...
by stan
Wed Dec 16, 2020 11:14 pm
Forum: Projects
Topic: Goertzel for stm32f103 LCD
Replies: 17
Views: 1128

Goertzel for stm32f103 LCD

Hi This program is working fine with arduino uno, for blue pill there is compiling error. I looked at Goertzel.h but I didn't find something special which can cause the problem. Here are, program, error, Goertzel.h file. // Set things up //http://play.fallows.ca/wp/radio/ham-radio/signal-analysis-mo...

Go to advanced search