Skip to content

Utilizes a FeelTech FY3225S function generator and a Hantek 6022 osilloscope to sweep a filter create a bode plot of the frequency response plot

License

Notifications You must be signed in to change notification settings

jonw0224/bodeplot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Bodeplot

Create and save a bodeplot using the FeelTech 3225 function generator and Hantek 6022 oscilloscope

Usage:

python3 bodeplot.py [-h] [--port PORT] [--fstart FSTART] [--fstop FSTOP][--fstep FSTEP] [--filename FILENAME]

options:

-h, --help show this help message and exit

--port PORT Serial port for the function generator. Default /dev/ttyUSB0.

--fstart FSTART Starting frequency for the bodeplot in Hz. Default 10 Hz.

--fstop FSTOP Stopping frequency for the bodeplot in Hz. Default 5 MHz.

--fstep FSTEP Step frequency multiplier. Default 1.1.

--filename FILENAME Filename to save the bodeplot information. Default bodeplot.csv.

Utilizes a FeelTech FY3225S function generator and a Hantek 6022 oscillosope to sweep a filter from FSTART (10 Hz) to FSTOP (5 MHz) by FSTEP (1.1) and create a bode frequency response plot, display the plot, and save the plot information to FILENAME ('bodeplot.csv'). Channel 1 on the oscilloscope is the filter output and Channel 2 on the oscilloscope is the filter input (i.e. the function generator Channel 1 output).

Depends on having the python-feeltech and Hantek6022API installed.

https://github.com/atx/python-feeltech

https://github.com/Ho-Ro/Hantek6022API

About

Utilizes a FeelTech FY3225S function generator and a Hantek 6022 osilloscope to sweep a filter create a bode plot of the frequency response plot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages