Here is a simple tutorial on how to interface stepper motor with 89c51 microcontroller. Stepper motor as the name depicts takes steps to complete a full 360 degree circular rotation. We can rotate stepper in clock and anti clock wise direction. Stepper motor speed can also be varied. There are many types of steeper motors four…
Interfacing Latches(74ls574,74ls373) Flip flops with 8051 (89c51, 89c52) Microcontroller
In this project i am going to interface latches with 8051(89c51, 89c52) microcontroller. I am going to interface 74LS574 with 8051(89c51, 89c52). You can also interface any other latch(74ls373, 74ls374 etc) with a slight changes in the connections given in the circuit diagram. The whole project is about, grabbing the status of the latches inputs and then display…
Making and displaying Custom Characters on 16×2 lcd using 8051(89c51,89c52) Microcontroller
This tutorial is about making and displaying custom characters on 16×2 lcd using 8051(89c51,89c52) microcontroller. By custom i mean characters that are not alphabets, digits or ASCII value characters. Rather they are new and designed by us. I first recommend you to please go through the following simple tutorial. This will clear you about the internal structure of…
Serial data received from pc and displayed on 16×2 lcd using 8051(89c51,89c52) microcontroller UART port
In this post i am going to explain how to receive serial data from your pc and display it on 16×2 lcd using 89c51 microcontroller UART port. Hardware components of the project includes max232(TTL to RS232 level converter/shifter ), 8051(89c51,89c52) microcontroller and 16×2 lcd. On software side i am using Hyper terminal. Hyper terminal is a program through…
Making blinking pattern of leds with 8051 microcontroller
Blinking/flashing leds or making a special pattern of blinking leds through microcontroller is not a big task. One must know about the programming syntax of the particular microcontroller through which blinking led pattern is required. Numerous microcontrollers are available in market and each has its own programming ide(Integrated development environment). In this tutorial we are going to…
GLCD 128×64 graphical lcd(GLCD) interfacing with 8051(89c51,89c52) microcontroller
In this tutorial i am going to teach you how to interface graphical lcd 128×64 with 8051(89c51,89c52)microcontroller. 128×64 means that lcd has 128 coulombs and 64 rows. Which means you can make your desired image or text in 128×64 matrix square. Graphical lcds comes in many sizes, they also differ in characteristics. Some can be…
Displaying name on 16×2 Character lcd using 8051(89c51,89c52) microcontroller
This is a simple project on how to display/print your name on 16×2 lcd using 8051(89c51) microcontroller. Character lcd’s comes in many packages 16×2 , 8×1 ,16×1 ,8×2. All the lcd’s performs actually the same function, display data that we send to them. Displaying data on 16×2 lcd is not an easy task, its also not…
Led Brightness controlled with 8051(89c51,89c52) Microcontroller
Controlling led brightness or fading an led using 8051(89c51,89c52) microcontroller is not an easy task. In depth knowledge of 8051 microcontroller timers and their registers is required to fade or control led brightness with 89c51 microcontroller. So in this project/tutorial i am going to teach you how to fade an led with 89c51 microcontroller? How to…
Door, People, Persons, vehicle counter with 8051(89c51,89c52) microcontroller
Here is a simple project on counting people, persons, vehicles or any thing passing through certain place. The place may be a gate, door, bridge or some thing else. Project could be named as object counter or visitor counter. Any thing when physically cross the barrier of our embedded system diy project will increment our counter. Counter…
One minute delay generation with 8051(89c51,89c52) microcontroller internal timers for led blinking
Giving a proper delay like 1-Second OR 1-Minute is possible only by using internal timers of 8051(89c51,89c52) microcontroller. The 8051 series microcontrollers have two build in 16-bit timers Timer 0 & Timer 1, Some also have an extra timer Timer 3 . You can use them to generate delays, baud rate for UART for serial Communication OR trigger an event source to execute…
Interfacing Analog to Digital Converter-adc0804 with 8051(89c51,89c52) Microcontroller
In this tutorial will learn how to interface ADC0804(Analog to Digital Converter) with 8051(89c51,89c52) microcontroller. 8051 microcontrollers are pretty old and don’t have a build in analog to digital converter in them unlike their new rivals(Arduino, Pic microcontroller and many more). Hence we can not directly measure any analog value (voltage, Temperature present in the…
Making/Displaying custom urdu characters on 16×2 lcd using 8051(89c51,89c52) Microcontroller
This post is about displaying custom urdu font characters on 16×2 character lcd display with the help of 89c51 microcontroller. Previously i discussed about ‘How to display custom character on 16×2 lcd display with 8051(89c51,89c52) microcontroller?’. This tutorial is made by following the same steps enlisted in the above tutorial. The only difference is, in…
Alphanumeric keypad with 8051(89c51,89c52) microcontroller
This tutorial teachs you how an alphanumeric keypad can be designed with 89c51 microcontroller, 16×2 lcd and 4×4 keypad? The main crux of the project lies in the code of the project. 4×4 keypad is just a cluster of buttons, arranged in coulomb and row orders. To use its buttons we have to write a…
Automatic door lock system using 8051(89c51,89c52) microcontroller
Automatic door locks are becoming popular in industry and many companies are using them to protect their valuables. In offices and homes automatic door locks systems are used for the safety of rooms and to allow only authorized persons to enter the office. Automatic door lock systems are also popular in banks. Banks use automatic…
Digital alarm clock with 8051(89c51) microcontroller
Digital alarm with 8051(89c51,89c52) microcontroller is a comprehensive project. Comprehensive in the form that its code is very lengthy. Programming is not an easy stuff for every one , and when it comes to program a microcontroller it becomes more complex to write a code for desired output if you are not familiar with the…
Displaying moving(Scrolling) text on lcd using 8051(89c51,89c52) microcontroller
This project is about How to display moving-scrolling text/string on lcd using 8051(89c51 , 89c52) microcontroller. Moving or scrolling text on lcd is not very hard it is only the game of programming the more expert you are in programming the more you can do fun. It is same like we display moving text on our java applications or…
Calculator with 8051(89c51,89c52) Microcontroller, 16×2 Lcd and 4×4 keypad
In this tutorial i am going to build a simple two digit calculator with 8051(89c51,89c52) microcontroller. Calculator takes two single digits and an operator as input and produces output. Input is taken by 4×4 numeric keypad and output is displayed on 16×2 character lcd. Diy calculator can perform four operations addition, subtraction, negation & division.…
Interfacing 24×2 lcd with 8051(89c51,89c52) and microchip pic16f877 microcontroller
In this post i am going to explain how to interface 24×2 lcd with microcontroller. I am going to interface lcd with 8051(89c51,89c52) and Microchip Pic16f877 microcontrollers. 24×2 means 24-Coulombs and 2-Rows. Total characters which we can display on 24×2 lcd (24×2=48) 48. 24 Characters on each row. Interfacing 24×2 lcd with microcontroller is same as…
Driving DC-motor in both directions forward and reverse using 8051(89c51) microcontroller and with l293d H-bridge motor driver
I this tutorial i am going to control the direction of dc motor using 89c51 microcontroller and l293d motor driver. Running a DC(direct current) motor in both clock and anti clock wise direction using a microcontroller is very easy. The only hurdle is that the dc motor requires more than +5 volt and nearly +100 mill Amperes…
Interfacing Tower Pro SG90 9G servo motor with 8051(89c51, 89c52) microcontroller.
In this post i am going to teach you how to use and interface servo motors with 8051 microcontroller. 8051 series microcontroller which i am going to use for this project is ATMEL 89c52 microcontroller. Servo motors are different from ordinary motors. They can rotate from 0-degree to 180-degree depending on the motor specification. Servo…