Wednesday, July 6, 2011

DESIGN AND IMPLEMENTATION OF 4-CHANNEL DATA ACQUISITION SYSTEM

DESIGN AND IMPLEMENTATION OF 4-CHANNEL DATA ACQUISITION SYSTEM

Data acquisition system means acquiring data from any sensor (physical parameter value) and those values are displayed on the LCD. A Data Acquisition System is comprised of three parts; an I/O sub-system, a host computer (or equivalent circuit, here that is microcontroller) and the controlling software.

The purpose of data acquisition is to measure an electrical or physical phenomenon such as voltage, current, temperature, pressure, or sound. Many times it is required to monitor physical phenomena such as temperature, pressure, humidity, light intensity, sound intensity, force, etc. Such physical phenomena can be monitored by digital systems employing sensors. However sensors generally produce a change in resistance, voltage or current. All such phenomena can be converted into a change in voltage levels. Since the sensors and the subsequent signal conditioning circuits provide a proportionate change in voltage with respect to the phenomena, this cannot be directly interpreted by a digital system. A sensor is usually an analog voltage and can take any value between + 10 to -10 volts. However a digital signal has only two states. 1 (ON) or 0 (OFF). Thus it is required to have additional circuitry between the digital system and analog system that translates the analog signal in to a digital signal. Such conversion can be performed by an analog to digital converter.       

In this project we are interfacing four different sensors to the microcontroller with the help of ADC. To implement this overall project required components are microcontroller, MCP3204, temperature sensor, smoke (MQ-2 gas) sensor, variable resistor, LDR, LCD and LED’S. After interfacing all devices user has to develop one application program in EMBEDDED-C to get the final result. That is all sensors information is displayed on the LCD. For each sensor one set point is assigned in the application program. If the sensor value is crossing the set point one LED is turned ON. Here four sensors related four LED’S are there.

REQUIREMENTS:
HARDWARE REQUIREMENTS:
  •   AT89S52
  • MCP3204
  • POTENTIOMETER
  • LM35
  • LDR
  • SMOKE SENSOR
  • LCD display


SOFTWARE REQUIREMENTS:
Ø  Functionality of all above components
Ø  Embedded C programming
Ø  KEIL-C COMPILER





REMOTE APPLIANCE CONTROL THROUGH SMS

REMOTE APPLIANCE CONTROL THROUGH  
SMS
                        Now a day’s most of the systems are automated in order to face new challenges and achieve present day requirements. Automated systems have less manual operations, so that the flexibility, reliabilities are high and accurate. Hence every field prefers automated control systems especially in the field of electronics.
            GSM (Global System for Mobile communications) is an open, digital cellular technology used for transmitting mobile voice and data services. Here we are using it only for transmitting and receiving the messages. GSM wireless data module is used for remote wireless applications, machine to machine or user to machine and remote data communications in many applications.

The theme of the project is to control the remote appliances through SMS, because in some cases we have to access some devices even though we are not presence. At that time this concept is very useful to control the devices.  To implement this we have to interface one GSM module to microcontroller. Initially we need to interface the appliances that we need to control remotely to the microcontroller. If we want to control the appliances without we present in the region we need to send a Pre-defined message to the GSM which is included in the program. The message that we sent is collected serially by the microcontroller. When a message is received from the GSM, the microcontroller displays that message on LCD and will do the corresponding operation for that number like switching the devices ON or OFF. The microcontroller sends a reply message to the user number which is also a Pre-defined one stating which appliance got activated and simultaneously displays it on the LCD. We can connect as many appliances as we want and can control those using GSM.
REQUIREMENTS:

HARDWARE REQUIREMENTS:
  •    AT89S52 
  •    GSM MODULE 
  •     16X2 LCD 
  •     AC BULB 
  •     RELAY 
  •     DC MOTOR

SOFTWARE REQUIREMENTS:

  •   PROGRAMMING IN EMBEDDED C
  • KEIL C COMPILE
  • ISP PROGRAMMER




AUTOMATIC ROOM LIGHT CONTROLLER WITH VISITOR COUNTER

Automatic Room light
Controller with Visitor Counter

abstract


                                    This Project “Automatic Room Light Controller with Visitor Counter using Micro controller” is a reliable circuit that takes over the task of controlling the room lights as well us counting number of persons/ visitors in the room very accurately. When somebody enters into the room then the counter is incremented by one and the light in the room will be switched ON and when any one leaves the room then the counter is decremented by one. The light will be only switched OFF until all the persons in the room go out. 

The total number of persons inside the room is also displayed on the LCD display. The microcontroller does the above job. It receives the signals from the sensors, and this signal is operated under the control of software which is stored in ROM. Microcontroller AT89C52 continuously monitor the Infrared Receivers, When any object pass through the IR Receiver's then the IR Rays falling on the receiver’s are obstructed , this obstruction is sensed by the Microcontroller

Hardware components:
                                   
·         AT 89S52 Micro controllers
·         LCD
·         IR RECEIVERS
·         IR TRANSMITTERS
·         RELAYS
·         BC547TRANSISTERS


