pwm

Controlling DC motor with AVR ATtiny13 PWM and ADC Project

It’s interesting to explore what we can do with this tiny 8 pins; 8-bit microcontroller. The ATtiny13 is the smallest and cheapest Atmel AVR 8-bit microcontroller families but yet, it’s loaded with sophisticated peripherals such as two 8-bit PWM channels and 4 channels 10-bit ADC. Although the memory is quite small; 1 K flash, 64

Controlling DC motor with AVR ATtiny13 PWM and ADC Project Read More »

PWM Motor Driver with MOSFET H-Bridge and AVR ATmega8

Here is a very simple project of controlling a small DC-motor (taken from an old personal cassette player) with ATmega8. The ATmega8 is having three PWM channels, out of which two are used here. PWM waveforms are fed to MOSFET (RFD3055) H-bridge. Here, direction is controlled using a two-position toggle switch and speed of the

PWM Motor Driver with MOSFET H-Bridge and AVR ATmega8 Read More »

Working with Atmel AVR Microcontroller Basic Pulse Width Modulation (PWM) Peripheral

Pulse Width Modulation (PWM) is a technique widely used in modern switching circuit to control the amount of power given to the electrical device.  This method simply switches ON and OFF the power supplied to the electrical device rapidly. The average amount of energy received by the electrical device is corresponding to the ON and

Working with Atmel AVR Microcontroller Basic Pulse Width Modulation (PWM) Peripheral Read More »

How to use fast PWM (Pulse Width Modulation) Mode of AVR microcontroller Timer

This article is in continuation of PWM generation using AVR timer. In the previous article, PWM generation using Phase correct PWM mode is described. However, there are some applications like DAC, power regulation and rectification etc. which require high frequency PWM wave. The PWM generation using Fast PWM mode is suitable for such applications. This

How to use fast PWM (Pulse Width Modulation) Mode of AVR microcontroller Timer Read More »

Phase Correct PWM (Pulse Width Modulation) Mode of AVR microcontroller Timer

Pulse Width Modulation is well known technique for controlling power electronics devices like SCR, IGBT etc. PWM is also used in motor speed controlling. Square wave generation by using AVR timers is explained in previous article. The AVR timers have feature of PWM wave generation as well .This article describes PWM generation capability of AVR

Phase Correct PWM (Pulse Width Modulation) Mode of AVR microcontroller Timer Read More »

Scroll to Top