DOC PREVIEW
SJSU ME 106 - handout_RC_servo

This preview shows page 1 out of 2 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

RC ServosRC Servo Internalshttp://www.servocity.com/assets/images/Servo_Breakdown.jpgServo Control Loophttp://www-cdr.stanford.edu/dynamic/servo/servoloop.gifBlock Diagramhttp://www.digitalnemesis.com/info/docs/rcservo/resources/servodiagram1.png BJ Furman | ME 106 Intro to Mechatronics | RC servos.doc | 05OCT2010 Page 1 of 2http://pcbheaven.com/scripts/imagepresent.php?filename=%2Fwikipages%2Fimages%2Fhowservoswork_1245415989.jpgRC ServosGenerating the RC Servo Control Signal (PWM waveform)Uses the ATmega16 timer/counter 0Figure 6. How OCR0 Controls Duty Cycle. The figure demonstrates how the OCR0 value is used to control the duty cycle for Phase Correct PWM. The OC0 pin is initially at 5V, and once the counter reaches the OCR0 value, the OC0 pin is set to low. OC0 is pulled high when the counter reaches the OCR0 valueagain.TCCR0 InitializationWhat byte is stored in TCCR0? BJ Furman | ME 106 Intro to Mechatronics | RC servos.doc | 05OCT2010 Page 2 of 2http://www.pinballmedic.net/images/parts/typical_flipper_assembly_sm.jpgExample Coil SpecsStern flipper solenoid dual winding coil.Specifications: Wire Gauge: 22 /30Number of turns: 750 /2600Resistance in ohms: 2.6 / 92http://www.marcospecialties.com/storeitems.asp?cc=COIL void init() {//Initialize Timer0TCCR0 = _BV(WGM00) | _BV(COM01) | _BV(CS02);//Enable outputDDRB |= _BV(PB3);//Initialize the UART.uart_init();


View Full Document

SJSU ME 106 - handout_RC_servo

Download handout_RC_servo
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view handout_RC_servo and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view handout_RC_servo 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?