Recommendation for adding hall sensors to motor

I’ve never bothered before as the vesc FOC program is so nice but none-the-less people want me to add them to their motor. any suggestions? its a 47mm diameter stator which is rare.

If we’re talking from the ground up, the easiest way is to mount the hall sensors on a PCB and then internally mounting the pcb on top of the stator. Of course hot glue is the preferred dirty fix for those unwilling to use PCBs.

The Hot Glue King says DO IT!

Where can i buy hall sensors?

hot glue sounds risky there’s high heat epoxy I have labeled for such a job. I’m also looking where to buy them. they’re out there but not sure which is best suited.
It seems mounting them is pretty straight forward and they just have to be positioned correctly: able to pick up the magnet’s field but not close to to any stray fields.

I believe PCB mounted sensor would be best, you can buy the sensors from digikey/mouser, unless you’re after premade sensor pcbs?

I said quick and dirty , never said reliable :wink:. Here’s a link of a guy going the whole 9 yards. Math and BOM included…

P. S. looks like he even used a 48mm motor!

make sure you use jst-ph 2mm headers if you want it to easily plug into the vesc. I haven’t seen a single vendor who uses them by default yet

I have added sensors to a lot of motors. I usually shave a little out between the stators to fit the sensors in between. Then they are epoxied in. Sensored FOC is the best!


@mccloed I thought I had the best wth foc! What’s great about w sensors? . Thanks for your help all. I’ll be doing it. And excited to see how it rides and hear the sounds. I imagine the take off from still. I guess that’s nice but in the interest of saving battery I push a bit from still. Isn’t it some extreme force needed to go from 0 to 3 or something. I’m more interested in the sounds I think because I like to push once regardless I think.

Ha. I still push, also. I would still get slight hesitation without sensors from a stop. With the sensors, no hesitation and a silent smooth start. Haven’t tried on hubs, yet.

I have the sensored 6354 190kv motors from @JLabs group buy. Any idea of the order of the wires? I have the jst plugs, just can’t get the wiring right I guess. I cant get the motor detection to successfully read the sensors.

black = gnd, white = temp, red = 5v, other three are sensors.

here you go :+1:

1 Like