2
votes
1answer
143 views

Motor control with AVR

I am used to work with PICs, but I want to start using AVRs as well. One thing I like in the PICs is the EPWM (enhanced PWM) peripheral, in which you just set a couple of registers, and the PIC will ...
1
vote
1answer
153 views

Fast PWM and Atmega1280 problem

Hello I have some problems to understand how to bind a Timer to a Pin and because of that my code isn't running... ...
0
votes
2answers
639 views

6 channel PWM with USB support

I am looking for a IC with mininum 6 channel PWM output and preferably USB support so that I can control it uing a software. Any ideas ?
1
vote
1answer
635 views

Controlling Multiple ESCs with ATMEGA128 PWM

So i've been working on this Quadcopter for a while, finally got it all built and put together. Trying to write some code to control the ESC (RedBrick HobbyKing 30A with UBEC). I managed to arm an ESC ...
5
votes
2answers
642 views

How to generate a pwm signal that varies atleast 20times between 0-5V range using Atmeaga32 avr mcu?

I'm doing a Photovoltaic(PV) Data Logger project in this, a power MOSFET(IRFZ34N) can be used as load.So i want to vary the gate voltage using a PWM signal(0-5v range) of MCU & i need at least 2o ...
1
vote
2answers
598 views

Simple solution for driving a large-ish RGB LED array with PWM

I'm working on a small toy-like device that has a 10 x 8 "pixel" array of RGB LEDs at its core; thus there are 10 x 8 x 3 = 240 individual LEDs to be controlled. I'd like to control the intensity of ...
2
votes
1answer
492 views

How to implement a synchronization signal with AVR (attiny45)?

In pseudocode I want to do following: ...
2
votes
2answers
2k views

Driving H-Bridge Inverter via AVR (trilevel or bilevel PWM)

I'm attempting to design an inverter that will be driven mainly by an AVR uC. The H-Bridge will consist of 4 IR840 N-Channel MOSFETs. The left and right hand side of the H-bridge will be driven by two ...
0
votes
1answer
1k views

Sine wave frequency vs. PWM frequency (AVR)

I'm using an AVR Mega 168 to generate a sine wave via pulse width modulation. My goal is to generate a sine wave with a frequency of approximately 50Hz. I understand that the PWM frequency needs to be ...