Search found 2 matches

by Planet9
Sat Nov 23, 2019 9:11 pm
Forum: General Discussion and Questions
Topic: Detecting a beep with ESP32/micropython
Replies: 4
Views: 203

Re: Detecting a beep with ESP32/micropython

The Goertzel algorithm is quite efficient when searching for a single tone. It essentially calculates one FFT bin. def goertzel(target_freq, sampling_freq, data): ''' When searching for a specific signal tone the Goertzel algorithm can be more efficient than fft. This routine returns magnitude of a ...
by Planet9
Tue Nov 12, 2019 7:36 pm
Forum: General Discussion and Questions
Topic: CAN on STM32F4xx
Replies: 12
Views: 806

Re: CAN on STM32F4xx

Another option for testing is to eliminate the CANbus driver ICs and use Single Wire CAN. (1) Make the CAN TX lines open drain, as shown in this code (which is just a slight mod of previously posted code) (2) Join all the TX and RX lines from the STM32 MCU together (this is the Single Wire CANbus li...