Microcontroller : AVR IEEE INSPEC Accessing Number :
We all know that cooking gas is very important in our daily life. In our busy life some times we forgot to book the gas for refilling. To avoid this we introduce this system. In our system there is a load cell which senses the weight of the gas cylinder. When the weight is below the certain value 200mg automatically send a message to gas agency. Also there is a gas sensor that senses the gas leakage and informs the control room.
The main objectives of the project are: 1. No tension about refill booking of gas 2. Easy to implement Outcome of the project: 1. Embedded system 2. Microcontroller Atmega32 3. Embedded C 4. Problem analysis 5. Circuit design 6. PCB layout design 7. GSM 8. Soldering 9. Integration 10. Testing 11. Trouble shooting Block diagram
POWER SUPPLY
LOAD CELL
RESET
AT MEGE32
ADC
ADC
OSCILLATOR
GSM
MAX232 GAS SENSOR LCD DRIVER LCD
Block diagram description 1. AVR Microcontroller AVR is the microcontroller used in this project. The major heart of this project is AVR microcontroller, it has more features like 16bit timer, 10-bit ADC, USART, SPI, I2C, 256 bytes of EEPROM memory, and 32kbytes of flash program memory, then at last its speed of program execution is about to 1 microsecond or 10 MIPS (10 Million Instructions per second), etc. However, compare to other microcontroller it is fast and very ease to program in C language because of huge support can gain from the manufacturer for programming. The special IDE offered by the manufacture, it is named as AVR Studio IDE for it code generation purpose. 2. LCD Module A liquid-crystal display (LCD) is a flat panel display, electronic visual display that uses the light modulating properties of liquid crystals. Liquid crystals do not emit light directly. The most common application of liquid crystal technology is in liquid crystal displays (LCDs). A liquid crystal display consists of an array of tiny segments (called pixels) that can be manipulated to present information. The LCD screen is more energy efficient and can be disposed of more safely than a CRT. Its low electrical power consumption enables it to be used in battery-powered electronic equipment. 3. MAX232 (Voltage Level Converter) The MAX232 is an IC that converts signals from an RS-232 serial port to signals suitable for use in TTL compatible digital logic circuits. The MAX232 is a dual driver/receiver and typically converts the RX, TX, CTS and RTS signals. The drivers provide RS-232 voltage level outputs (approx. 7.5 V) from a single + 5 V supply via on-chip charge pumps and external capacitors. The receivers reduce RS- 232 inputs (which may be as high as 25 V), to standard 5 V TTL levels. 4. GSM Modem A GSM modem is a specialized type of modem which accepts a SIM card, and operates over a subscription to a mobile operator, just like a mobile phone. From the mobile operator perspective, a GSM modem looks just like a mobile phone. When a GSM modem is connected to a computer, this allows the computer to use the GSM modem to communicate over the mobile network. A GSM modem can be a dedicated modem device with a serial, USB or it can be a mobile phone that provides GSM modem capabilities. A GSM modem exposes an interface that allows applications such as SMS to send and receive messages over the modem interface. The mobile operator charges for this message sending and receiving as if it was performed directly on a mobile phone. To perform these tasks, a GSM modem must support an extended AT command set for sending/receiving SMS messages.