查看“Microduino-Motor”的源代码
←
Microduino-Motor
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{Language|Microduino-Motor}} {| style="width: 800px;" |- | [[File:Microduino-a3906-rect.jpg|400px|thumb|right|Microduino-A4982]] Microduino-Motor is a motor drive controller with the PWM control function. It can be used to control dual full bridge low voltage stepper motor, single or dual DC motor, widely applied in smart car and robot control. ==Feature== *Internal PWM current limit control *Synchronous rectifier, capable of reducing power consumption *Under-voltage lockout *Low RDS(on)output *Dc motor braking mode *Sleep function *Overcurrent protection *Overheating Shutdown *Small size ==Specification== *20 pins *4 mm×4mm×0.75mm size *With QFN package and naked pads for enhanced cooling *100% Matte tin plated pin ===Electrical specifications=== *VCC voltage:5V *VMOT voltage:2.5~9V ===Pin Description=== {|class="wikitable" ! rowspan="1" |Microduino Motor Pin||Microduino Pin||Function |- | SLEEP||Microduino IO port||Sleep logical input, low active |- | IN1||Microduino IO port||Control input |- | IN2||Microduino IO port||Control input |- | IN3||Microduino IO port||Control input |- | IN4||Microduino IO port||Control input |- | VMOT||Connect external power||external power to motor |- | VCC||VCC||power to A3906 and Microduino |- | GND||GND||Common Ground |} [[File:A3906-Pinout-1.jpg|800px|thumb|center|Microduino-A3906-Pinout]] ==Document== Driver chip:A3906 '''[[File:A3906-Datasheet.pdf]]''' ==Development== ===DC motor wiring=== Connect one DC motor to OUT1A,OUT1B, the other to OUT2A,OUT2B. ====DC motor control mode==== {|class="wikitable" ! rowspan="1" |IN1||IN2||IN3||IN4||OUT1A||OUT1B||OUT2A||OUT2B||Function |- |0||0||0||0||Off||Off||Off||Off||Close |- |1||0||1||0||High||Low||High||Low||Forward |- |0||1||0||1||Low||High||Low||High||Backward |- |1||1||1||1||Low||Low||Low||Low||Stop |} ===Step motor wiring=== *Connect step motor to Microduino Motor module: **The four-wire two-phase step motor has two sets of coil A and B. Each group of coil's resistance is very small, only a few ohm. A and B group are absolute insulated and disconnected. Just use a multimeter to measure, the one connected belongs to one group. **After identifying the A and B group, just connect one group to (OUT1A, OUT1B), the other to (OUT2A, OUT2B). ====Step motor control mode==== {|class="wikitable" ! rowspan="1" |IN1||IN2||IN3||IN4||OUT1A||OUT1B||OUT2A||OUT2B||Function|| |- |0||0||0||0||Off||Off||Off||Off||Disabled||Disabled |- |1||0||1||0||High||Low||High||Low||Full Step 1 ||1/2 Step 1 |- |0|| 0|| 1|| 0|| Off|| Off|| High|| Low|||| 1/2 Step 2 |- |0||1|| 1 ||0|| Low|| High||High ||Low|| Full Step 2||1/2 Step 3 |- |0||1 ||0 ||0 ||Low ||High ||Off ||Off |||| 1/2 Step 4 |- |0||1|| 0 ||1 ||Low|| High ||Low ||High ||Full Step 3|| 1/2 Step 5 |- |0|| 0 ||0 ||1 ||Off ||Off ||Low ||High |||| 1/2 Step 6 |- |1|| 0|| 0 ||1 ||High ||Low ||Low ||High ||Full Step 4|| 1/2 Step 7 |- |1|| 0|| 0 ||0 ||High ||Low ||Off ||Off ||||1/2 Step 8 |} ==Application== ===Program download=== Test program:'''[[File:Program Test A3906.zip]]''' ===A3906 contorls two DB motors=== *Use Microduino core and Microduino A3906's control function; *Prepared hardware: Microduino FT232R,Microduino Core, Microduino Motor and two DC motors as well as a power supply(2.5~9V); *Prepared software: Microduino test program(Arduino part) and Arduino IDE(version 1.0 and higher); *Start Arduino IED,open the Microduino test program, choose "Microduino Core (Atmega328P@16M,5V)" and download directly; How to make a pegboard with Microduino core and Microduino Motor connected: *Set up the circuit on pegboard as follows (blue line at the bottom) [[File:A3906.png|thumb|600px|center|Pegboard connection]] *Microduino Motor drive DC motor test: **Connect 5V or 9V power, the motor don't rotate initially: **Start Arduino IED serial monitor ***Input 0000, enter, two motors don't rotate ***Input 0101, enter, Two motors rotate forward ***Input 0110, enter, one motor rotates forward and the other backward ***Input 1001, enter, one motor rotates backward and the other forward ***Input 1010, enter, two motors rotate backward ***Input 1111, enter, two motors stop ==Bug== ==History== ==Pictures== [[File:Microduino-a3906-t1.jpg|thumb|600px|center|front]] [[File:Microduino-a3906-b1.jpg|thumb|600px|center|back]] ==Video== |}
该页面使用的模板:
模板:Language
(
查看源代码
)
模板:Nmbox
(
查看源代码
)
返回至
Microduino-Motor
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
Welcome
首页
创客大赛
大赛详情
3D打印
安装月球车
图形化编程
操控月球车
升级月球车
编程工具下载
软件下载
Arduino
Processing
Mixly
Scratch
模块套件
Microduino 102
mCookie 102
mCookie 202
mCookie 302
IBC
其他
应用套件
四轴飞行器
平衡车
小车CUBE
音乐播放器
刷卡音乐播放器
wifi气象站
彩虹音乐触摸灯
分贝检测仪
迎门汇报
LED点阵时钟
LED点阵屏幕
硬件
mCookie
Sensor
Microduino
MicroWrt
MicroNux
MicroRobot-Core
MicroRobot-CoreESP
ideaBoard
ideaBox
MicroMV
MicroAI
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息