Motors are an incredibly important and common component in most projects. There are several different kinds of motors available for you to use, everything from DC motors that simply spin when a voltage is applied to stepper motors that can turn an exact number of spins.
The main reason I'm not starting with a DC motor or stepper motor is because DC motors typically need a large voltage and current, more than the Arduino board can supply. Stepper motors use a complicated control method that usually requires extra boards and code to control accurately.
Let's get started.
Step 1: What You Need
1 x Arduino Board (Arduino UNO R3) (can be any kind of Arduino board)
1 x Servo Motor (for this I use Tower Pro 9g SG90)
1 x Computer with Arduino installed
1 x Mini Breadboard
Don't have components? Don't worry. Just click the component's name.
Step 2: Build Your Circuit
Connect the RED lead from the servo motor to the +5V pin on the Arduino board. Connect the BROWN lead from the servo motor to the 'GND' ground pin on the Arduino board. Connect the YELLOW lead from the servo motor to pin 9 on the Arduino board.
0 comments:
Post a Comment