yHello,
i wanted to connect the AS5047-Encoder to the Vesc for a sensored BLDC use. I could only find the following wiring in the forum:
Hall1 - SCK
Hall2 - MISO
Hall3 - CS
VCC - MOSI
Is this everything to connect? What about the GND?
Thanks for your help.
Of course you should also connect ground.
GND -- GND
The problem is that the GND cable burned when i started the automatic encoder detection/setup. It said that the motor will spin or make some noise but it only melt the GND cable insulation.
The AS board needs to be isolated, no gnd contact to nothing! GND contact only to VESC.
I tried the same connection configuration but the vesc does not detect AS5047p
Cables need to be short.
How short does it need to be? My cables from the AS5047 to the vesc are like 30cm's. I connected everything like above but it doesn't detect the sensor and I don't know how to fix it.
30cm should work, but it is long for the AS5047P. The sensor needs to be close to the magnet and really well centered. Can you try a shorter cable? Is the Voltage at 3.3V on VESC side and AS5047P side?
I just saw in a comment above that the R1 need to be replaced to R3, is this the problem you think because yes the VESC and sensor are on 3,3V.
It works best on 3.3V and so you need to use 3.3V on the VESC side and solder the resistor into the 3.3V position. You can also try 5V but that generates more noise.
Even with switching the resistors, the VESC tool says that it its sensorless. They are on both sides connected to 3.3V like the picture above. Maybe it is something in the VESC tool?
Hi, I have a 4.20 version ESC and want to know if this connection works in 2022? AS5047P in SPI mode?