Skip to main content

Posts

Showing posts with the label Microcontroller

LCD Interfacing with 8051 in 4 bit mode : assembly tutorial

Hello friends, in this tutorial we are going to interface LCD with 8051 microcontroller but in 4 bit mode. we already interfaced LCD with 8051 in 8 bit and also done scrolling of text in previous tutorials.

8051 microcontroller - JUMPs and LOOPs

In this 8051 microcontroller tutorial we discuss JUMP and CALL instructions. In previous tutorials we learn about MOV and ADD instruction and how to use them with registers as well as memory locations. but some time you need to take decision between two state or you need to jump some of code, or may be you need to call a subroutine(function). In that case you need some special instruction which make our task very simple and

8051 tutorial part:3 - Memory, Data Type and Directive

In this tutorial we will talk about Types of Memory, RAM, bit addressable RAM and how to use it. then we will cover  8051 data type and assembler directive, need of directives and their effect on program. And  how to use them in program with the help of some short program.

8051 Tutorial-2: Registers

Register are the most important part of microcontroller so it is necessary  to understand  different type of registers of microcontroller and their work. the registers of microcontroller can be a general purpose register or a special function register ( SRF ). special function register control  special functionality of 8051 microcontroller like input/ouput port, serial port, timer, interrupt etc. here we only discus only some of them which as necessary to start writing code.

How To Use keil uVision 4 IDE - Project Setup, Debug And Simulation

In this tutorial i am going to show you how to setup your project  in Keil for 8051 (AT89s51) to simulate and debug your code. This is one of the most important tutorial for beginner who just start learning 8051. Because Keil is the best IDE to compile,debug and simulate your program.  And most of 8051 programmer you this tool so you get lot of help about this on internet. In this tutorial i use Keil v4.0 but it is same for all version or you can download lates trail version from here

Multiplex 4 Seven Segment Display With 8051 In Assembly

Multiplexing is very essential part while working with 8051 because of its limited number of ports. which offer 32 pins for connecting external devices. 32 seems large but when you working with seven segment, keypad, LCD, ADC etc. or if you project have many parts to operate simultaneously then you definitely need to multiplex some of ports.

8051 microcontroller tutorial - an introduction to 8051 family

The most commonly used set of microcontrollers belong to 8051 Family. 8051 Microcontrollers continue to remain a preferred choice for a vast community of hobbyists and professionals. Through 8051, the world became witness to the most revolutionary set of microcontrollers.

Tutorial for Scroll text on 16x2 LCD with 8051 Microcontroller in c

In our last tutorial we interface 2x16 LCD with 8051 in assembly, now lets display some scrolling text on LCD. it is very useful because generally we have a long text to display and a 2x16 LCD display only 16 character at a time.

LCD interfacing with 8051 in assembly

Liquid Crystal Display also called as LCD is very helpful in providing user interface as well as for debugging purpose. The most common type of LCD controller is HITACHI 44780 which provides a simple interface between the controller & an LCD.  

How to use c language in multisim for 8051

Multisim is best simulator for electronics circuits and MCU devices with high accuracy. but there is a problem for microcontroller with mutisim, that is they  not give any user manual for 8051 with c language. this post give a basic idea how to use c language in multisim for 805x mcu devices.