Microcontroller Projects

this category contains different micro controllers projects

This is another simple interfacing circuitry with the microcontroller. In this circuit we interface the mechanical relay with the microcontroller. Relay interfacing is very important and common type of interfacing which occurs in most of the microcontroller projects. Relay is basically electrically operated switch and act as a switching device to turn on and off the devices connected to the microcontroller, as well as provide isolation between the microcontroller and the operating device, assume we have to turn on and off the high voltage load then we cannot directly interface the device to the microcontroller as it can burn the microcontroller so we use Relay as a switch and isolator. We can control the high voltage devices with low power control signal. Logical operation can also be obtained by connecting relays in different combinations, In the early ages before the invent of vacuum tubes and transistor relays wee used as an logical element in the early computers.

The working mechanism of the relay is very simple. Relay works electromagnetically when the control signal given to the relay the magnetic flux produces in its coil either made the contacts to get apart or connect with each other. There are many types of Relay available differs in their type of application and working for example:

Latching relay

Reed relay

Mercury-wetted relay

Polarized relay

Machine tool relay

Contactor relay

Solid-state relay

Solid state contactor relay

Buchholz relay

Forced-guided contacts relay

Overload protection relay

etc

In our circuit we are using Latch Relay.

 

For circuit diagram and the coding click the link given below:

Download attachment

16 Segment display is a alphanumeric display segment which helps us to display the English, Thai, Persian and other characters. These segments are now use in many applications and the gadgets having display panel like calculators,telephone Caller ID units, gymnasium equipment, VCRs, car stereos, microwave ovens, slot machines, DVD players and other embedded systems. This circuitry is another simple interfacing of the 16 segment with the microcontroller. Interfacing of the various elements is the basics of the beginners of microcontroller learners.

In this circuit we use microcontroller AT89C51 and 16 segment display. We display the characters from (A to Z) first and then numbers (0 to 9).

For circuit diagram and the coding click the link given below:

Download attachment

Show the following patterns on the 7 Segment display

1) Ascending Order (0-9)

2) Descending Order (9-0)

3) Odd numbers

4) Even numbers

 

This is another simple circuitry to interface the Seven segment to the microcontroller. It is one of the basic circuits which helps the beginners to understand the interfacing of microcontroller with basic elements. In this project we use microcontroller AT89C2051 and 7 segment common anode.

7 Segment consist of 8 LEDs connected in a way that they can display the numbers from zero to nine (0 to 9) with a decimal point . There are basically two types of seven segments Common Anode Seven Segment and Common Cathode Seven Segment, In common anode we connect the common terminal of  the seven segment to 5 volts and to glow any segment we connect it to the ground, while in the common cathode configuration we connect the common terminal of the seven segment to the ground voltage and to glow any segment we connect it to the 5 volts.

In this circuit we first display the number in ascending order then in descending order then the odd numbers and finally the even numbers on the seven segment display

For circuit diagram and the coding click the link given below:

Download attachment

This is another simple circuitry to interface the Seven segment to the microcontroller. It is one of the basic circuits which helps the beginners to understand the interfacing of microcontroller with basic elements. In this project we use microcontroller AT89C2051 and 7 segment common anode.

7 Segment consist of 8 LEDs connected in a way that they can display the numbers from zero to nine (0 to 9) with a decimal point . There are basically two types of seven segments Common Anode Seven Segment and Common Cathode Seven Segment, In common anode we connect the common terminal of  the seven segment to 5 volts and to glow any segment we connect it to the ground, while in the common cathode configuration we connect the common terminal of the seven segment to the ground voltage and to glow any segment we connect it to the 5 volts.

This circuit display the digits from zero to nine on the seven segment.

 

 

For circuit diagram and the coding click the link given below:

Download attachment

Blinking LEDs in Sequence:

This is another basic introductory circuit of micrcontroller. In this circuit we turn on and off the leds in sequence bu using microcontroller AT89C2051, one LED is on at one time then after some delay it becomes off and another LED turns on and so on. There are two ways to do this sequence in assembly language. First way is to turn on one port and keep other ports off at one time then turn on second port and keep other ports off and so on. Second way to do it is by load the value 01111111(07FH in hexadecimal) to the register and then rotating the value in the register, every time after one rotation the rotated value is moved to the port 1.

For circuit diagram and the coding click the link given below:

Download attachment

Here is a simple circuitry which will help you to understand how will you interface and LED with a micro-controller. The code is written to turn on and off the LED after some short delay, this is one of the beginning circuit when one tries to gain some hands on the micro-controller interfacing. This circuit help beginners to learn through the micro-controller course which we will provide you by exploring you some of the introductory circuit with the micro-controller. It is the best approach to get started with the Atmel family of Micro-controllers, because they are easy to understand and does not contain too much complexities.
in this circuit we are using AT89C2051 micro-controller and just an LED. The other components like resistor,capacitors and crystal are the prototype configuration with the micro-controller and used in almost every configuration of the Micro-controller.

For circuit diagram and the coding click the link given below:

Download attachment

Summary:

With this circuit we interface the serial port to the Microcontroller through which we display up to 32 characters which are input through serial port of the computer. The data we send through the serial port is displayed on the LCD. The data to the RS232 connector is through the terminal window software or any serial port communication software.

Further details about the project is given below:

Description:

Datasheets:

AT89S51

MAX232

Working Video:



The link for project files is given below

Download attachment

Abstract:

This is a simple project of making a digital clock using microcontroller AT89S51. The clock is in 12 hour format with am and pm function. The time is displayed on 2*16 character LCD.

Datasheets:

AT89S51

Working Video:

The link for project files is given below

Download attachment