Teaching Real-Time Control Using Arduino: Timer ISR vs delayMicroseconds

Author(s):  
Ryan W. Krauss

Arduino microcontrollers are inexpensive and easy to program, making them very popular among hobbyists and “makers”. Arduinos are also surprisingly capable when it comes to creating real-time feedback control systems. This paper investigates several facets of using Arduino microcontrollers to teach students to create real-time control systems. A simplified approach to enforcing the real-time execution of a control law is introduced based on the delayMicroseconds function and its accuracy is compared to the standard timer interrupt approach. Initial assessment data is presented on whether or not the delayMicroseconds approach is easier for students to understand. The accuracy of the Arduino’s built-in timing function micros is also investigated.

2020 ◽  
Vol 21 (3) ◽  
pp. 296-302
Author(s):  
A. V. Aab ◽  
◽  
P. V. Galushin ◽  
A. V. Popova ◽  
V. A. Terskov ◽  
...  

2020 ◽  
pp. 1-10
Author(s):  
M. Eulogi ◽  
S. Ostojin ◽  
P. Skipworth ◽  
J. D. Shucksmith ◽  
A. Schellart

1998 ◽  
Vol 31 (15) ◽  
pp. 427-432
Author(s):  
Emmanue Mesnard ◽  
Yvon Trinquet

2018 ◽  
Vol 159 ◽  
pp. 457-469 ◽  
Author(s):  
Melek Ertogan ◽  
Gokhan Tansel Tayyar ◽  
Philip A. Wilson ◽  
Seniz Ertugrul

Sign in / Sign up

Export Citation Format

Share Document