pwm ?

Hi guys am using atmega 328 chip adruino that has 7 pwm output ports but what I exactly want to know is that these outputs would generate pwm signals automatically no matter what the inputs are? or I have to do some sort of things to obtain pwm output signals am really confused about this WHAT EXACTLY PWM i have read alot about it online but the idea is not really clear to me

thanks guys

How about if you format your post again. I can't understand the question, or if there's more than one.

Use periods too, so we know where sentence stops, and new begins.

Cheers, Kari

kaznov:
Hi guys
am using atmega 328 chip adruino that has 7 pwm output ports
but what I exactly want to know is that these outputs would generate pwm signals automatically no matter what the inputs are?

No there is no automatic pwm output. you use the arduino analogWrite command to generate a PWM signal on an arduino output pin.

or I have to do some sort of things to obtain pwm output signals am really confused about this
WHAT EXACTLY PWM i have read alot about it online but the idea is not really clear to me

Here is the Arduino reference info on the analogWrite statement and it includes some simple examples:
http://arduino.cc/en/Reference/AnalogWrite
Lefty

thanks guys

thanks Lefty :slight_smile:

It also depends on if you are going to use your Arduino to drive Servo's. Many people get confused on the issue, you can use the Servo Library and drive any servo with a Digital pin. I'm not for sure what your purpose is for the PWM, but if it is Servo's, see: http://www.arduino.cc/playground/ComponentLib/servo If you are looking for continuous rotation ideas (robots, etc): http://www.bajdi.com/continuous-rotation-servos-and-arduino/ AutoCoop

Autocoop am using the adruino for automatic brightness controller