Printer Friendly

Mechatronics and coding.

My project this summer deals with Motorola's line of MC68HC11 microcontrollers. A microcontroller can be broadly described as a single-chip computer. They are small and complete with their own Central Processing Unit, memory storage, and I/O ports. The MC68HC11 microcontroller chip is an advanced 8-bit unit with many sophisticated peripheral capabilities located on the chip itself.

My individual work with these microcontrollers has been concerned with the aspect of programming these chips. Until recently, these chips have had to be coded in assembly language, since the single available compiler for them was only configured for assembly. This form of coding, however, is a low-level language, and it is more confusing to learn and read than other high-level languages, for example, C and Java. This has all changed recently, as a new program has been developed that allows for compilation of C code into the machine language that the microcontroller can understand. My project this summer has been to translate the code for an introductory class in microcontroller usage from the assembly language into C code. From my observations, the C language is much more compact, interpretable, and useful for coding, as most labs and examples now require less than two-thirds the original amount of lines of code necessary, and the code is overall more structured.
COPYRIGHT 2005 South Carolina Academy of Science
No portion of this article can be reproduced without the express written permission from the copyright holder.
Copyright 2005 Gale, Cengage Learning. All rights reserved.

Article Details
Printer friendly Cite/link Email Feedback
Title Annotation:SOUTH CAROLINA JUNIOR ACADEMY OF SCIENCE ABSTRACTS
Author:Smith, Andrew
Publication:Bulletin of the South Carolina Academy of Science
Date:Jan 1, 2005
Words:216
Previous Article:The effects of concentrations of nerve growth factor on axonal regeneration.
Next Article:Extent of neuronal damage to rat hippocampus after pre- and postnatal alcohol exposure.
Topics:


Related Articles
Publications of the State Academies of Science.
Construction of an Autonomous Balancing Robot.
Discovery Fair Summary, 2000.
South Carolina science & engineering fairs 2002-2003.
Schedule of annual meeting.
South Carolina science & engineering fairs 2002-2003.
President's report: David J. Stroup, President.
South Carolina Academy of Science Legislative Funds Report 2004.
South Carolina Science & Engineering Fairs 2004.
Journal of the South Carolina Academy of Science.

Terms of use | Privacy policy | Copyright © 2021 Farlex, Inc. | Feedback | For webmasters |