Cellphone-Based Device Control With Voice Acknowledgement

Not rated 11,142

Cellphone-Based Device Control With Voice Acknowledgement
Cellphone-Based Device Control With Voice Acknowledgement

A circuit that allows for the operation of home appliances such as lights and water pumps from a remote location, such as an office. This system enables users to turn off appliances with their cellphones if they forget to do so before leaving. The cellphone functions as a remote control for the home appliances, allowing control of the desired appliance by pressing the corresponding key. The system also provides voice acknowledgment of the appliance status. The circuit for cellphone-based device control with voice acknowledgment consists of a microcontroller AT89C51, a DTMF decoder MT8870, a voice recording/playback device APR9600, and several discrete components. The microcontroller AT89C51 is the core of the circuit, characterized as a low-power, high-performance 8-bit microcontroller featuring 4 kB of flash programmable and erasable read-only memory (PEROM) for on-chip program memory, 128 bytes of RAM for internal data memory, and 32 individually programmable input/output (I/O) lines organized into four 8-bit ports. It also includes two 16-bit programmable timers/counters, a five-vector two-level interrupt architecture, and on-chip oscillator and clock circuitry. A 11.0592 MHz crystal (XTAL1) is utilized to provide the basic clock frequency for the microcontroller. Capacitor C3 and resistor R3 form the power-on reset circuit, while push-to-on switch S20 is employed for manual reset. Port pins P1.0 through P1.7 of the microcontroller are configured to receive input from push-to-on switches S1 through S8, with pins of Port P1 being pulled high via resistor network RNW1. Port pins P2.0 through P2.4 are designated to receive the decoded DTMF signal from the DTMF receiver MT8870. The functions of the corresponding switches (S1 through S8) and cellphone keys are detailed in Table I. The DTMF decoder decodes the mobile signal, receiving DTMF tones from the mobile headset's speaker pins and converting them into a 4-bit digital signal. It operates with a 3.579 MHz crystal (XTAL2). In the DTMF receiver MT8870 (IC3), capacitor C12 filters noise, while resistors R6 and R7 amplify the input signal using the internal amplifier. Pin 16 of IC3, connected to resistor R5, provides an early steering output that goes high when the digital algorithm detects a valid tone pair. Any momentary loss of signal condition causes ESt to return to a low state. Pin 17 of IC3, connected to capacitor C11, serves as a bidirectional steering input/guard time output. A steering logic VTSt detected at St results in the registration of the detected tone pair, while the guard time output resets the external steering time constant. Port P3 pins P3.6 and P3.7 of IC1 are configured to select the control source for the devices, connected to DIP switches S17 and S18, and pulled high via resistors R2 and R1, respectively. Two control sources, switches and mobile keys, are utilized. DIP switches S17 and S18 are used to select the control sources, as shown in Table II. Pin P2.5 is configured to indicate the rest status; if neither control source is selected, LED1 glows, with resistor R14 limiting current through LED1. Voice acknowledgment is facilitated by the APR9600 (IC2), a single-chip voice recording and playback device capable of recording and playing multiple messages for 60 seconds. The user can choose sample rates that correspond to quality recording lengths. Features of the APR9600 include a microphone amplifier, automatic gain control (AGC) circuits, an internal anti-aliasing filter, an internal output amplifier, and message management. The APR9600 is configured in random-access mode, supporting two, four, and eight messages of fixed durations.

The described circuit is designed to enhance the convenience and efficiency of home appliance control through remote access. The microcontroller AT89C51 serves as the central processing unit, executing commands received from the cellphone interface. The DTMF decoder MT8870 plays a crucial role in interpreting the signals sent from the cellphone, converting them into a format that the microcontroller can process. The integration of voice acknowledgment via the APR9600 enhances user experience by providing immediate feedback regarding the status of the appliances.

