Dear all, for a personnal project i try to command the throttle of my vesc with an arduino. I plug on the arduino a DAC that i link to ADC1. Until here everything is fine. But impossible to spin the motor.
With a traditional thumb throttle is working fine. With my DAC is not.. I check i have 3 V in output and parameters ins VESC tool is ok.
Do somebody have an idea of where is the issue? The arduino is powered by the 5V of the hall signal. so i just plug the ADC1 command to the DAC.
Thanks for your help!
Probably not enough current from the DAC. This is a too complicated and unreliable way to control. Why not use PPM or CAN?
NextGen FOC High voltage 144v/34s, 30kw (https://vesc-project.com/node/1477)
Thanks, in fact i found my issue. is working right now. The Arduino was starting at the same time with the VESC. So the command to start the motor arrived before the vesc finished to start. I put a delay to start the DAC after few sec and is working. I don't think you can power up a VESC with the throttle On. But strange that ther is no "Fault" raised by the vesc in this kind of situation.
Is not so hard to command a DAC with an esp, there is 4096 values which represent the 0 - 5V. and my DAC have a state mode which is nice for my case. But thanks for your answer maybe i would do that if i didn't succeed.