CFP last date
20 December 2024
Reseach Article

Programming a Microcontroller

by Altaf Hussain, Muhammad Hamad, Kamran Hafeez, Tabinda Zainab
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 155 - Number 5
Year of Publication: 2016
Authors: Altaf Hussain, Muhammad Hamad, Kamran Hafeez, Tabinda Zainab
10.5120/ijca2016912310

Altaf Hussain, Muhammad Hamad, Kamran Hafeez, Tabinda Zainab . Programming a Microcontroller. International Journal of Computer Applications. 155, 5 ( Dec 2016), 21-26. DOI=10.5120/ijca2016912310

@article{ 10.5120/ijca2016912310,
author = { Altaf Hussain, Muhammad Hamad, Kamran Hafeez, Tabinda Zainab },
title = { Programming a Microcontroller },
journal = { International Journal of Computer Applications },
issue_date = { Dec 2016 },
volume = { 155 },
number = { 5 },
month = { Dec },
year = { 2016 },
issn = { 0975-8887 },
pages = { 21-26 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume155/number5/26601-2016912310/ },
doi = { 10.5120/ijca2016912310 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-07T00:00:28.424409+05:30
%A Altaf Hussain
%A Muhammad Hamad
%A Kamran Hafeez
%A Tabinda Zainab
%T Programming a Microcontroller
%J International Journal of Computer Applications
%@ 0975-8887
%V 155
%N 5
%P 21-26
%D 2016
%I Foundation of Computer Science (FCS), NY, USA
Abstract

Microcontroller is a computer on single integrated circuit that includes a CPU, RAM, some form of ROM, and I/O ports. It has great impact in our life which cannot be ignored. Unlike a general purpose computer, microcontrollers are dedicated to perform a specified task and execute single application. Automatically controlled products like automatic engine control systems, remote controls, power tools, toys, and office machines i.e. photo-copier, printer, and fax machines which are used commonly; are being programmed using microcontroller. Any person working in the field of electronics has the knowledge to use a microcontroller but not necessarily be having good programming skills for it. While programing for a microcontroller, one has to interact with different software tools i.e. Proteus for making circuit diagram, mikroC PRO for source coding, and QL-PROGen for burning hex file in microcontroller. So it is really a tough task to program a microcontroller for such persons. Our work aims to extend the automatic programmer tool [1] that generates mikroC code and its hex file from a block diagram. This enhanced tool provides an integrated platform that allows the user to design circuit diagram, generate its code, and burn the hex file directly into the microcontroller. It provides a set of blocks for business logics; that are used to build an algorithm of application as an input for source code generation. In addition, it provides the feature to compile the generated code and then to burn the hex file directly into the chip. The microcontrollers used in this tool are PIC18F442, PIC18F4520, and PIC18F542; placed in the middle of Circuit Diagram Window of this tool.

References
  1. Axelson, J. (1994). The Microcontroller Idea Book. 2008.
  2. Verle, M. (2009). PIC Microcontrollers Programming in C: A Complete Guide to Pic Microcontrollers. MikroElektronika.
  3. How to Program a PIC Microcontroller to Build a Project [online], Avail-able: https://www.elprocus.com/pic-microcontroller-programming-using-c-language/
  4. Hussain, A., Riaz, M. A., ul Abdin, Z., & Saeed, A. (2015, December). Automatic programmer: A software tool. In Emerging Technologies (ICET), 2015 International Conference on (pp. 1-5). IEEE.
  5. Maxwell, J. C. (1954). A Treatise on Electricity and Magnetism Dover Publications. Unabriged Third Edition, Volume one.
  6. A refactoring branch of MIT OpenBlocks. [online], Available: http://web.mit.edu/mitstep/openblocks.html
  7. Mei, C. (2002). On teaching the simplification of block diagrams. International Journal of Engineering Education, 18(6), 697-703.
  8. Padgavhankar, A. V., & Mohod, S. W. (2014). Experimental Learning of Digital Power Controller for Photovoltaic Module Using Proteus VSM. Journal of Solar Energy, 2014.
Index Terms

Computer Science
Information Sciences

Keywords

Microcontroller PIC18f452 hex file generator graphical block OpenBlocks for microcontrollers.