Thursday, 21 February 2013

LCD based digital alarm clock with digital thermometer using 8051 microcontroller




This project works as a digital clock wherein a user can also set alarm. Additionally, it also works as a digital thermometer to specify the ambient temperature. Both, the clock and temperature are displayed on a 16x2 LCD screen using the 8051 microcontroller (AT89C51). AT89C51 is an eight bit controller which belongs to the 8051 family of microcontrolers.



This project incorporates the functionality of a digital clock and a digital thermometer. The digital clock works in 12 hour mode and is configured by programming the 8051 microcontroller (AT89C51). The program uses a delay function for producing a delay of 1 second. The clock and alarm times can be set through a set of external tactile switches.
The digital thermometer employs a temperature sensor LM35. The sensor responds to the temperature change by giving varying output. These analog signals of LM35 are converted to digital equivalent by ADC0804. The reference voltage (Vref) should be set properly corresponding to the desired temperature range. The data bits are taken as input by the microcontroller at port P0. The microcontroller AT89C51 also gives control signals to ADC0804.

Wednesday, 13 February 2013

Electronic code lock with user defined password using 8051 microcontroller

An electronic lock or digital lock is a device which has an electronic control assembly attached to it. They are provided with an access control system. This system allows the user to unlock the device with a password. The password is entered by making use of a keypad. The user can also set his password to ensure better protection. The major components include a keypad, LCD and the controller AT89C51 which belongs to the 8051 series of micro controllers  This article describes the making of an electronic code lock using the 8051 micro-controller.

A 4x3 matrix keypad and a 16x2 LCD have been used here. Keypad and LCD are very commonly used input & output devices, respectively. A four digit predefined password needs to be specified the user. This password is stored in the system.

While unlocking, if the entered password from keypad matches with the stored password, then the lock opens and a message is displayed on LCD. Also an output pin is made high to be used for further purpose.
The connections in the circuit are as following: port P2 of microcontroller AT89C51 is used as data input port which is connected to data pins (7-14) of LCD. P1^0, P1^1 and P1^2 pins of microcontroller are connected to control pins RS, RW and EN of LCD. Port P0 is used to take input from keypad. P0^7 has been used as lock output pin of controller.

As the program starts, string ‘Enter Password’ is displayed on LCD. The keypad is scanned for pressed digits one by one. Every time, row and column of the key pressed is detected and a ‘*’ is displayed on LCD corresponding to the entered number. After the four digits are entered, the user is prompted to ‘Confirm Password’ and again the input is taken through LCD. If the passwords do not match, a message is displayed to indicate ‘Wrong Password’; otherwise the user is prompted to unlock the device.

To unlock, user needs to ‘Enter Password’ through keypad. Again the keypad is scanned for pressed keys and corresponding digits are identified. The passkey is displayed as ‘****’ on the LCD screen. After the four digits are entered, they are compared with the pre-set password. If all the four digits match with set password, LCD displays ‘Lock Open’ and the lock output pin goes high. If the security code is wrong, ‘Wrong Password’ is sent to be displayed on LCD. The system gets locked if more than three attempts are made with wrong password to open the electronic lock. The system needs to be reset in such a case.

Saturday, 9 February 2013

Liquid level alarm using 8051 microcontroller

This article illustrates the construction and working of a liquid level indicator. Such an indicator is used in tanks to indicate the level of liquids and alert us when the tank is full. So by this circuit we can monitor the various levels of the tank and can avoid spillage of water and also we can configure our supplies according to the various levels of tank. Such module or circuit can be installed in big buildings where manual monitor of tanks is difficult and its indicator can be placed at some centralised place.



This circuit works on the principle that water conducts electricity. A wire connected to VCC and four other wires are dipped in tank at different levels namely quarter, half, three-fourth, full and their output are taken on pins P3.0, P3.1, P3.2, P3.3 via a transistor BC547. Port P2 is connected to data pins of LCD and P1.0, P1.1, P1.2 are respectively connected to RS, RW, and EN pins of LCD.



Initially when the tank is empty LCD will show the message VACANT. As the tank starts filling up wire at different levels get some positive voltage, due to conducting nature of water. This voltage is then fed to their corresponding pins on controller. When level reaches to quarter level, LCD displays the messageQUARTER. On further rise of level, HALF and 3/4 QUARTER are displayed on LCD. When tank gets full LCD shows the message FULL CLOSE TAP. A buzzer is also provided to produce a alert the user when the tank gets filled. This buzzer can be made off by pressing the switch connected between pin 15 of controller and VCC.

Saturday, 2 February 2013

Embedded Automobile Engine Locking System, Using GSM Technology



This paper deals with the design & development of an embedded system, which is being used to prevent /control the theft of a vehicle. The developed instrument is an embedded system based on GSM technology. The instrument is installed in the engine of the vehicle. An interfacing GSM modem is also connected to the microcontroller to send the message to the owner’s mobile.

The main objective of this instrument is to protect the vehicle from any unauthorized access, through entering a protected password and intimate the status of the same vehicle to the authorize person (owner) using Global System for Mobile (GSM) communication technology. This system deals with the concept of network security. The main concept in this design is introducing the mobile communications into the embedded system. The entire designed unit is on a single board.
Source: IOAJ
Author: Jayanta Kumar Pany | R. N. Das Choudhury

On Line Real Time Health Monitoring of ICU Patients using ARM7



Care of critically ill patient requires prompt & accurate decisions so that life-protecting & lifesaving therapy can be properly applied. Because of these requirements, ICUs have become widely established in hospitals. Difficulty found in most hospitals is that Expert has to frequently visit the patient & asses his/her condition by measuring different parameters.

