Contributed by Circuit City
Source: Yufei Network


Function Description
This module can convert a DC input voltage of 4.5V to 35V into an AC voltage of ±4.5V to ±35V. The module uses the STM32F030F4P6 microcontroller to generate SPWM waves to drive the L298 module. The L298 module integrates an H-bridge circuit and the circuit that drives the H-bridge, greatly reducing the difficulty of SPWM driving the H-bridge. You only need to add an LC filter circuit at the output of the L298 to filter out a smooth sine voltage waveform, which can carry a load with an output current of up to 1.5A. This is convenient for you to learn the principle of SPWM generation by the microcontroller; it can also control the output amplitude and frequency through serial commands.
The STM32 microcontroller (STM32F030F4P6) generates two SPWM waves, with an onboard serial download interface for user programming;
Post-LC filter output, high waveform smoothness;
Outputs 50Hz sine AC voltage;
Input DC voltage range (4.5~35V);
Output AC effective voltage range (3.1~24V);
Maximum output current 1.5A;
Wide voltage input, no need for additional drive IC power supply

Data Description
The attachment contains the schematic in PDF format.
The program is written in C language and compiled using Keil software, the file is the project source code.
Technical consultation QQ: 2067054198 (please specify from Circuit City when consulting);
Physical link:
https://item.taobao.com/item.htm?spm=a1z10.1-c.w4004-15108222295.14.68701a2cxnW5bq&id=571321673117
