Skip to main content

8051 Ports

The 8051 micro-controller comes in different shapes and sizes, depending on the model (variant) that you choose. I talked about the most common pin configuration for 8051 in my previous post.  These pins can serve as either input or output to the micro-controller. They can be used independently or in groups. When few pins are combined together to form a group, it’s called a port. Let’s discuss the ports available in 8051.

Read More

How to Use Proteus

I talked about some basic simulators for the 8051 micro-controller in my previous post. They are strictly for beginners (if you’re one) as you can only verify the output by checking the values on ports, pins, and internal registers etc. To be honest, that’s how you get to learn the basics and see how everything works internally in the micro-controller. However, sooner or later, you’ll be going a bit further (if you’re really interested) and will need to attach (interface) external hardware because that’s exactly how we intend to utilize a micro-controller. This is where Proteus comes in – a complete simulation platform.

Read More

Keil5

Debugging in Keil

I previously wrote a brief tutorial on How to Use Keil and hope that you’re now capable of compiling your code. Moving on, if you haven’t noticed already, Keil uVision is also a debugger and can help you debug codes. I left out the debugging portion deliberately in my previous post as it was themed at getting familiar with Keil uVision. Debugging in Keil is simple to understand and also proves to be useful at crucial times. Read More