Skip to content

A really basic signal generator implemented on ESP32 using the ESP idf for testing analog filter circuits. It includes command line bode-plot functionality for quick evaluation of frequency repsonse.

Notifications You must be signed in to change notification settings

lachydunne1/ESP32-Signal-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

ESP32 Signal Generator

This repository contains code for an ESP32-based signal generator. The project demonstrates how to control the DAC and ADC of the ESP32 to generate and read signals for use with the ESP idf.

Files

  • main.c: Contains the main application code.
  • dac.c: Contains functions for controlling the DAC, including setting up the DAC, changing frequencies, and inverting DAC output.
  • adc.c: Contains functions for reading ADC values and calculating average voltage.
  • CMakeLists.txt: CMake configuration for building the project.

Features

  • DAC Control: Functions to initialize the DAC, change output frequency, and invert output signals.

  • PWM Control: Functions intialized PWM, change output frequency.

  • Frequency Response: Bode function sweeps user defined frequency range for square or sine wave signals.

Getting Started

  1. Clone the Repository:
    git clone https://github.com/yourusername/ESP32_Signal_Generator.git
    cd ESP32_Signal_Generator

About

A really basic signal generator implemented on ESP32 using the ESP idf for testing analog filter circuits. It includes command line bode-plot functionality for quick evaluation of frequency repsonse.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published