You are here

Is there a way to use the 5 pin hall sensor with VESC?

4 posts / 0 new
Last post
Shivanshu Mahim
Offline
Last seen: 1 year 11 months ago
Joined: 2020-05-30 19:59
Posts: 3
Is there a way to use the 5 pin hall sensor with VESC?

I am making an Electric wheelchair (Differential drive) using an 8 Inch Hub BLDC motor. I need good smooth low-speed performance, therefore I wanted to use the hall sensors of the motor. the vesc i use has 6 pins for hall sensor. can someone help me on how to connect the wires? (if it's even possible).

Also. what is the best setting to choose from, if I want forward and revere in this case? smart reverse, current, duty cycle?

I am using an X-Y analog joystick to send values to an Arduino an

motors and Vesc i use

d using the Servo library in the Arduino, converting those analogue values to PPM. 

pictures: https://imgur.com/a/twJPphM

Shivanshu Mahim
Offline
Last seen: 1 year 11 months ago
Joined: 2020-05-30 19:59
Posts: 3

making a Differential drive electric wheelchair.

shivanshu

TheFallen
Offline
Last seen: 2 months 1 week ago
VESC Original
Joined: 2017-09-11 11:46
Posts: 222

Hi Shivanshu ,
You have a FSESC v4.12. Following their connection diagram at https://flipsky.net/products/torque-esc-vesc-%C2%AE-bldc-electronic-speed-controller

FSESC v4.12 connections

You want to connect your sensor wires to the connector labeled '1' in this diagram. The VESC connector is a JST PH 6-pin connector, the 'PHR6' but usually most VESCs come with VESC to model car cables, so you may be able to modify that cable.

The only wires you need to connect are 0V, +5V, H1, H2, H3. You can leave TMP unconnected.

I don't know the hoverboard pinout but I'd assume that black is 0V, red is +5V and the blue/yellow/green wires are H1, H2 and H3. I'd try and check first however.

Shivanshu Mahim
Offline
Last seen: 1 year 11 months ago
Joined: 2020-05-30 19:59
Posts: 3

Thank you, it works. just matched the colours with the cable I got with Vesc and the motor sensor wires(i had a blue wire from the motor, connected it to the orange of vecs)...rest was simple. Left the white temperature wire and everything works fine. Thank you.

shivanshu