Small organic light-emitting diode (OLED) displays are commonly used in embedded devices. This is because OLEDs generally cost the same as character LCDs but feature a better user interface (UI) and user experience (UX). Typically, embedded OLED screens are used to display textual messages, but what about videos? For example, is it possible to playback…
Distance Finder Based on AT89S52 and Ultra-Sonic Sensors HC-SR04
HC-SR04 based Distance Finder gives the distance from an obstacle in centimetres. It has a range of 2cms to 400cms. The project is build around AT89S52 which 8051 based microcontroller. The distance is displayed on Seven Segment Displays.The working of the ultrasonic sensors is quite simple and they are easy to interface with the microcontroller. The sensor module has 4-pins out of which Pin-1 and Pin-4 are +Vcc and Gnd respectively.Pin-2 is Trigger and Pin-3 is Echo pin.When a High pulse of 10us is applied at TRIG pin, the ultrasonic transmitter sends 8 consecutive pulses of 40kHz frequency. As the Eighth pulse is sent the ECHO pin of the sensor becomes HIGH. Now when the ultrasonic waves reflect from any surface and are received by the Receiver, the ECHO pin becomes LOW.
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…
Interfacing stepper motor with 8051(89c51,89c52 ) microcontroller
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…
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 counter with 8051 (89c51,89c52) microcontroller
Here is a simple project for counting people, vehicles or anything passing through a certain place. Anything when physically crosses the barrier of our embedded system DIY project will increment our counter. The counter is bidirectional means it can count/increment if the object crosses its barrier from either left or right direction. The basic idea…
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…
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…
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.…
Dc Motor Speed Control with 8051(89c51,89c52) Microcontroller using PWM Technique and l293d motor driver
This is a simple project/tutorial on how to control Dc motor speed using 8051(89c51,89c52) microcontroller? Dc motor or fan speed is controlled using Pwm(Pulse width Modulation) technique. Their are two ways to generate pulse width modulation signal using 8051(89c51,89c52) microcontrollers. You can generate it by using timers of 8051(89c51,89c52) microcontroller OR you can switch a particular pin…
Seven segment display interfacing with 8051(89c51,89c52) Microcontroller
This is a simple tutorial on how to interface seven segment display with 8051(89c51,89c52) microcontroller. The post/tutorial explains the connections and interfacing of 7 segment display with 89c51 microcontroller. 7 segment display is interfacedwith Port-1 of 89c51 microcontroller. Numeric characters from 1 to 9 and alphabets from A to F will be displayed on single…
Measuring room temperature with 8051(89c51,89c52) microcontroller using lm35 temperature sensor
In this tutorial i am going to measure room temperature using LM35 temperature sensor with 8051 (89c51 , 89c52) microcontroller. Lm35 outputs an analog signal which is proportional to the temperature in Celsius. 89c51 microcontroller did not have analog to digital converter built in it unlike their relatives arduino, pic, nxp and stm32 micrococntrollers. So…