Username:    Password: Remember me
89S52 microcontroller quick tutorial
By Ibrahim Kamal
Last update: 2/5/08


 

This tutorial is specially tailored to electronics and robotics hobbyists that have already realized some simple electronics projects and want to go a step further and start using microcontrollers in their projects, more precisely the 89S52 microcontroller, which is a famous member of the 8051 family of microcontroller. It is straight forward, and relies on the ANSI C programming language.


The chosen 89S52 microcontroller is In System Programmable using a simple and easy to build ISP programmer.

Part 1: Introduction to 8051 microcontrollers
This first part introduce the main aspects and characteristics of the 89S52, providing to the absolute beginners a base of knowledge, which will help them to understand more advanced issues in the next part of the tutorial.
Part 2: C programming for 89S52 using KEIL IDE
Even if you're not very familiar with the C language, this tutorial will introduce all the basic programming techniques that will be used along this tutorial. It will also show you how to use the KEIL IDE to develop test and debug your projects.
Part 3: Basic Input/Output operations
In this third part of the 89s52 tutorial, we are going to study the basic structure and configuration of I/O ports. Then we are going to apply this theory on simple experimental projects, using a LED and switch, to experiment with the different I/O features of the microcontroller.
Part 4: Interrupts, timers and counters
Most microcontrollers come with a set of 'ADD-ONs' called peripherals, to enhance its functioning and to give the programmer more options. This last part of the tutorial shows you how to configure and use some of the main peripheral features of 8051 microcontrollers.

Any questions? find answers or ask your questions in the microcontrollers forum


Comments are welcome in the forum!

Unless mentioned, all content is written and designed by Ibrahim Kamal, copying is prohibited and unethical
ikalogic.com: Electronics and Robotics related projects.
All content on this site is provided as is and without any guarantee of any kind. We cannot be held responsible for any errors, omissions, or damages arising out of use of information available on this web site.
Creative Commons License
IMPORTANT COPYRIGHT NOTE: Electronics and Robotics Articles by Ibrahim KAMAL are licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License.