The circuit's design incorporates various safety and operational features, such as the power-on reset circuit and manual reset switch, ensuring reliable performance. The use of discrete components, including resistors and capacitors, supports signal integrity and noise reduction, which are critical in maintaining the functionality of the DTMF decoder and the overall circuit. The configuration of input ports allows for multiple control methods, providing flexibility in appliance management.

In conclusion, this circuit exemplifies the integration of modern communication technology with traditional home appliance control, offering a user-friendly solution for managing household devices remotely. The combination of a robust microcontroller, effective DTMF decoding, and voice acknowledgment creates a comprehensive system that caters to the needs of users seeking convenience and control over their home environments.A circuit that lets you operate your home appliances like lights and water pump from your office or any other remote place. So if you forgot to switch off the lights or other appliances while going out, it helps you to turn off the appliance with your cellphone.

Your cellphone works as the remote control for your home appliances. You can c ontrol the desired appliance by pressing the corresponding key. The system also gives you voice acknowledgement of the appliance status. Fig. 1 shows the circuit for cellphone based device control with voice acknowledgement. It comprises microcontroller AT89C51, DTMF decoder MT8870, voice recording/playback device APR9600 and a few discrete components. Microcontroller AT89C51 is at the heart of the circuit. It is a low-power, high-performance, 8-bit microcontroller with 4 kB of flash programmable and erasable read-only memory (PEROM) used as on-chip program memory, 128 bytes of RAM used as internal data memory, 32 individually programmable input/output (I/O) lines divided into four 8-bit ports, two 16-bit programmable timers/counters, a five-vector two-level interrupt architecture, on-chip oscillator and clock circuitry.

A 11. 0592MHz crystal (XTAL1) is used to provide basic clock frequency for the microcontroller. Capacitor C3 and resistor R3 form the power-on reset circuit, while push-to-on switch S20 is used for manual reset. Port pins P1. 0 through P1. 7 of the microcontroller are configured to get the input from push-to-on switches S1 through S8. Pins of Port P1 are pulled high via resistor network RNW1. Port pins P2. 0 through P2. 4 are configured to receive the decoded DTMF signal from DTMF receiver MT8870. The functions of the corresponding switches (S1 through S8) and cellphone keys are shown in Table I. The DTMF decoder is used for decoding the mobile signal. It gets DTMF tone from the mobile headset`s speaker pins and decodes it into 4-bit digital signal. The DTMF decoder is operated with a 3. 579MHz crystal (XTAL2 ) In DTMF receiver MT8870 (IC3), capacitor C12 is used to filter the noise and resistors R6 and R7 help to amplify the input signal using the internal amplifier.

Pin 16 of IC3 connected to resistor R5 provides the early steering output. It goes high immediately when the digital algorithm detects a valid tone pair (signal condition). Any momentary loss of signal condition causes ESt to return to low state. Pin 17 of IC3 connected to capacitor C11 is bidirectional, acting as steering input/guard time output (St/GT). A steering logic VTSt detected at St causes the device to register the detected tone pair. The guard time output resets the external steering time constant, and its state is a function of ESt and the voltage at St.

Port P3 pins P3. 6 and P3. 7 of IC1 are configured to select the control source for the devices. These are connected to DIP switches S17 and S18 and pulled high via resistors R2 and R1, respectively. Here, we are using two control sources, switches and mobile`s key. DIP switches S17 and S18 select the control sources as shown in Table II. Pin 2. 5 of Port P2 is configured to show the rest status. That is, if none of the control sources is selected by DIP switches S17 and S18, LED1 glows. Resistor R14 limits the current through LED1. Voice acknowledgement is provided by the APR9600 (IC2). It is a single-chip voice recording and playback device that can record and play multiple messages at random or in sequential mode for 60 seconds.

The user can select sample rates with corresponding quality recording lengths. Microphone amplifier, automatic gain control (AGC) circuits, internal anti aliasing filter, internal output amplifier and message management are some of the features of the APR9600. Here the APR9600 is configured in random-access mode, which supports two, four and eight messages of fixed durations.

The length of each message is the total recording length available divided by 🔗 External reference