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…
How to play a video on an SSD1306 OLED
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.
What is an embedded system?
If we look around, we will find ourselves to be surrounded by computing systems. Every year millions of computing systems are built destined for desktop computers (Personal Computers, workstations, mainframes and servers) but surprisingly, billions of computing systems are built every year embedded within larger electronic devices and still goes unnoticed. Any device running on electric power either already has computing system or will soon have computing system embedded in it.
Infineon boosts IPOSIM platform with automated lifetime estimation
Infineon Power Simulation platform (IPOSIM) from Infineon Technologies is widely used for calculating losses and thermal behavior of power modules, discretes, and disc devices. The platform provides easy access to analysis for single working points and user-defined load profiles. For industrial customers, estimating the lifetime of power modules is gaining more importance in the early…
FPGA vs microcontrollers: Another approach to embedded design
Most engineers start their journey in embedded systems with microcontrollers. With microcontrollers, one gets a complete miniature computing system on a single integrated circuit. The CPU, RAM, ROM and Input / Output peripherals all on a single thumb size SoC. This very popular approach to learning embedded design and development is in fact just the one side of the complete picture. Working with microcontrollers (and microprocessors) is all about software-based embedded design.
What are field-programmable gate arrays (FPGAs)?
Some of you may be familiar with the terms FPGA or Field Programmable Gate Array. And familiarity does not necessarily beget understanding. So what exactly is FPGA?In simple terms it is a logic chip which contains a two dimensional array of logic cells and programmable switches. They are ICs that contain an array of identical logic blocks with programmable interconnections.Just as on a blank canvas you can paint any picture you want, FPGA allows an engineer to design any digital circuit. They say: just generate the bit file, download it and you’re good to go! This is a big development over the traditional microcontrollers as the architecture of such controllers does not support larger designs. For example, microcontrollers like 8051 used Harvard architecture with CISC instruction set. FPGA does not have any inbuilt instruction sets which provide the designer with much greater flexibility. A controller has its own CPU which starts the controller, retains memory and performs several tasks. Unlike microcontrollers, a FPGA will not be able to start functioning on itsown due to lack of the traditional architecture.
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…