DFR0114_Integrated_Drive_N20_Motor_1_150_133RPM-DFRobot

Product Introduction

Motor control has never been so simple! The N20 miniature metal motor series is an indispensable tool for your project. Compared to traditional motors, we adopt the PWM servo control method, fundamentally simplifying wiring and programming difficulties.

Conventional motors typically require the additional purchase of a drive module, increasing project costs. Moreover, they face complex and cumbersome wiring and programming tasks because conventional motors usually do not come with a built-in drive chip, requiring connection to at least 4 ports for normal control. Our product cleverly integrates the drive chip at the tail of the motor and adopts the control method of a servo, requiring only one PWM port to easily control the motor's speed and direction. This not only eliminates wiring troubles but also makes programming a breeze.

In addition, we have deeply optimized performance, especially by increasing the stop point pulse width, successfully reducing standby power consumption to less than 1mA, with minimal current consumption when no control signal is present.

To cater to different application scenarios, we offer a variety of gear ratios and output speeds for motor selection. The table below provides detailed performance parameters for each motor model, making your selection more convenient.

Integrated Drive N20 Series Motor Parameter Table

SKU DFR1114 DFR0399 DFR0429 DFR0430
Motor and Gearbox Parameters
Motor Speed (Unreduced) 20000 220000 220000 220000
Gearbox Reduction Ratio 1:150 1:75 1:50 1:30
No-load Output Speed 133 290 440 730
Stall Torque 1.0kg*cm 0.8kg*cm 0.5kg*cm 0.3kg*cm
Power Supply Parameters
Operating Voltage 3-6V 3-6V 3-6V 3-6V
Rated Voltage 6V
No-load Current 50mA 70mA 70mA 70mA
Stall Current 640mA 1000mA 1000mA 1000mA
Static Current <1mA
Control Parameters
PWM Frequency 500Hz 500Hz 500Hz 500Hz
Signal Resolution 1us 1us 1us 1us
Forward Pulse Range 500-1400us 500-1400us 500-1400us 500-1400us
Stop Pulse Width Range 1400-1600us 1400-1600us 1400-1600us 1400-1600us
Reverse Pulse Range 1600us-2500us 1600us-2500us 1600us-2500us 1600us-2500us
Other Parameters
Weight 10g 10g 10g 10g
Dimensions(mm) L40m× W12 × H20 L40m× W12 × H20 L40m× W12 × H20 L40m× W12 × H20

Features

Application

Specification

Power Parameters

Motor Parameters

Control Parameters

Other Parameters

Dimension(Unit: mm)

Tutorial

Requirements

Connection Diagram

Sample Code

Code Explanation: The following code utilizes a 180-degree servo motor drive method to control the N20 motor. The program functions as follows:

  1. Pause for 1 second when the program is running.
  2. Rotate the motor clockwise at the maximum speed for 2 seconds.
  3. Rotate the motor counterclockwise at the maximum speed for 2 seconds.
  4. Gradually reduce the clockwise speed to a stop, then vary the counterclockwise speed from slow to fast.

The above logic is in an infinite loop.

#include <Servo.h>

#define speed_maxP 0   //Clockwise rotation (Max speed)
#define speed_maxN 180 //Anticlockwise rotation (Max speed)
#define speed_stop  90 //Stop

Servo  mymotor;  // create servo object to control a servo (my motor)
                 // twelve servo objects can be created on most boards

int pos=0;
void setup()
{
  mymotor.attach(9);  //attaches the motor on pin 9 to the servo object
}
void loop()
{
  /**********Using 180 degree servo library to control N20 motor******************************/
  mymotor.write(speed_stop);     //Stop
  delay(1000);                   //delay 1s
  mymotor.write(speed_maxP);     //Clockwise rotation
  delay(2000);                   //delay 2s
  mymotor.write(speed_maxN);     //Anticlockwise rotation
  delay(2000);                   //delay 2s
  for(pos=speed_maxP;pos<speed_maxN;pos++)  //slow down, change the direction and speed up
  {
    mymotor.write(pos);
    delay(50);
  }
}

Note