Abstract

The ability to develop algorithms for microcontroller-based systems has traditionally required a computer science background. Many undergraduate mechanical engineering programs lack the time in the curriculum to devote to the necessary coursework. This paper presents a graphical method of developing algorithms. The method enables engineering students with weak computer science backgrounds to rapidly iterate microcontroller programs. The proposed method uses Simulink and chip-specific Simulink blocksets to access microcontroller inputs, outputs, internal timers, and other chip functions. Before- and after- observations from the implementation of the method in a mechatronics course are presented. The proposed method is compared to the traditional C language method of developing an algorithm. It is shown that it is easier to convey the algorithm in the Simulink implementation than it is to convey the C-language implementation of the same algorithm. It is quicker to develop algorithms using the Simulink-based method. The method is relevant in constrained undergraduate engineering programs, particularly mechanical engineering, where there is little instruction in computer programming. The method is scalable to industrial applications outside academia although it is not yet widely used there.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.