25-07-2012, 10:15 AM
Project on AVR atmega16 micro controller
Unmanned highway patroling (2).docx (Size: 11.97 KB / Downloads: 59)
Working of the circuit
Unmanned highway patrolling helps prevent accidents due to several mis behaviors of driver. The core of this project is AVR atmega16 micro controller. This micro controller over views all the detection and information function. The micro controller uses a 12 MHz oscillator for its functioning. The micro controller has four ports namely portA, portB, portC, portD. Port B is used as data lines for the LCD display which displays the information’s such as details of the project and also the detected reading. This circuit is mainly divided into three. The microcontroller, the sensing circuits, the gsm module circuit. The sensing circuit consists of sensors for sensing over speed, if the driver has consumed alcohol and if the driver is using mobile phone while driving.
The over speed sensor is a variable resistor which is connected to the PA14 pin of AVRatmega16. When the variable resistor changes its value the current passed increases which is monitored by AVRatmega16 and when the current goes beyond the limit set by the program AVRatmega16 produces a warning and displays it on the 16X2 LCD display as speed ’HIGH’. Also the AVR atmega16 transfers the data to the GSM modem which is interfaced using MAX232.The GSM modem send a message specifying the number of the vehicle and speed high to the numbers already stored during programming in the micro controller. Where by the chance of an accident can be reduced by the timely action by the GSM receiving stations.
The alcohol sensor is connected to the PD7 pin of the microcontroller AVRatmega16. The alcohol sensor does the job of sensing if the driver has consumed alcohol during driving. The sensor is placed in such a way that it can sense from the breath of the driver if he is drunk or not. If the sensor senses that the driver is drunk immediately it passes the information to the microcontroller AVRatmega16. The microcontroller displays the details on the LCD display and also sends the message through the GSM modem which is interfaced using MAX232. The message is send to the GSM stations which are already stored in the microcontroller with the details regarding the number and misbehavior of the driver.