Unknown Hall error: 255

That is very strange behavior. :thinking: Try this @bullrider12 measure between 5V and H(does not matter which one) and rotate the motor by hand slowly to a point where you get 0V on your meter. Now without moving the motor connect the meter instead of 5V to GND and you should be getting those 5V. Because you are using different ā€œsideā€ (5V being one side and GND the other) as a reference so where you get 5V against 5V you should get 0V against GND and vice versa.

@yaca the exact values may be different because of the saturation curve of the hall sensors used. But this is my theory with your case: When you get 5,13 against 5V (as I explained in previous part of this reply) it is normal that you get low value against GND. the VESC was supplying 5,16V (5.13+0.03) at that time it seems like, which is correct. The same goes for 3.62+1,54=5.16 It is OK, you are just referencing the voltage against a different part of the supply. If your VESC works/recognizes the sensors you are good.

2 Likes

Tried this again with same results. 5v/H = 5.15/0 volt Gnd/H= 0 volt

I got two motors/two vescs and measured this on both with the Results aboveā€¦ so what does this actually mean for me.

Update

I finally got my sensored setup working. Iā€™m not using the stock sensors from my motors cause it seems like there is broken cable somewhere. Since I donā€™t want to open up my motor I tried to build an external hall sensor after this tutorial: http://www.instructables.com/id/How-to-Add-External-Hall-Sensors-to-a-Turnigy-SK3-/

Thank you for that tutorial btw. @danielz :slight_smile:

It was a pain in the ass to solder those tiny parts, but in the end it all worked out :slight_smile:

Thanks to everyone who participated in this problem!

4 Likes

Excellent, they are tricky to solder, i broke the legs off on my first attempt lol

Could this issue be because of the orange cable which would be the temp sensor is not soldered to a line thus creating a second grounded pin. If you popped that pin out it could correct the problem

I have also problems with the Hall sensor detection of my Motor as well (maytech 6374 170KV). VESC is a Focbox. I can measure 0V or 3.3 V on all 3 lines (orange, brown and green) depending on motorposition. VCC is 5.1V Yellow one ist temp sensor. I can see roomtemperature in the VESC tool. I tried higher currents as well. Rotor is spinning.

Do i need 5V signal level for the halls? Then I have to lower the trigger levelā€¦

That is oddā€¦ do you get any numbers? Or just fail with no values for the sensors detected?

No values, just error :frowning:

1 Like

In both BLDC and FOC? BLDC si said to be a hit or miss with some hall sensors

Just tried foc

with the same result?

This are the results for BLDC & FOC. Both failed!

Iā€™m joining in.

I did the motor detection in BLDC and FOC with sensors. It fails in BLDC mode, the hall table is exactly like the one @Luuke has in BLDC. However, in FOC mode, the sensor detection went fine, I got proper values in the table.

Is that normal ? Iā€™m quite bothered as Iā€™m using a Torqueboard Vesc for now on a 10S battery, I donā€™t really want to run FOC as it seems that those VESC donā€™t really like itā€¦

@louwii What motor is this on?

Also, @Luuke Iā€™m pretty certain your motor doesnā€™t have a temp sensor unless you added one, I would verify wire order, the vesc, focbox have an internal temp sensor that always shows temp

Thatā€™s on a build kit board motor, that I bought used from a forum member.

Can you take a pic of the connector

@Luuke I would take out your temp sensor wire if your motor has no temp sensor. It is basically acting as a second ground. Try taking it out and redo it. You can not have to grounds in your wiring.

I have a temperature sensor! Value is around 1.7 volt, which is correct for ambient temperatur. I also measured the three pins of the halls. They seem to be OK as well.

Iā€™m not familiar with a maytech model that comes with temp sensor, do you have a link?

There you go. I believe the missing wire is for temperature.