Home > other >  Try non-inductive BLDC simple experimental motors
Try non-inductive BLDC simple experimental motors

Time:05-04

Before "no-sense BLDC simple experimental motors", published in the goal is simple experiment, but think the program is still too complicated, the cost should come down a bit, the debugging process should also be more a little bit more simple, of course, non-inductive faults do not have to be completely overcome, just want to use the simplest way, the minimalist prices, the most Jane to make time for BLDC spin motors, mainly explain BLDC turn up principle of the motors, temporary not consider speed, torque and other issues,
Many people think startup is a problem, in fact, as long as slow starting speed can,
The following example has reached:
1. The program greatly simplifies the
2. The CPU to STM32F103 C8T6 (hands no other cheaper CPU)
Motor driver chip MX1508 on a treasure for less than 1 yuan
3. Reduce the motor drive voltage to about 1.2 V
4. Debugging is simple, only need to change the i1
5. Since the launch of the motor

//testBldcSTM32F103-20210503. Ino
//STM32F103 - C8T6, MX1508, camera platform with brushless motor (non-inductive, 12 v)
//motor power supply voltage=1.2 V)
Byte LED=32, tri1=28, 29, tri2=tri3=30;
Int i1=11000;
Void setup () {
PinMode (LED, the OUTPUT);
PinMode (tri1, the OUTPUT);//MX1508 - A1
PinMode (tri2, the OUTPUT);//MX1508 - A2
PinMode (tri3, the OUTPUT);//MX1508 - B1
}
Void loop () {//1 h, 2 l, 3 h, 1 l, 2 h, 3 l
DigitalWrite (LED,! DigitalRead (LED));
DigitalWrite (tri1, HIGH); DelayMicroseconds (i1);
DigitalWrite (tri2, LOW); DelayMicroseconds (i1);
DigitalWrite (tri3, HIGH); DelayMicroseconds (i1);
DigitalWrite (tri1, LOW); DelayMicroseconds (i1);
DigitalWrite (tri2, HIGH); DelayMicroseconds (i1);
DigitalWrite (tri3, LOW); DelayMicroseconds (i1);
}
  • Related