Introduction to the design method of PIC microcontroller low power consumption system

Publisher:RadiantEnergyLatest update time:2019-12-25 Source: elecfans Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

③Interrupt request circuit. In order to extend the battery working time, the CPU is in a power-saving dormant state when in standby mode. When the remote telephone and local machine control the controller function, the CPU is awakened by the interrupt request circuit.


(2) Voice circuit

The voice circuit is shown in Figure 5. It takes the ISD4000 voice chip as its core, mainly stores the alarm voice, and transmits the output to the telephone line after power amplification.

(3) Interface circuit between MT8880 and PIC microcontroller

MT8880 is a DTMF transceiver from Mitel. It has the advantages of powerful functions, low power consumption, stable operation and reliability, so it has been widely used in DTMF signal modulation occasions. The interface circuit between MT8880 and PIC microcontroller is shown in Figure 6.


①Interface circuit between MT8880 and MCU. D0~D3 are 4 data lines. MT8880 demodulates the pre-processed DTMF signal, stores the demodulated signal in the on-chip register, and sends an interrupt signal to the MCU through IRQ. After the MCU responds to the interrupt request, it reads the demodulated data through D0~D3 under the control of R, W, RS0, and RD.

②DTMF signal amplification circuit. When the microprocessor writes the DTMF data to be sent into the corresponding register of MT8880, MT8880 sends out the DTMF signal from the TONE pin. After the signal is amplified by the amplifier circuit, it is sent to the transformer for voltage change.


3 Programming

When the program is running: ① is the electrical controller. If the remote phone operates the controller, it is judged according to the number of ringing tones of the phone; if the local phone operates the controller, it is judged according to the off-hook situation of the local phone. ② is the alarm. The alarm probe detects the alarm at any time and sends a signal to the controller. The controller determines whether to pull out the alarm phone according to the user's settings, whether it is in alert or not. Figure 7 is the program flow chart.


The following mainly introduces the initialization procedure, MT8880 setting subroutine and DTMF signal sending and receiving subroutine.

; Initialize registers

F0 EQU 0H

RTCCEQU 01H

PC EQU 02H

STATUS EQU 03H

FSR EQU 04H

RA EQU 05H

RB EQU 06H

RC EQU 07H

RD EQU 08H

RE EQU 09H

TRISAEQU 85H

TRISB EQU 86H

[1] [2]
Reference address:Introduction to the design method of PIC microcontroller low power consumption system

Previous article:Design of driving 24X24 dot matrix screen with PIC16F877A microcontroller
Next article:How to select memory bank 0 or 1 for PIC microcontroller

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号