Connecting a brushless motor with hall sensors and position encoder to arduino

I have a Motor see picture and link QBL4208-41-06 - Bürstenloser DC-Motor 42x42mm, Baulänge 41mm bei reichelt elektronik


are there special shields for brushless motors and where can i find them i already have the arduino shield for servo, dc motors and stepper motors.

Good question - I don't think I found such a shield when I looked a while back, But you need 3-phase bridge which can sometimes be built from a dual H-bridge if you have full independent control of all the switches.

I've built 3-phase motor drivers with chips like the FAN7388 driving 6 MOSFETs, and it tends to use a lot of pins - 3 for halls, 6 outputs to the bridge, 1 analog to read current...

You can use the hall sensors as a very crude encoder and program a BLDC as a servo, BTW

I don't see the current rating for that motor. Here's the google translate English version"

These BLDC (Brushless DC) motors fit well TRINAMIC family BLDC motor modules.

• Number of poles: 8 • Number of phases: 3 • nominal 4000 RPM at rated torque • Stepper motor compatible 42 mm flange • 5 mm shaft diameter, 20 mm length • typical 24V operating voltage • up to 48 V possible • integrated Hall sensors • RoHS compliant

The "Datenblatt" states that this motor is 1.8A constant / 5.4A peak.

• 0.06 Nm

Manufacturer: TRINAMIC Article number of the manufacturer: QBL4208-41-04-006 Package Weight: 0263 kg

It would help if we knew the current rating for the motor. More than likely you can just use an RC ESC and the arduino servo library. The Castle Creations ICE 75 & ICE 100 (A) ESCs can take an input voltage up to 34V. The ICE 50 , only up to 25V, which still allows the use of a 24V supply. They are brushless controllers so there shouldn't be a problem driving the motor and more than likely the motor rating is well below the maximum for these ESCs. The Servo library is plug and play, just connect the signal and ground to the arduino but DON'T connect the red wire on the three conductor servo cable that normally plugs into a receiver because that is the OUTPUT of the BEC in the ESC that outputs +5V to run the receiver and all the servos plugged into it. It should be plug and play. You need to find out how to connect the HALL sensors since I didn't see a datasheet link that shows the pinout of the motor cable.

FYI- I sent an email to with the info above to ask about compatibility.

ESCs for RC motors aren't going to drive a proper BLDC well, partly because the winding resistance/inductance is so much higher so that the start-up sequence may fail to put enough current through the motor, and partly because the typical use of such a motor isn't the same - you often want torque from stationary for instance, or to set up a positional servo loop.

You can try it, something will happen I'm sure. Also there are ESCs supporting sensored RC motors, which would be a better choice, although harder to find, more expensive.

RC ESCs have current limit (it's even programmable). The default is the rating of the ESC.

RC ESCs have current limit (it’s even programmable). The default is the rating of the ESC.

But that’ll likely be higher than the short-circuit current of this motor. RC motor
windings are usually < 0.05 ohms, BLDCs like this are around 1 ohm.

This motor is about 25W rating, typical ESC will handle 100’s of W.

The ICE 100 can deliver 100A @ 34V
Here’s a review:

The 100?amp version we have here has a burst rating of 160 amps!

raschemmel: The ICE 100 can deliver 100A @ 34V Here's a review:

The 100?amp version we have here has a burst rating of 160 amps!

Yes, marketing amps no doubt in both cases ;)

So what are the OP's other options besides using an ESC ?

raschemmel: So what are the OP's other options besides using an ESC ?

Telling us what he's trying to do with the motor. If he's just building a fan he can try an ESC, but if he's trying to build a CNC machine then that'd be a different story.

The "Datenblatt" on the page linked above states that his motor is 1.8A constant / 5.4A peak.

I added that to the specs list I posted in Reply#2

I got a reply from castle creations

As long as that is not a stepper motor our ESC might run it. However, because we have not tested out ESC for anything outside of the RC hobby I cannot say for sure if it will work. You will need to test it.

Our ESCS are essentially plug and play. They adapt themselves to the motors they are running so if it can start and run your motor you shouldn’t have to change anything.

Of use outside of the RC hobby you might find our Serial Link useful. Because this is an industrial product it is assumed it will be used by an electrical engineer. We provide the information to use this, follow the two links at the top of the page, but are unable to provide any support for the coding it will take on the users end for its use.

Serial Link:


Yes, marketing amps no doubt in both cases ;) [/quote]


I have pulled 240 Amps peak on an 180 Amp ESC on several occasions, without any problems.

You need to understand how these ESC's are made - there are 15 or more of low restance fets on each phase output.

// Per

According to the review that 1.6 ratio of burst to continuous current means you could pull 280A