Wednesday 9 December 2015

DC Motor Speed and direction control over GSM Mobile/Modem


This is a DC Motor Control Device which controls the stepper motor through messages received as SMS or GPRS Packets and also sends acknowledgment of task. These devices are designed to remotely control the DC Motor from anywhere and anytime. This remote control DC motor control device is possible through embedded systems. The toolkit receives the SMS, validates the sending Mobile Identification Number (MIN) and performs the desired operation after necessary code conversion. The system is made efficient by SIMs so that the SMS can be received by number of devices boards in a locality using techniques of time division multiple access. With this in mind, we have designed the project to work with sim300 technology.
The speed of the motor is measured using contact-less speed measurement technique. Speed control is done using PWM (Pulse Width Modulation) method. User can send SMS messages to control the motor speed and direction. A GSM modem attached to the control unit handles automatic SMS sending and receiving process. As this monitoring and controlling can be done by any mobile phone, we provided a security feature by implementing password-based protection. User has to send the password along with the commands to be controlled.
The purpose of this project is to control the speed and direction of DC Motor using Microcontroller and GSM Modem with password protection. This uses a PWM (Pulse Width Modulation) technique to control the speed of motor from 0% to 100%.
The SMS can be sent to any mobile user of any service provider with no or minimum charge. This system is designed using a GSM modem. The GSM modem is configured as a receiver. The SMS sent by the user is written in a particular format. The controller receives the message and decodes it and identifies the task to be done and the SMS received by the controller is decoded, and the proper message is displayed on the LCD by the microcontroller.
GSM Modem connected to microcontroller unit is used to control the motor and know the motor live speed. Microcontroller automatically reads the SMS messages stored in the SIM card and takes necessary action like speed control, direction control etc. There will be a particular code that needs to be sent through SMS to set the speed and get the speed from the DC motor.
Components
  • GSM Module – SIM 300
                                                                       SIM300
This GSM Modem can accept any GSM network operator SIM card and act just like a mobile phone with its own unique phone number. Advantage of using this modem will be that you can use its RS232 port to communicate and develop embedded applications. Applications like SMS Control, data transfer, remote control and logging can be developed easily.The modem can either be connected to PC serial port directly or to any microcontroller. It can be used to send and receive SMS or make/receive voice calls. It can also be used in GPRS mode to connect to internet and do many applications for data logging and control. In GPRS mode you can also connect to any remote FTP server and upload files for data logging.
This GSM modem is a highly flexible plug and play quad band GSM modem for direct and easy integration to RS232 applications. Supports features like Voice, SMS, Data/Fax, GPRS and integrated TCP/IP stack.
  • PIC 16F887
The PIC16F887 is one of the latest products from Microchip. It features all the components which modern microcontrollers normally have. For its low price, wide range of application, high quality and easy availability, it is an ideal solution in applications such as: the control of different processes in industry, machine control devices, measurement of different values etc. Some of the features are as follows:-
                                                             16F887
·        RISC Architecture
·        Oscillator Support 0-20 MHz
·        In Circuit Serial Programming Option (ICSP)
·        Watch-Dog Timer
·        Brown-out Reset (BOR) with software control option
·        Power saving sleep mode
·        Enhanced UART Module
·        256 bytes EEPROM
·        PWM output steering control
  • Motor Driver IC – L293D
The L293 and L293D are quadruple high-current half-H drivers. The L293 is designed to provide bidirectional drive currents of up to 1 A at voltages from 4.5 V to 36 V. The L293D is designed to provide bidirectional drive currents of up to 600-mA at voltages from 4.5 V to 36 V. Both devices are designed to drive inductive loads such as relays, solenoids, dc and bipolar stepping motors, as well as other high-current/high-voltage loads in positive-supply applications. All inputs are TTL compatible. Each output is a complete totem-pole drive circuit, with a Darlington transistor sink and a pseudo-Darlington source. Drivers are enabled in pairs, with drivers 1 and 2 enabled by 1,2EN and drivers 3 and 4 enabled by 3,4EN. 
                                                               conn_diag
When an enable input is high, the associated drivers are enabled and their outputs are active and in phase with their inputs. When the enable input is low, those drivers are disabled and their outputs are off and in the high-impedance state. With the proper data inputs, each pair of drivers forms a full-H (or bridge) reversible drive suitable for solenoid or motor applications.
Block Diagram
                                                                   GSM_Dc_block
Circuit Diagram
                                                                  DcMotor_GSM
GSM technology capable solution has proved to be controlled remotely, provide industrial security has achieved the target to control different industrial appliances remotely using the SMS-based system satisfying user needs and requirements GSM technology capable solution has proved to be controlled remotely, provide industrial security and is cost effective as compared to the previously existing systems.

Types of source

  Ideal Voltage Source:  An ideal voltage source is capable to maintain the constant voltage across its terminals. The voltage across the vo...

Translate