1 / 11

Microcontroller Hands-on Workshop # 4

Microcontroller Hands-on Workshop # 4. Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 14, 2009. Agenda for Today. Quick Review Freeduino motor controller Control servo motor Work on robot. Today’s Kit.

rhona
Download Presentation

Microcontroller Hands-on Workshop # 4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Microcontroller Hands-on Workshop #4 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 14, 2009

  2. Agenda for Today Quick Review Freeduino motor controller Control servo motor Work on robot

  3. Today’s Kit Arduino Microcontroller/ USB Cable Breadboard Wires Soldering Iron w/ solder Freeduino Motor Controller DC Motors Servo Motor 10K Potentiometer

  4. Quick Review - PWM PWM signal is a digital square wave where the fraction of the time the signal is on can be varied between 0 and 100%. Call analogWrite(pin, dutyCycle), where dutyCycle is a value from 0 to 255. Use one of the PWM pins (3, 5, 6, 9, 10, or 11).

  5. Quick Review - Motors Electromechanical device that converts electrical energy to mechanical energy

  6. Quick Review - Motor Controller Control 2 motors from your Arduino SN754410NE motor driver • Board and Arduinopinout: • Motor A Direction - Arduino Digital pin 13 • Motor A Speed (PWM) - Arduino Digital pin 10 • Motor B Direction - Arduino Digital pin 12 • Motor B Speed (PWM) - Arduino Digital pin 9

  7. Continue assembling Motor Controller • GO TO: WWW.GOOGLE.COM • TYPE: FREEDUINO MOTOR • CLICK ON THE FIRSTLINK • CLICK THE LINK: “THIS GUIDE” • Or Type the following in the address bar: • http://mcukits.com/2009/03/12/assembling-the-freeduino-arduino-motor-shield/

  8. Controlling Servo Motor • For Code: File -> Examples -> Servo -> Knob

  9. Robot Design Discuss Robot Plans with Team Members!

  10. Robot Teams

  11. Questions or Comments?

More Related