Go Down

Topic: [ASK] How to generate more pin PWM for servo on ATmega328 (Read 3061 times) previous topic - next topic

nooty

i've been googling for a few hours, but i can't get some example to generate more pin PWM for servo on Atmega328..
i try to understand servo library, but it still confusing

guys, could u help me? could u give some clues?

thanks in advance

nooty

i've been googling for a few hours, but i can't get some example to generate more pin PWM for servo on Atmega328..
i try to understand servo library, but it still confusing

guys, could u help me? could u give some clues?

thanks in advance

johnwasser

Your question is not clear.  Are you trying to use more than the 12 hobby servos that the Arduino servo library supports on the ATmega328P?

http://arduino.cc/en/Reference/Servo
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

DuaneB

Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

Chagrin


lestofante

servo il PPM, not PWM. but the answer lies within:
use the timer, luke! (and take a look at Servo.h how it use them)
Guida per principianti http://playground.arduino.cc/Italiano/newbie
Unoffical Telegram group https://t.me/genuino

dxw00d

#6
Jun 22, 2012, 03:59 pm Last Edit: Jun 22, 2012, 04:02 pm by dxw00d Reason: 1
Quote
servo il PPM, not PWM.


We've had that discussion here before. RC Transmitter -> RC Receiver is PPM, but servos are driven by PWM.

http://www.endurance-rc.com/ppmtut.php

@nooty - Please don't cross-post: http://arduino.cc/forum/index.php/topic,111174.0.html

AWOL

@OP: DO NOT CROSS-POST.

People who have answered your question in one thread may be unaware that the question has already been answered in another.

This wastes their time, and makes them less likely to help in the future.

I have merged your two threads here.


Go Up