Skip to content

HOW TO: Two three phase sine wave based on the hardware PWM

LDmicroGitHub edited this page Apr 13, 2017 · 6 revisions

You can increase period of sine wave twice by replacing the SHORT CIRCUIT to the OPEN CIRCUIT element in the rung 11.

pwm3x2

pwm3_0

pwm3_1

pwm3_2

Asm, hex, Proteus7 and others files in zip.
pwm_Atmega2560.zip
Updated for LDmicro v4.1.8 pwm_Atmega2560.zip

Addition 1. Three phase sine wave based on the hardware PWM Timer1 ATmega32U4.
Use SW1 XFx2 as sinus wave frequency multiplier x 2.
atmega32u4_pwm
pwm1_atmega32u4
pwm1_ATmega32U4.zip

Three phase sine wave based on the hardware PWM Timer0 and Timer3 ATmega32U4.
pwm0_atmega32u4
pwm0_ATmega32U4.zip

Any questions to LDmicro.GitHub@gmail.com.
Note: Not tested in hardware.

Clone this wiki locally