These systems works when there is any emergency by using different wireless technologies. This paper is mainly based on continuous monitoring aspect of ICU patients. I have designed, developed a reliable, energy efficient patient monitoring system. It is able to send parameters of patient in real time. It enables the doctors to monitor patients parameters (temp, heart beat , ECG) in real time using http protocol The timely manner of conveying real time monitored parameter to doctor is given highest priority. Hence On line Real time Health monitoring is becoming popular for the ICU patients.
Source: IJCSN
Author: Rajashri Patil , Balaji Hogade

PIC Based Automatic Solar Radiation Tracker for Maximum Solar Energy



If we could configure a solar cell so that it faces the sun continually as it moves across the sky from east to west, we could get the most electrical energy possible. One way to do this, of course, is by hand. However, keeping a solar cell facing the sun throughout the day is not a very efficient use of a person’s time. Going outside to a solar cell every hour to turn it toward the sun might be possible, but this would still not be an efficient method.

A photo sensor is employed to control the solar cell tracking system. For example, if the photo sensor is not aligned with sun rays, then it could turn on the motor until it is once again aligned. If the motor is attached to the frame holding the solar cell, then the solar cell could be moved to face the sun. As long as the photo sensor is in alignment with the sun, nothing happens. However, when the sun moves across the sky and is not in proper alignment with the photo sensor, then a motor moves the frame until the photo sensor is in the sun once more. This could have the effect of keeping the solar cell facing the sun as it moves across the required human attention.

So we need a tracking system that would automatically keep the solar cell facing the sun throughout the day. We have to build an automated system of our own, using a single motor. The system includes a frame on which a solar cell could be mounted. The frame is to move so that it faces the sun as it travels across the sky during the day. The frame could be driven by an electric motor that turns on and off in response to the movement of the sky. Here in this thesis work, panel itself work as a sensor.
Author: Romy Kansal
Source: Thapar University

Microcontroller Based Heart Rate Monitor



This paper describes the development of a heart rate monitor system based on a microcontroller. It offers the advantage of portability over tape-based recording systems. The paper explains how a single-chip microcontroller can be used to analyse heart beat rate signals in real-time.

In addition, it allows doctors to get the heart beat rate file of the patient by email every twenty four hours. It can also be used to control patients or athletic person over a long period. The system reads, stores and analyses the heart beat rate signals repetitively in real-time. The hardware and software design are oriented towards a single-chip microcontroller-based system, hence minimizing the size. The important feature of this paper is the use of zero crossing algorithm to compute heart rate. It then processes on real-time the information to determine some heart diseases.
Source: IAJIT
Authors: Mohamed Fezari, Mounir Bousbia-Salah, and Mouldi Bedda


Microcontroller-based DC Motor Controller



Motion control plays a vital role in industrial automation. Manufacturing plants in industries like chemical, pharmaceutical, plastic and textile, all require motion control. And it may be a flatbelt application, flow-control application or mixing ofsubstances. Different types of motors—AC, DC, servo or stepper—are used depending upon the application. Of these, DC motors are widely used because controlling a DC motor is somewhat easier than other kinds of motors.

The motion of a DC motor is controlled using a DC drive. DC drive changes the speed and direction of motion of the motor. Some of the DC drives are just a rectifier with a series resistor that converts standard AC supply into DC and gives it to the motor through a switch and a series resistor to change the speed and direction of rotation of the motor. But many of the DC drives have an inbuilt microcontroller that provides programmable facilities, message display on LCD, precise control and also protection for motors. Using the DC drive you can program the motion of the motor, i.e., how it should rotate.
Source: Kitsnspares


Microcontroller based Automatic Railway Gate Control



The objective of this paper is to provide an automatic railway gate at a level crossing replacing the gates operated by the gatekeeper. It deals with two things. Firstly, it deals with the reduction of time for which the gate is being kept closed. And secondly, to provide safety to the road users by reducing the accidents.

By the presently existing system once the train leaves the station, the stationmaster informs the gatekeeper about the arrival of the train through the telephone. Once the gatekeeper receives the information,he closes the gate depending on the timing at which the train arrives. Hence, if the train is late due to certain reasons,then gate remain closed for a long time causing traffic near the gates.

By employing the automatic railway gate control at the level crossing the arrival of the train is detected by the sensor placed near to the gate. Hence, the time for which it is closed is less compared to the manually operated gates and also reduces the human labour. This type of gates can be employed in an unmanned level crossing where the chances of accidents are higher and reliable operation is required. Since, the operation is automatic, error due to manual operation is prevented.




Friday, 1 February 2013

Electronic voting machine using seven segment multiplexing with 8051 microcontroller


This topic presents a basic approach to develop an electronic machine. The idea is to display the count of votes on a set of seven segment displays. A set of switches are provided through which a user can cast vote. After every cast of vote, the subsequent count can be seen on the seven segments. The segments and switches are controlled through AT89C51. For every candidate, a segment has been provided.

This voting machine is designed for four candidates. The provision of casting vote has been provided by means of four tactile switches. These switches take manual inputs from the user and transfer them to the pins of controller. Based on these inputs, the vote count for different candidates is increased by AT89C51.

To display the vote count, four seven segment displays are also connected to the microcontroller (refer seven segment interfacing with AT89C51). The count value for each candidate is sent to the corresponding segment. The four counts appear continuously by multiplexing these segments through AT89C51.

Pins 2-5 of the port P3 are configured to take inputs through switches connected to them. The data pins of the seven segments are connected to port P2. Pins 0-3, of port P1, are configured as output to act as control/enable pins of the seven segments.