View Single Post
Old 02-19-2018, 08:07 PM   #7225 (permalink)
thingstodo
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 746
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by pablitosax View Post
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.
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
The Following User Says Thank You to thingstodo For This Useful Post:
mpgmike (01-25-2022)