Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 5 Servomotor.

Similar presentations


Presentation on theme: "Chapter 5 Servomotor."— Presentation transcript:

1 Chapter 5 Servomotor

2 Table of content Motor Motor/Generator Servomotor Example 1 and 2
Challenge 1 and 2

3 Motor There’s many different types: -DC -Brushless -Servomotor
-Continuous servomotor -Gear motor…

4 Motor / Generator A motor can also be call a generator
A motor uses electricity to create movement A generator uses movement to create electricity

5 Servomotor Can rotate from 0° to 180° Easy to control it’s position

6 Example 1 Move 90° position
#include<servo.h> Servo myservo; Void setup(){ myservo.attach(9); } Void loop(){ Myservo.write(90);

7 Example 2 sweep left and right

8 Challenge 1 Push button with Servomotor
Use two push buttons to control the servomotor. When one button is press the motor will turn to the right and when the other button is press the motor will rotate the left.

9 Challenge 1

10 Challenge 2 servomotor and potentiometer
Let’s control the servomotor using a potentiometer. When you turn the potentiometer de motor will also turn.

11 Challenge 2

12 Next Chapter 6 Dc Motor


Download ppt "Chapter 5 Servomotor."

Similar presentations


Ads by Google