You are on page 1of 10

Picture

All Required Components along with price list


Sr. No.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Required Component

No. of component 1 5 1 10 6 1 1 1 1 1 3 1 pkd 1 1 5 5

Cost of Total each cost component 300 30 100 1 1 10 25 25 10 10 5 50 25 500 10 15 300 150 100 10 6 10 25 25 10 10 10 50 25 500 50 125

Transformer 12-0-12/1A Relay IC 16F676 Resistor Led Bridge D type male connector D type female connector IC 7805 IC ULN 2003 IC base Connecting wire Capacitor 2200uf/25v Glass epoxy PCB Lamp holder Relaymate connector Total

CIRCUIT OPERATION

microcontroller-based mobile phoneoperated HOME AUTOMATION SYSTEM . The important components of this home automation system are a DTMF decoder, microcontroller and load driver. An MT8870 series DTMF decoder is used here. All types of the MT8870 series use digital counting techniques to detect and decode all the 16 DTMF tone pairs into a 4-bit code output. The built-in dial tone rejection circuit eliminates the need for pre-filtering. When the input signal given at pin 2 (IN-) in single-ended input configuration is recognised to be effective, the correct 4-bit decode signal of the DTMF tone is transferred to Q1 (pin 11) through Q4 (pin 14) outputs. Table II shows the DTMF data output table of MT8870. Q1 through Q4 outputs of the DTMF decoder (IC1) are connected to port pins PA0 through PA3 of PIC16F676 microcontroller (IC2) after inversion by N1 through N4, respectively. The PIC16F676 is a low-power, 8-bit, CMOS microcontroller based on the AVR enhanced RISC architecture. It provides the following features: 16 kB of in-system programmable Flash program memory with read-while-write capabilities, 512 bytes of EEPROM, 1kB SRAM, 32 general-purpose input/output (I/O) lines and 32 general-purpose working registers. All the 32 registers are directly connected to the arithmetic logic unit, allowing two independent registers to be accessed in one single instruction executed in one clock cycle. The resulting architecture is more code-efficient. Outputs from port pins PC0 through PC4 of the microcontroller are fed to inputs ULN2003

Programmer Detail

The eCee-PIC16F877A Development and Evaluation Board from RhydoLabz can be used to evaluate and demonstrate the capabilities of Microchip PIC16F877A microcontrollers. The board is designed for general purpose applications and includes a variety of hardware to exercise microcontroller peripherals. Ideally suitable for training and development purposes. Professional EMI/RFI Complaint PCB Layout Design for Noise Reduction High Quality Two layer PTH PCB Includes PIC16F877A Microcontroller Board Supports PIC 18F4580/4520/4550* Microcontrollers No separate programmer required (Built in Boot loader) No Separate power adapter required (USB power source) Screw terminal for External power Supply (with Jumper Select Option) External Power Supply range of 7V to 20V Adaptor (any standard 9-12V power supply) option RS-232 Interface (For direct connection to PCs serial port) On board Two Line LCD Display (2x16) On board I2C EEPROM (4K-AT24C04) On board I2C RTC (DS 1307) with Crystal and Battery On board 32.768 KHz Crystal for RTC Four multiplexed 7-Segment LED Display Built in Matrix keyboard (12 keys) Built in Pull-Up (4 Keys) Keyboard Built in IR Sensor Interface TSOP 1738 Built in 8 LED Interface to test I/O On Board External Interrupt and Reset buttons Built in Potentiometer interface for ADC On Board Temperature Sensor Interface On Board Buzzer Interface On Board PWM Output pin On Board ICD Connector for Debugging/Programming On Board ICSP Connector On Board 20 MHz Crystal Oscillator On Board Power LED Indicator On Board DB9 Connector On Board USB Connector All Port Pins available at IDC (2x5) Connector Power Supply Reverse Polarity Protection On Board 1 Amp Voltage Regulator Can be used as main board for developing applications Demo HEX codes included for testing of board features Example codes included

FUNCTIONAL BLOCK

Hardware Interfacing

In the present project the industrial machine is controlled by a mobile phone which makes a call to the mobile phone attached to the on/off controlling circuit. In the course of a call if any button is pressed a tone corresponding to the button pressed is heard at the other end of the call. This tone is called DTMF tone. The on/off controlling circuit perceives this DTMF tone with the help of a phone stacked in the on/off controlling circuit. The processing of the received tone is done by PIC16F84A microcontroller with the help of DTMF decoder, MT8870. The decoder decodes the DTMF tone in to its equivalent binary digit and this binary number is sent to the microcontroller. The microcontroller is preprogrammed to take a decision for any given input. The microcontroller outputs its decision to on/off industrial machine.

Dualtone multifrequency (DTMF) signaling is used for telephone signaling over the line in the voicefrequency band to the call switching center. The version of DTMF used for telephone tone dialing is known by the trademarked term Touch Tone. DTMF assigns a specific frequency (consisting of two separate tones) to each key so that it can easily be identified by a microcontroller. The signal generated by a DTMF encoder is a direct algebraic summation, in real time, of the amplitudes of two sine (cosine) waves of different frequencies, i.e. pressing '5' will send a tone made by adding 1336 Hz and 770 Hz to the other end of the line.

The HT9170 series are Dual Tone Multi Frequency receivers (DTMF decoders). All types of the HT9170 series use digital counting techniques to detect and decode all the 16 DTMF tone pairs into a 4bit code output. A builtin dial tone rejection circuit is provided to eliminate the need for prefiltering. When input signals given at VP (1) and VN (2) pins are recognized to be effective, DV (15) becomes high, and the correct 4bit code of the tone (DTMF) is transferred to the out put pins, D0 (11) D3 (14). Figure 2 shows the ICs pin assignment. Figure 3 shows the DTMF data output table of HT9170 series

WORKING

The user in order to control the device should make a call to the cell phone attached in the robot, from any phone, which can send DTMF tunes on pressing the numeric buttons. The cell phone in the device controller will be kept in auto answer mode. So, after a ring the cell phone accepts the call. Now the user may press any button on his mobile. The DTMF tones thus produced are received by the cell phone in the device controller. These tones are fed to the circuit by head set of the cell phone. HT 9170 decodes the received tone and sends equivalent binary number to the micro controller. According to the program in the microcontroller, the device controller control the device, the input to the circuit from the device control cell phone is given through headset at the 2nd & 3rd pins of HT9170. The decoded digital data will be given out by the HT9170 at 11, 12, 13 &14 pins. These digits are negated using 4 not gates of a 7404 HEX INVERTER. This inverted input will be given to the port A of micro controller at 37, 38, 39 and 40 pins which are PA3, PA2, PA1 and PA0 respectively. The micro controller is programmed to give output at port D, to control the device driver.

FLOWCHART

You might also like