Beruflich Dokumente
Kultur Dokumente
Makers group
Atmega32 microcontroller
High-performance, Low-power Atmel AVR
8- bit Microcontroller. It has32 Programmable I/O Lines and 40pin PDIP It operates at 2.7V - 5.5V for ATmega32L and 4.5V - 5.5V for ATmega32 It has 131 Powerful Instructions . It has 32(8bit) General Purpose Working Registers. It gives the speed up to 16 MIPS at the frequency of16MHz. It has high Endurance Non-volatile Memory segments. It has32Kbytes of In-System Selfprogrammable Flash program memory It has1024Bytes of EEPROM It has two 8-bit Timer/Counters and One 16-bit Timer/Counter
Table of Contents
Introduction Principle Architecture
Components
- Microcontroller(Atmega 32) -GSM Modem -D.C Motor -LCD -MAX 232 -L293d Circuit diagram
Programming & AT commands Working
DC Motor
Three-phase induction motors are the
most common and frequently encountered machines in industry Simple design, rugged, low-price, easy maintenance Its speed depends on the frequency of the power source It Requires a variable-frequency power electronic drive for optimal speed control Run essentially as constant speed from no load to full load It has Wide range of power ratings: fractional horsepower to 10 MW
Max 232
The MAX232 is an integrated circuit
that converts signals from an RS-232 serial port to signals suitable for use in TTL compatible digital logic circuits We use Max232 IC for communication with modems. It Operate With Single 5-V Power Supply It has two Drivers and two Receivers. The drivers provide RS-232 voltage level outputs (approx. 7.5 V) from a single + 5 V supply . The receivers reduce RS-232 inputs (which may be as high as 25 V), to
AT commands
The GSM modem and the PC are wire-connected
through RS232 serial ports .They communicate with AT commands AT commands are a set of commands that has been standardized to communicate with terminal equipments such as modem. Most GSM modems support AT commands. The most frequently used commands are: AT+CMGS: To send a short message AT+CMGR: To read a short message from the GSM module AT+CMGL: To list SMS short messages stored in the GSM module
L293d
This Device is a monolithic
integrated high voltage, high current four channel driver designed to accept standard DTL or TTL logic levels It is used to drive inductive loads (such as DC and stepping motors) and switching power transistors This device is suitable for use in switching applications at frequencies up to 5 kHz The L293D is assembled in a 16 lead plastic package which has 4 center pins connected together
Introduction
This Project is a very good example of embedded
system as all its operations are controlled by intelligent software inside the microcontroller. The aim of this project is to control i.e. to ON/OFF and speed control of different motors, the electrical or electronic appliances connected to this system from anywhere in the world. Using the convenience of SMS, this project lets you remotely control equipment by sending plain text messages. Many industries have been quick to make use of this technology, with millions of handsets currently in use.
Acknowledgement
I express my sincere regards to my project guide
for providing the necessary guidance and support, which has played a major role in assuring quality of the presentation.
I also express my sincere regards to our
for
provided us
Architecture
Data messages
produced at one end of the monitoring system and sent to remote monitoring devices at another end. When a short message is received, it can be restored to its original industrial form by removing the SMS PDU head. The system used routing function of GSM network to deliver a message to another
GSM MODEM
We are using sim 300 in gsm modem The GSM net used by cell phones
provides a low cost, long range, wireless communication channel. The Global System for Mobile Communications (GSM) is the most popular standard for mobile phones in the world A modem (modulator-demodulator) is a device that modulates an analog carrier signal to encode digital information, and also demodulates such a carrier signal to decode the transmitted information. This is a powerful GSM/GPRS Terminal with compact and self contained unit.
Working
In this project we are using GSM technology. Major role of this project is to receive the SMS to
control the speed and direction of dc motor. Initially the SMS is received from the person authorized to use this setup (destination) by the GSM modem (SIM300 MODEM) & is transferred to the microcontroller devices kit with the help of a MAX 232 chip. The AT commands given by the microcontroller to the modem. The control signal from the SMS is extracted and is used to control the devices connected to it We have to convert the 'septets' of the phone to 'octets' because the micro-controller need bytes with
and then the circuit is connected to the modem. The microcontroller now tries to read the SMS from the 1st memory location of the modem and it keeps trying again until the modem receives any SMS. Before implementing the control signal part of the SMS, the modem extracts the number from the SMS and verifies if this number has the access to control the device or not. For controlling the devices, the message will be sent in hexadecimal format. The hex data is converted to the equivalent binary and the particular output is enabled. For example if the message is AB the equivalent binary is 10101011 this implies that the output 1, 3, 5, 7, 8 are enabled and the remaining ports are disabled