Full Content is available to subscribers

Subscribe/Learn More  >

Teaching Microcontroller Programming Graphically

[+] Author Affiliations
John R. Rogers, Konstantin Avdashchenko

US Military Academy, West Point, NY

Paper No. IMECE2011-64169, pp. 117-121; 5 pages
  • ASME 2011 International Mechanical Engineering Congress and Exposition
  • Volume 5: Engineering Education and Professional Development
  • Denver, Colorado, USA, November 11–17, 2011
  • Conference Sponsors: ASME
  • ISBN: 978-0-7918-5491-4
  • Copyright © 2011 by ASME


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.

Copyright © 2011 by ASME



Interactive Graphics


Country-Specific Mortality and Growth Failure in Infancy and Yound Children and Association With Material Stature

Use interactive graphics and maps to view and sort country-specific infant and early dhildhood mortality and growth failure data and their association with maternal

Citing articles are presented as examples only. In non-demo SCM6 implementation, integration with CrossRef’s "Cited By" API will populate this tab (http://www.crossref.org/citedby.html).

Some tools below are only available to our subscribers or users with an online account.

Related Content

Customize your page view by dragging and repositioning the boxes below.

Related eBook Content
Topic Collections

Sorry! You do not have access to this content. For assistance or to subscribe, please contact us:

  • TELEPHONE: 1-800-843-2763 (Toll-free in the USA)
  • EMAIL: asmedigitalcollection@asme.org
Sign In