This is a signal generator which can generate 4 different waveforms with configurable frequencies and amplitudes. Configurations are done through a serial interface using a serial communication software.
This project is developed for the STM32 NUCLEO-FO72RB using Keil.
- Required hardware
- STM32 NUCLEO-F072RB
- Output pin
- pin PA4
- Supported waveforms
- Sine
- Square
- Triangle
- Sawtooth
- Frequency range
- Maximum frequency: 2kHz
- Minimum frequency: 1Hz
- Amplitude range
- Maximum amplitude: 3.3V
- Minimum amplitude: 1.0V
-
Download the code here.
-
Open the Keil Project File.
-
Compile and download the code onto the STM NUCLEO-FO72RB.
-
Use Putty or any serial communication software to interact with the device. Set baud rate of the serial communication software to 115200.
-
Output waveform is observable on pin PA4.
Download from github.
- Apptree
- The apptree is a tree-based application display framework.
- Source code available here
- Tan Leong Kit (leongkeit91@gmail.com)
- Tiong Joon Kiat Patrick (tiongpatrick86@gmail.com)
- Yew Chung Law (lawyewchung@gmail.com)
- Law Chiw Ming Dennis (cmlaw1993@gmail.com)