Description
These are standard ‘130 size’ DC hobby motors. They come with a wider operating range than most toy motors: from 4.5 to 9VDC instead of 1.5 to 4.5V. This range makes them perfect for controlling with an Arduino where you are more likely to have 5 or 9V available than a high current 3V setting. They’ll fit in most electronics that already have 130-size motors installed and there’s two breadboard-friendly wires soldered on already for fast prototyping.
Features:
- Operating Temperature: -10°C ~ +60°C
- Rated Voltage: 6.0VDC
- Rated Load: 10 g*cm
- No-load Current: 70 mA max
- No-load Speed: 9100 ±1800 rpm
- Loaded Current: 250 mA max
- Loaded Speed: 4500 ±1500 rpm
- Starting Torque: 20 g*cm
- Starting Voltage: 2.0
- Stall Current: 500mA max
- Weight: 17.5 grams
Getting started 3-6V DC Motor Micro Motor Miniature Stepper Motor
To drive a DC motor you need a larger amount of current than Arduino board can give. For that reason you must use a transistor. Transistors have limits and maximum specs, just be sure those values are enough for your use.
The transistor we are using for this tutorial is P2N2222A and is rated at 40V and 200mA, it just perfect for one toy dc motor.
Note: If your motor needs more current than 200mA you can just buy another transistor (ask the staff in the electronics store). The connections below are the same.
In this tutorial we will spin a dc motor from one direction, with different speed. You will be able to control motor speed from serial monitor!
Step1: Hardware required
For this tutorial you will need:
Step2: Connecting the hardware
The Circuit
The connections are easy, see the image above with the breadboard circuit schematic.
Step3: Making the code and Upload it!
Download the code from here and open it with Arduino IDE.
|
|