Today we are going to use the L298N motor driver with 8051 microcontrollers to control a DC Motor. This motor control system is specially for robotic 2-wheel differential drive car. Or could be used with any other use case where we need to drive one or two motors with the push buttons. The program which […]
Category: 8051-8052
In our previous 8051 LED blinking example we used loop iterations to generate the delay but, in this post, we are trying to make use of 8051 timers. With the help of 8051 timers, we will generate exactly 1 second delay. We will explain the process of timer configuration, timer registers, timer register value calculation […]
Today we are going to make a very simple 8051 Assembly code for a frequency counter example. We are going to make the example very simple and to the point just the way we normally do in our previous examples. Today’s focus is to demonstrate the very simple frequency counting algorithm implementation in 8051 assembly […]
Want to create a digital counter using a 7-segment display and an 8051 microcontroller? This comprehensive guide walks you through the process step-by-step, from wiring connections to code examples in both assembly and C. We will demonstrate the 7 segment interfacing code in assembly as well as 7 segment interfacing C code with keil uvision compiler. Seven […]
Today we are going to provide the 8051-assembly code for lcd display. The LCD 16×2 is very famous and mostly used for various projects to display the readings. We will be using 16×2 LCD display interfacing with 8051 microcontrollers in assembly language. This is our ongoing series on the 8051-assembly language programming. If you are […]
We know we can generate delays with the help of loops and/or NOP instructions but we are talking today about 8051 timers. Although the accuracy of exact timings is compromised, yet it satisfies the needs so why are we talking about timer now specifically?There are some scenarios where we need to do more complex timings […]
Let’s create a digital dice using 8051 microcontrollers in assembly language. This is very basic problem and will help you to learn very core concepts of 8051 microcontroller assembly language programming. By creating a digital dice using 8051 microcontroller you will get hands on experience on how to make use of most widely used instructions […]
Blinking LEDs like 8 led blinking are one of most common tasks. Once you learned how to blink single LED with 8051 microcontrollers in Assembly language. You may want to experiment with different ways to write 8 led blinking program. This is a good practice to grip your grounds in Assembly language programming and 8051 […]
Today we are talking about interfacing a 4×3 keypad with 8051 microcontrollers in assembly language programming for the 8051 microcontrollers. The 8051 microcontroller is one of the simplest to use the 4×3 keypad or any other matrix keypad like 4×3 4×4 or any other matrix keypad. By calling the matrix keypad what I actually mean […]
LED Blinking is one of the simplest task, which we are going to solve in this tutorial. This could be difficult if we try to do this in assembly language. We are going to write LED Blink 8051 Assembly language code in this tutorial. Before we get started let’s review what kind of previous understanding […]