4-Phase 5-Wire Stepper Motor (28BYJ-48) [D021]
https://www.youtube.com/watch?v=YzQ7ImtW9bA
* GitHub : https://github.com/rdiot/rdiot-d021.git
* Specs
Color: Silver
Diameter: 28mm
Voltage: 5V
No-load pull into the frequency: >600Hz
Phase: 4
No-load pull-out frequency: >1000Hz
Reduction ratio: 1/64
Pull-in torque: >34.3mN.m (120Hz)
Step Angle: 5.625 x 1/64
Self-positioning torque: >34.3mN.m
DCR: 200ohm +/- 7% (25'C)
Temperature: <40K (120Hz)
Insulation resistance: >10Mohm (500V)
Noise: <40dB (120Hz, No load, 10cm)
Dielectric Strength: AC 600V / 1mA / 1s
Insulation Class: A
Cable length: 24cm
Suitable for guide wind deflector, portable air conditioner valve, etc
Dimensions: 1.65 in x 1.22 in x 0.79 in (4.2 cm x 3.1 cm x 2.0 cm)
Weight: 1.20 oz (34 g)
* Contents
28BYJ-48 Stepper Motor and ULN2003 Motor Driver
- Key Code
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <Stepper.h>
LiquidCrystal_I2C lcd(0x27,20,4); // LCD2004
const int stepsPerRevolution = 2048; // 2048:(360 Degree), 1024:(180 degree)
// ULN2003 IN4, IN2, IN3, IN1
Stepper myStepper(stepsPerRevolution,11,9,10,8);
int val;
void setup()
{
lcd.init(); // initialize the lcd
lcd.backlight();
lcd.print("start LCD2004");
delay(1000);
myStepper.setSpeed(14);
lcd.clear();
}
void loop()
{
lcd.setCursor(0,0);
lcd.print("D021:28BYJ-48");
lcd.setCursor(0,1);
lcd.print("B002:X113647");
// Left 1 round
myStepper.step(stepsPerRevolution);
val = stepsPerRevolution;
lcd.setCursor(0,2);
lcd.print("right=" + (String)val + " ");
delay(500);
// Right 1 round
myStepper.step(-stepsPerRevolution);
val = -stepsPerRevolution;
lcd.setCursor(0,2);
lcd.print("left=" + (String)val + " ");
delay(500);
}
'3) Actuator > Motor' 카테고리의 다른 글
TT Motor Car Gear Motor [S142] (0) | 2016.10.05 |
---|---|
Clamp Gripper Bracket Servo Mount [B045] (0) | 2016.10.04 |
TowerPro SG5010 Micro Servo (SG5010) [D032] (0) | 2016.10.04 |
SG90 Camera Mount [B051] (0) | 2016.10.04 |
Tower Pro SG90 Micro Servo (SG90) [D018] (0) | 2016.10.04 |