Brushless 2 click
PID: MIKROE-2754
Brushless 2 click carries the DRV10964 BLDC motor controller with an integrated output stage
from Texas Instruments. The click is designed to run on either 3.3V or 5V power supply. It
communicates with the target microcontroller over the following pins on the mikroBUS™ line:
AN, RST, CS, PWM, INT.
How the click works
A 3 wire BLDC motor can be connected over the screw terminals; speed is controlled through
PWM pin on the mikroBUS™ line. The click also has feedback on the interrupt pin (INT), so
you can see exactly how fast the motor is going.
DRV10964 motor driver features
The DRV10964 is a three-phase sensorless motor driver with integrated power MOSFETs. It is
specifically designed for high-efficiency, low-noise and low-external component count motor
drive applications. The proprietary sensorless windowless 180° sinusoidal control scheme offers
ultra-quiet motor drive performance.
The DRV10964 contains an intelligent lock detect function, combined with other internal
protection circuits to ensure safe operation.
Specifications
Type
DC
Applications
The automotive industry, drones (because of the good power‐to weight ratio of
brushless motors), computers, medical equipment, HVAC systems, small home
appliances, robotics, battery powered systems, small cooling fans in computers, toys, etc.
On‐board
modules
DRV10964 5‐V, three‐phase sinusoidal sensorless BLDC motor driver
Key Features Input voltage range 2.1 to 5.5 V
Interface
GPIO,PWM
Input Voltage 3.3V or 5V
Click board
size
S (28.6 x 25.4 mm)
Pinout diagram
This table shows how the pinout on Brushless 2 click corresponds to the pinout on the
mikroBUS™ socket (the latter shown in the two middle columns).
Notes
Pin
Pin
Notes
Resistor setting for
configuring the handoff
threshold sense
CFG
1
AN
PWM
16
PWM
Motor direction selection
FR
2
RST
INT
15
NC
Speed control
input
Speed indicator selector
FGS
3
CS
TX
14
NC
NC
4
SCK
RX
13
NC
NC
5
MISO
SCL
12
NC
NC
6
MOSI
SDA
11
NC
Power supply
+3.3V
7
3.3V
5V
10
+5V Power supply
Ground
GND
8
GND
GND
9
GND Ground
Jumpers and settings
Designator Name
JP1
Default
Position
PWR.SEL. Left
Default
Option
3V3
Description
Power supply selection, left position 3V3, right
position 5V
Programming
Code examples for Brushless 2 click, written for MikroElektronika hardware and compilers are
available on Libstock.
Code snippet
This code example shows how to change the speed and direction of the motor by pressing
buttons on the development board.
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
uint8_t const maxPwmDuty = 255;
uint8_t currentDuty = 20 ;
uint8_t oldstate = 0;
void systemInit()
{
ANCON0 = 0x00;
ANCON1 = 0x00;
ANCON2 = 0x00;
PWM2_Init(5000);
PWM2_Start();
PWM2_Set_Duty(currentDuty);
MOTOR_DIR_PIN_Direction = 0;
}
void Brushless_2_Init()
{
MOTOR_DIR_PIN = 1;
}
void Brushless_2_Task()
{
if (Button(&PORTB, 1, 1, 1))
{
currentDuty++;
PWM2_Set_Duty(currentDuty);
if (currentDuty > maxPwmDuty)
currentDuty = 0;
}
if (Button(&PORTB, 5, 1, 1))
{
oldstate = 1;
}
if (oldstate && Button(&PORTB, 5, 1, 0))
{
MOTOR_DIR_PIN = ~MOTOR_DIR_PIN;
oldstate = 0;
}
41
42
43
44
45
46
47
48
49
50
51
52
}
void main()
{
systemInit();
Brushless_2_Init();
while( 1 )
{
Brushless_2_Task();
}
}
https://shop.mikroe.com/brushless‐2‐click 9‐29‐17
很抱歉,暂时无法提供与“MIKROE-2754”相匹配的价格&库存,您可以联系我们找货
免费人工找货- 国内价格 香港价格
- 1+142.738001+18.17950