Timers of 8051 With Blinking Led Example Part-1

by embedotronics in Circuits > Microcontrollers

2456 Views, 3 Favorites, 0 Comments

Timers of 8051 With Blinking Led Example Part-1

timercover.png

In this tutorial I'm going to tell you about how to timers of 8051. Here we will discuss about timer 0 in mode 1. Next tutorial we will discuss other modes as well.

Software Used:

flash magic.png
keil_page.png
proteus_page.png

As we are showing proteus simulation so FOR CODING AND SIMULATION YOU REQUIRED:

1 Keil uvision: Their are lots of product from keil. so you will be required c51 compiler. You can download that software from here

2 Proteus Software for simulation: This is the software to show simulation. You will get lot of information to download this software.

If you are doing it in hardware then you would require one software that is flash magic to upload the code in your hardware. Remember flash magic is developed by NXP. So you can not upload all 8051 family microcontroler through this software. So Philips based controller only you can upload.

Hardware Used:

8051 board.jpg
usbtouart.jpg

As here we are using one blink led example for explaining timers. So you can connect one led to port 1 5th pin. Here I'm debugging from keil software. so I'll explain timers from software only. But you can get the debugger for 8051.

Components:

Here in our demo video we are using proteus simulation but definetly if you are doing it in your hardware you will be required these components for this project:
8051 Development board: So if you have this board it will be better so that you can easily upload the code by yourself.

USB to UART converter: This is 9 Pin D type male Connector For RS232 O/p
Some Jumper Wires

Video of This Tutorial:

How to use timers in 8051 part 1

You can get the whole description of this tutorial in the above video.

If you have any doubt regarding this tutorial feel free to comment us below. And if you want to learn more about embedded system you can visit our youtube channel
Please visit and like our Facebook Page for frequent updates.

Thanks & Regards,

Embedotronics Technologies