Shenzhen ZTRON Microelectronics Co., Ltd
Telephone
0755-8299 4126

smart home

Wireless Doorbell Solution


With the increasing popularity of smart homes, the public has higher requirements for wireless control technology. The wireless music doorbell system designed by our company based on 51 single-chip microcomputer is an intelligent doorbell system with stable operation, high reliability and convenient installation and use. The transmitting circuit of the system is composed of quartz crystal frequency stabilization technology and pulse code modulation transmitting technology. The receiving circuit is composed of super regenerative wireless data receiving module, shaping, amplification, demodulation, sound and other circuits. It has long transmission distance, strong performance, Compared with traditional wired doorbells, it has its own unique advantages due to its low power consumption.


1. Wireless music doorbell and microcontroller


In recent years, affected by the development of science and technology and social and economic progress, the public has shown higher requirements for the living environment. Residential intelligence is getting more and more attention from the whole society. As a reminder device commonly used in home life, the doorbell system can be divided into two types: wired doorbell and wireless doorbell. Traditional wired doorbells require wiring during installation, which will affect the aesthetics of the residence and directly increase the difficulty of residential decoration. Compared with the traditional wired doorbell, the wireless electronic doorbell system has the characteristics of simple installation, convenient use and strong system compactness, and occupies an important position in the electronic devices that make up the modern intelligent home system. The wireless music doorbell system can remind the owner of a visitor by playing music. The music playing part of the wired doorbell is relatively close to the doorbell button. When the owner of the house is far away from the doorbell, it is easy to hear the sound of the doorbell and cannot receive visitors in time, which affects normal life. The button and receiving end circuit of the wireless music doorbell system can be installed separately, and the installation location of the receiving circuit is determined according to factors such as the user's residential area and their own needs. In addition, it also has the function of installing multiple receivers at the same time, which can completely solve the distance problem.


Under the current situation, computer technology and microelectronic technology have been widely used in people's daily life. Single-chip microcomputers are gradually being known by people. Single-chip microcomputer is also called "microcontroller", "embedded microcontroller" and "single-chip microcomputer", which is suitable for many fields including the control field. The single-chip microcomputer is mainly composed of a central processing unit, a read-only memory ROM, a volatile random access memory RAM, and an I/O interface circuit. With the characteristics of low cost, powerful performance, and compact size, it is widely used in industrial automation, intelligent industry and other fields. Among the current single-chip microcomputer series, the 51 series single-chip microcomputer is the most representative and is a more typical one. The combination of various technological products and single-chip microcomputers can promote the process of product upgrading and upgrade the level of product intelligence. For example, smart washing machines, smart color TVs, smart refrigerators, smart doorbells, etc. The installation of traditional doorbells is more troublesome. The installation and wiring will affect the aesthetics of the house and the number of music is small and the type is single. The intelligent wireless music doorbell system is exquisite in design, easy to install, and highly convenient to use, without affecting the aesthetics of the house. The signal transmission distance of the wireless music doorbell system is longer, and multiple signal receiving terminals can be installed at the same time, so as to avoid the phenomenon that the owner cannot hear the sound of the doorbell and miss the reception of visitors. In addition, the wireless music doorbell system includes richer music types, which can effectively meet the needs of various residential buildings.


深圳无线门铃方案开发

2. Design of wireless music doorbell based on 51 MCU


1. The overall design of the wireless doorbell


This system design is aimed at a wireless music doorbell with complete functions. The system function requirements are as follows: (1) It is required to have a longer wireless transmission distance, and the signal transmission distance can reach at least 10m to meet the requirements of wall penetration. (2) The system includes richer ring tones, providing 5 songs that can be switched, and the song is switched every time the doorbell is pressed. (3) The installation of the product is simpler, the design is more delicate, and the use is more convenient. (4) The running state of the infinite music doorbell system is more stable, effectively eliminating false alarms.


Press the client button, the signal is encoded by the encoding chip and then sent by the DF data sending module, the super regenerative receiving module of the host is responsible for receiving the signal, calls the decoding chip to decode the received signal, and then sends it to the center of the 51 single-chip microcomputer processor, which in turn controls the sound system. If you need to stop sounding, just press the reset button of the single chip microcomputer to switch the doorbell to the initial state. The entire design scheme meets the design requirements through simulation tests, and enters the actual manufacturing process after meeting the expected design effects.


2. Hardware design scheme of wireless doorbell


