Development of a Versatile Mathematical Routine Library with Microcontroller
P. B. Buchade
P. B. Buchade, Department of Electronic Science, Abasaheb Garware College, Pune, India.
Manuscript received on January 26, 2013. | Revised Manuscript received on February 13, 2013. | Manuscript published on February 28, 2013. | PP: 417-419 | Volume-2 Issue-3, February 2013. | Retrieval Number: C1154022313/2013©BEIESP
Open Access | Ethics and Policies | Cite
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)
Abstract: A software tool for micro controller applications with assembly language programming for interfacing concepts having a multipurpose routine library is developed. This library is intended to solve different mathematical equations like linear equations, first polynomial, second polynomial etc encountered in data acquisition and analysis. Routines are also developed for proper formatted display on LCD. Some of the unique features of this method are highlighted. A multipurpose mathematical routine library which can be used as a easy tool in designing and implementation of microcontroller based instrumentation systems. The analog voltage on a selected channel read from instrumentation is converted to digital form with ADC stored in internal memory. The subroutine programs for performing the mathematical operations like addition, subtraction, multiplication, division etc in 16 bit format are tested with Integrated Development Environment (IDE) simulator. This subroutine programs are then further used to solve the equations with asm51 cross assembler. The program can debug, erased and reprogrammed immediately and online tested. After assembly completion, error free program is downloaded with FLASH MAGIC in a microcontroller chip.
Keywords: Embedded, Microcontroller, Routine Library, software.