Skip to content

Measure the frequency response of a passive circuit using a microcontroller, a signal generator and a small analog frontend

Notifications You must be signed in to change notification settings

antonin-leclercq/stm32_bode_table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stm32_bode_table

Overview

This project helps you plot the frequency response of a passive circuit.
It was originally built to find the resonant frequency of an LC tank formed by the secondary of a Tesla coil and parasitic capacitance.
A function generator provides the driving signal in a frequency sweep mode, while the MCU samples the period of the signal along with it's amplitude at the output of the DUT.
On top of that, the USART peripheral allows for setting some acquisition parameters through a computer, for example.

Details

Pin mapping - STM32F072RB

MCU Pin Description
PA2 USART2 TX
PA3 USART2 RX
PA8 TIM1 input capture
PB14 TIM15 input clock
PB0 ADC CH8 input

Links

STM32F072RB datasheet
STM32F0x2 reference manual

About

Measure the frequency response of a passive circuit using a microcontroller, a signal generator and a small analog frontend

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published