As the main control chip used in this design to control the entire wireless music doorbell system, the 51 single-chip microcomputer has a relatively low price and high procurement convenience. The external components of the 51 single-chip microcomputer include wireless sending and wireless receiving modules, sounding circuits, power supply circuits, reset circuits and clock circuits. The programming control of the wireless music doorbell system is realized by using a single-chip microcomputer, and at the same time, the system upgrade goal can be achieved by modifying the program.


In this system design, the stable USB 5V DC power supply is selected as the power supply for the system, combined with the external reset circuit and clock circuit of the microcontroller to form the system, which fundamentally ensures the compactness of the system. When designing the circuit for the wireless music doorbell system, it is considered that the audio vibration produces sound, and the vibration frequency of the audio directly determines the pitch of the sound. High frequency produces treble, and low frequency produces low tone. Therefore, the speaker is driven by digital pulse signal in digital circuit. Vibration produces sound. When designing this scheme, use relevant programs to generate frequency, and then transmit it to the I/O port connected to the speaker drive circuit, and finally generate sound through the speaker. Use the corresponding software to control the level of the audio vibration frequency to produce different tones, combined with the delay function to produce various beats.


The wireless transmission module needs to have the characteristics of low price, low power consumption, address recognition function, real-time encoding and decoding of data, and is widely used in wireless transmission circuits. In addition to the encoding chip, the wireless data transmission module is another important part of the transmission circuit. It is responsible for decoding the received wireless signal, and usually needs to be used in conjunction with an encoding chip. During the operation of the system, the encoding chip will confirm the remote control signal and decode the received wireless data only when it detects that the address code of the transmitting part is the same as its own address code twice in a row. Specifically, the output terminal corresponding to "1" is set to a high level and the high level output is performed through the VT terminal.


3. System software design and implementation of wireless doorbell


When designing the programs and software included in the wireless music doorbell system, the principle of modular development is adhered to, and a top-down design sequence is adopted. First, initialize all the ports of the system, and then run the loop part. When it detects that the key is pressed, the system enters the shaking program. Detect that the confirmation button is pressed, then confirm the remote control signal and then run the music player program. After the first music set in the system is played, the system enters the waiting state again, waiting for the button to be pressed. When it is detected that the button is pressed for the second time, the system runs the anti-shake program again, and if it is confirmed that the button is pressed again, it starts to run the music player program and plays the second music set by the system until the playback is completed, and the system runs as a whole status and so on. When it is detected that the reset button is pressed, the single-chip microcomputer runs the reset program, and the speaker stops playing music. Detecting that the button is pressed again, the MCU restarts the program and plays the first music set by the system. After the system design scheme is completed, the simulation test is carried out first. After the experiment is completed, it is determined that the system operation status meets the standard. After the preset function is realized, the perforated plate is used to weld the real object. After the physical manufacturing is completed and the debugging is successful, the data transmission distance is tested. The data transmission distance is directly affected by the length of the antenna. If you want to increase the transmission distance, you need to extend the length of the antenna. After the simulation test and physical test, the design is easy to install, easy to use and shows high compactness, which has practical value.


With the development of the times and social and economic progress, the public has higher requirements for their own living environment, and the intelligentization of residential buildings has gradually attracted widespread attention from the society, especially for large-scale residential buildings. A lot of inconvenience. Traditional wired doorbell wiring will affect the appearance of the house and increase the difficulty of decoration. In order to solve such problems, various wireless doorbells have begun to enter the daily life of the public and their own advantages have gradually become prominent. This article introduces the wireless doorbell system based on the design and development of 51 single-chip microcomputer, and expects to provide help for the further development of wireless doorbell technology and the improvement of user experience.


The above are the details of the wireless smart doorbell solution introduced by Shenzhen Zuchuang Microelectronics Co., Ltd. for you. If you have the electronic function development needs of infrared sensor wireless doorbell, you can rest assured to entrust it to us. We have rich experience in custom development of electronic products, and can evaluate the development cycle and IC price as soon as possible, and can also calculate the PCBA quotation. We are a number of chip agents at home and abroad, including MCU, voice IC, Bluetooth IC and modules, wifi modules. Our development capabilities cover PCB design, single-chip microcomputer development, software custom development, APP custom development, WeChat official account development and other hardware and software design. It can also undertake the research and development of smart electronic products, household appliances scheme design, beauty equipment development, Internet of Things application development, smart home scheme design, TWS scheme development, Bluetooth audio development, children's toy scheme development, and electronic education product development.

  • TOP