Arduino Speed: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Created page with "Arduino appears to be capable of direct-controlled bitbanging at 100 khz or so, and it can do its pre-programmed PWM at 1kHz. We need 60 hz for engine control, so Arduino is...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:


https://docs.arduino.cc/tutorials/generic/secrets-of-arduino-pwm
https://docs.arduino.cc/tutorials/generic/secrets-of-arduino-pwm
For bitbanging, 3 microseconds is a minimum accurate time. [https://www.arduino.cc/reference/en/language/functions/time/delaymicroseconds/]. Thus, bitbanged controls get you up to about 300 kHz, which is fine for most induction furnace, power electronics, electronic fuel injection, and drone obstacle avoidance controls.

Latest revision as of 14:36, 30 May 2022

Arduino appears to be capable of direct-controlled bitbanging at 100 khz or so, and it can do its pre-programmed PWM at 1kHz.

We need 60 hz for engine control, so Arduino is well capable of engine timing.

https://docs.arduino.cc/tutorials/generic/secrets-of-arduino-pwm

For bitbanging, 3 microseconds is a minimum accurate time. [1]. Thus, bitbanged controls get you up to about 300 kHz, which is fine for most induction furnace, power electronics, electronic fuel injection, and drone obstacle avoidance controls.