Home > Other > Circuit design of mobile phone anti-theft alarm system using C8051F330 - alarm circuit diagram | alarm circuit diagram

Circuit design of mobile phone anti-theft alarm system using C8051F330 - alarm circuit diagram | alarm circuit diagram

Source: InternetPublisher:newrudeman Updated: 2020/06/27

  This article designs a mobile phone anti-theft alarm system using the fully integrated mixed-signal system-on-chip (MCU) C8051F330 and the wireless transceiver CC2500. The alarm system uses radio frequency transceivers to achieve short-range information transmission. The mobile phone anti-theft alarm system uses the highly integrated C8051F330 device and the RF communication device CC2500 to realize real-time communication between the mobile phone and the user, effectively preventing the loss and theft of the mobile phone. Since the system uses C805lF330 and CC2500 as core devices, it has a simple structure, stable performance, small size and low cost. It has been successfully used for anti-theft alarms on mobile phones, and the effect is very good.

  System hardware design

  The hardware design of this system is mainly used to realize RF communication between C8051F330 and CC2500. Since C805lF330 integrates a high-precision clock source, its internal 64 KB Flash is sufficient for system use. Therefore, when designing the oscillation circuit and storage circuit, there is no need to expand, only the power supply circuit, CC2500 communication circuit, and reset circuit are designed. This allows the system hardware design circuit structure to be simple, highly integrated, and reliable. Figure 2 shows the system hardware design schematic diagram. In order to improve the communication speed and reliability of the system design, CC2500 can be used to enable the system to achieve SPI communication with the C8051F330 through the RF communication module VW2500. VW2500 and C805lF300 are powered separately through R3 to reduce the interference of radio frequency signals to the MCU and ensure reliable operation of the system.

  Circuit design of mobile phone anti-theft alarm system using C8051F330

  Short-distance wireless transmission has the advantages of strong anti-interference performance, high reliability, good security, few restrictions on geographical conditions, and flexible installation. It has broad application prospects in many fields. Low power consumption and miniaturization are the actual needs of users for current wireless communication products, especially portable products. Short-distance wireless communication has gradually attracted widespread attention. Common short-distance wireless communications include 802.11-based wireless LAN WLAN, Bluetooth (blueTooth), HomeRF and Europe's HiperLAN (high-performance wireless LAN). However, their hardware design, interface methods, communication protocols and software stacks are complex and require specialized The development system has high development costs and long cycle, and the final product cost is also high. Therefore these technologies are not widely used in embedded systems. Ordinary RF products do not have these problems, and the short-range wireless data transmission technology is mature, simple in function, and easy to carry, making it widely used in embedded short-range wireless products.

  Design of clock circuit and reset circuit of microcontroller

  In the design of the microcontroller clock circuit, the crystal oscillator frequency is selected to be 11.059 2 MHz, the communication rate between the PC and the microcontroller is agreed to be 9600 b/s, and the corresponding capacitor is selected to be connected to the clock pin of the microcontroller to form a clock loop. In the reset circuit design, the reset pin and the corresponding capacitor and resistor are used to form the reset circuit. The principle circuit of the interface between the microcontroller and PTR2000 is shown in Figure 2.

  Circuit design of short range wireless communication system based on AT89C52 microcontroller

  In Figure 2, the AT89C52 microcontroller mainly completes data collection and processing, sends data to the PTR2000 module, and receives data transmitted by the PC through the PTR2000. The PTR2000 module connected to the microcontroller mainly modulates the data to be transmitted by the microcontroller into a radio frequency signal, and then sends it to the PTR2000 module on the PC side. At the same time, it receives the radio frequency signal transmitted by the PTR2000 module on the PC side, and modulates it into a TTL signal that the microcontroller can recognize and sends it to Microcontroller. The RXD and TXD pins of the microcontroller are connected to the DO and DI pins of the PTR2000 respectively to realize serial data transmission; the three pins TXEN, CS, and PWR, which determine the working mode of the PTR2000 module, are respectively connected to the P2 of the I/O control port of the microcontroller. 0~P2.2 are connected. When PTR2000 is working, its working mode is controlled in real time by the operation control program in the microcontroller.

  Design of interface circuit between PC and PTR2000

  The interface circuit design first requires level conversion. The serial port of the PC supports the RS-232 standard, while the PTR2000 module supports the TTL level. The MAX232 device is selected for level conversion between the two. The interface circuit is shown in Figure 3. The PTR2000 module performs serial input and output, and the pins DI and DO are connected to the PC serial port through level conversion devices; the PTR2000's low-power control pins. PWR is connected to high level VCC, that is, PTR2000 is fixed to work in the normal working state; channel selection pin CS is connected to GND low level, that is, fixed communication channel 1 is used, fixed to work at 433.92 MHz; the RTS signal of the PC serial port controls TXEN pin to determine when the PTR2000 module is receiving and transmitting. The transmission rate of PC and serial port is set to 9600 b/s, which is consistent with the microcontroller.

  Circuit design of short range wireless communication system based on AT89C52 microcontroller

  The design of the microcontroller wireless communication system is based on the PTR2000 wireless data transmission solution, which can achieve short-distance communication of less than 300 m. It has been verified through experiments that the wireless data transmission system operates well and the microcontroller control is quite accurate. When applying, the system can be easily transplanted as a module to build a more complex wireless communication network. It can be used in small wireless networks, wireless meter reading, community paging, industrial data collection systems, safety and fire prevention systems and other fields. It has certain Practical value.

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号