Quote:
Originally Posted by pablitosax
Hi all :
I'm new in these forum and have a querstion : why not use a simple arduino mega to build a controller and programming these with arduino code (not C/C++) . Isn't enought ?
Regards !
Pablo
|
The new arduinos have enough speed. They can do the calculations required to figure out where the rotor is and adjust the voltage and current phases. It is not simple to do or fast to convert the program, but you can do it if you like.
The arduinos don't have a lot of circuitry built in to guard against noise and power issues in a car. You have to add that stuff yourself.
Plus the arduino doesn't really have interrupts in the traditional sense. You can make it do the control. But you should not do communications - blue-tooth, serial, ethernet - at the same time if you want good control. Timing is very critical for motor control.
If you are controlling your table saw or drill press - I'd use arduino. If you are controlling a car or an airplane or a helicopter ... I would not use arduino. Perhaps I am not up to speed with the latest arduino stuff ... but I would not trust my life to an arduino.