Ks0308 keyestudio Motor Drive Breakout Board for micro bit: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
Line 5: Line 5:
== Description  ==
== Description  ==
[http://microbit.org/ micro bit  ] is an entry level development board designed by BBC for teens programming education. It supports the PXT graphical programming interface developed by Microsoft, and can be used under Windows, MacOS, IOS, Android and many other operating systems without downloading the additional compiler. <br>
[http://microbit.org/ micro bit  ] is an entry level development board designed by BBC for teens programming education. It supports the PXT graphical programming interface developed by Microsoft, and can be used under Windows, MacOS, IOS, Android and many other operating systems without downloading the additional compiler. <br>
In order to facilitate the micro bit to drive DC motor, we specially develop [http://www.keyestudio.com/keyestudio-micro-bit-motor-drive-breakout-board.html  this motor drive breakout board ]. The TB6612FNG chip is integrated on the board. Its per channel can output up to 1.2 A continuous drive current, with peak current up to 2A/3.2A. There are 4 motor control modes: Forward / Reverse / Brake / Stop. And PWM supporting frequency is up to 100 kHz. <br>
In order to facilitate the micro bit to drive DC motor, we specially develop [http://www.keyestudio.com/keyestudio-micro-bit-motor-drive-breakout-board.html  this motor drive breakout board ]. The TB6612FNG chip is integrated on the board. Its per channel can output up to 1.2 A continuous drive current, with peak current up to 2A/3.2A. <br>
For wiring, the board breaks out all the pins with the 3PIN interface, so you can connect other sensors to the board using 3pin wire. At the same time, a 3.3V and 5V voltage-regulated chip is integrated on the breakout board, where leads to a 3.3V and 5V power output interface. The board also comes with a serial communication port to facilitate the connection of Bluetooth module.  
There are 4 motor control modes: Forward/Reverse /Brake /Stop. And PWM supporting frequency is up to 100 kHz. <br>
For wiring, this motor drive board breaks out all the interfaces with 3PIN headers, so you can easily connect other sensors to the board using 3pin wire. <br>
At the same time, a 3.3V and 5V voltage-regulator chip is integrated on the breakout board, leading out 3.3V and 5V power output interfaces. <br>
The board also comes with a serial communication port, easy to connect the Bluetooth module.
 
<br>[[File:Ks0308-3.png|500px|frameless|thumb]] <br>
<br>[[File:Ks0308-3.png|500px|frameless|thumb]] <br>



Revision as of 14:49, 9 July 2018

Keyestudio Motor Drive Breakout Board for micro:bit


thumb

Description

micro bit is an entry level development board designed by BBC for teens programming education. It supports the PXT graphical programming interface developed by Microsoft, and can be used under Windows, MacOS, IOS, Android and many other operating systems without downloading the additional compiler.
In order to facilitate the micro bit to drive DC motor, we specially develop this motor drive breakout board . The TB6612FNG chip is integrated on the board. Its per channel can output up to 1.2 A continuous drive current, with peak current up to 2A/3.2A.
There are 4 motor control modes: Forward/Reverse /Brake /Stop. And PWM supporting frequency is up to 100 kHz.
For wiring, this motor drive board breaks out all the interfaces with 3PIN headers, so you can easily connect other sensors to the board using 3pin wire.
At the same time, a 3.3V and 5V voltage-regulator chip is integrated on the breakout board, leading out 3.3V and 5V power output interfaces.
The board also comes with a serial communication port, easy to connect the Bluetooth module.


thumb

Features

  • With four motor control modes
  • Available for 3pin wire connection
  • integrated with 3.3V and 5V voltage regulated chip
  • Comes with a serial commnunication port for bluetooth module

Parameters

  • Input Voltage:DC 6-12V
  • Drive Partial Working Current:≤1.2A
  • Size:70mm*58mm


thumb

Wiring Diagram

Here show you the wiring diagram below, connect the microbit and motor to our motor drive breakout board, you can observe the motor rotation.
Connect the two motors to terminal block A1,A2,B1,B2; GND to battery negative end, VM terminal to battery positive end.
thumb

Testing Code

You can directly copy the below code to microbit or try to edit it on micro bit Blocks Editor
If you can get the code edit successfully, you will be crazy with delight.


thumb


The code explanation as below:

Motor1 forward:
P13 - HIGH
P12 - LOW
Speed PWM: P1

Motor2 forward:
P15 - HIGH
P16 - LOW
Speed PWM: P2

Motor1 Backward:
P13 - LOW
P12 - HIGH
Speed PWM: P1

Motor2 Backward:
P15 - LOW
P16 - HIGH
Speed PWM: P2

Testing Result

Wiring as the above diagram, done powering up and uploading the code, two motors first turn forward for 3 seconds, then reverse for 3 seconds, circularly.

Resources

Datasheet:
https://drive.google.com/open?id=1XkHnVXav2uq2c6-R1oRphfrtQ6luRRcv

Buy From

Official Web:
http://www.keyestudio.com/ks0308.html

AliExpress Store: [1]