Software tools:                       
·         Kiel Micro vision.





SOLAR TRACKING

SOLAR TRACKING

                      
                     This is a power generating method from sunlight. This method of power generation is simple and is taken from natural resource. This need only maximum sunlight to generate power. This project helps for power generation by setting the equipment to get maximum sunlight automatically. This system is tracking for maximum intensity of light. When there is decrease in intensity of light, this system automatically changes its direction to get maximum intensity of light. Here we are using two sensors in two directions to sense the direction of maximum intensity of light. The difference between the outputs of the sensors is given to the micro controller unit. Here we are using the microcontroller for tracking and generating power from sunlight. It will process the input voltage from the comparison circuit and control the direction in which the motor has to be rotated so that it will receive maximum intensity of light from the sun. The power generated from this process is then stored in a lead acid battery and is made to charge an emergency light and is made to glow with the help of solar panel .
                  
SIMULATION:

                                          TOOL:         KEIL MICROVISION

                                PLATFORM:  WINDOWS

                                LANGUAGE:  EMBEDDED ‘C’

























components:


  1.  8052 MICROCONTROLLER



  1. LDRS



  1. SOLAR PANEL



  1. STEPPER MOTOR



  1. ULN2003




Tuesday, July 5, 2011

CAN BASED COLLISION AVOIDANCE SYSTEM FOR AUTOMOBILES

CAN BASED COLLISION AVOIDANCE SYSTEM FOR AUTOMOBILES

The Controller Area Network (CAN) is a Serial, Asynchronous, Multi-master communication protocol for connecting electronic control modules in Automotive and industrial applications. CAN protocol have many features like Low cost, Easy to implement, peer to peer Network with powerful Error Checking, Higher Transmission Rates 1MBitps.

            The CAN Network is a Peer to Peer Network consisting of different nodes. Different parameters can be monitored by these Nodes and can be updated to the Central Control Unit. Mostly used in Industry and Auto Mobiles in a Hazardous Environment and is reliable.

            This project is designed for collision avoidance system for automobiles using CAN protocol.  Using CAN protocol we can send data from one node to other node. Here   we    are    having     two    nodes    each   node   contains      AT MEGA 16 (AVR CONTROLLER), MCP2515 (CAN CONTROLLER), MCP2551 (CAN TRANSRECEVER). In first node we are interfacing GP2D12 to find the object, in second node contains DC motor. Initially motor is rotating with maximum speed. If any object is found in front of GP2D12 in node1 motor will stop in node2 by using CAN protocol. For this we have to develop two different application programs in embedded C.

                        The CAN bus may be used in vehicles to connect engine control unit and transmission, or (on a different bus) to connect the door locks, climate control, seat control, etc. Today the CAN bus is also used as a field bus in general automation environments; primarily due to the low cost of some CAN Controllers and processors.


BLOCK DIAGRAM:

  










 REQUIREMENTS:

HARDWARE REQUIREMENTS:

Ø    ATMEGA 16 (AVR CONTROLLER)

Ø    MCP2515

Ø    MCP2551

Ø    16X2 LCD

Ø    GP2D12

Ø    L293D

Ø    DC MOTOR

SOFTWARE REQUIREMENTS:


Ø    PROGRAMMING IN EMBEDDED C
Ø    CODEVISION AVR C COMPILER



MICROCONTROLLER BASED SYSTEM SHUTDOWN, RESTART, AND LOGOFF USING WIRELESS TECHNOLOGY

MICROCONTROLLER BASED SYSTEM SHUTDOWN, RESTART, AND LOGOFF USING WIRELESS TECHNOLOGY

            Wireless communication is the transfer of information over a distance without the use of enhanced electrical conductors or "wires". The distances involved may be short (a few meters as in television remote control) or long (thousands or millions of kilometers for radio communications). When the context is clear, the term is often shortened to "wireless". Wireless communication is generally considered to be a branch of telecommunications.

            Wireless communication, as the term implies, allows information to be exchanged between two devices without the use of wire or cable. In all such cases, information is being transmitted and received using electromagnetic energy, also referred to as electromagnetic radiation.

Infra-Red actually is normal light with a particular colour. We humans can't see this color because its wave length of 950nm is below the visible spectrum. That's one of the reasons why IR is chosen for remote control purposes.

In this application we are using IR communication as a wireless communication. To implement this application IR receiver is interfaced to microcontroller to read the remote key values. For different keys we are assigning different options (those are SHUT DOWN, RESTART and LOGOFF). After receiving commands from the remote, one predefined data is passed to system through serial communication. For this we have to use some DOS commands. Based on that DOS commands only, system SHUT DOWN, RESTART and LOGOFF is done.  

BLOCK DIAGRAM:



 REQUIREMENTS:
HARDWARE REQUIREMENTS:
Ø  AT89S52
Ø  MAX232
Ø  TSOP1738
Ø  16X2 LCD
Ø  SERIAL CABLE
Ø  TV REMOTE

SOFTWARE REQUIREMENTS:
Ø  PROGRAMMING IN EMBEDDED C
Ø  KEIL C COMPILER
Ø ISP PROGRAMMER