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

Personal consumer electronics

Development and design of wireless keyboard circuit board


In today's era, with the rapid rise and development of the Internet of Things, wireless communication technology has also become a hot topic in the electronic technology industry. To realize the interconnection and communication between things, the application of wireless communication technology is essential. To adapt to the development of the times, a wireless keyboard based on the NRF24L01 wireless module is designed. This design can realize short-distance communication and data transmission between objects, which is of great help to remote control and speed up the development of the Internet of Things. 


1. Internet of things and wireless communication


The Internet of Things is the Internet of Intelligence. This will be the third wave of the information industry after computers and the Internet. It will become a driving force for new information development. It uses information sensor equipment such as radio frequency identification and infrared induction to connect any goods with the Internet in accordance with an agreed agreement for information exchange and communication, so as to realize intelligent identification and positioning. , monitoring, management. Information exchange is realized through wireless communication technology, so wireless communication technology plays an important role in the realization of the Internet of Things, is an indispensable part, and also requires a higher level of development. We often see standard keyboards for laptops, which are designed to be small and light. It is precisely in this way that the content of the numeric keypad is omitted, which is not very convenient for people who often use numbers, so this wireless keyboard is designed. The display screen of this design is convenient for display, intuitive during demonstration, and easy to adjust during adjustment. It can also be transmitted to the computer through the serial port. This 4×4 wireless keyboard based on NRF24L01 is designed.


2.The hardware design of the wireless keyboard


This design is mainly based on the STC89C52 microcontroller as the core of the processor, the 4X4 matrix keyboard circuit is the data input part, the minimum system of the microcontroller is the total control processor circuit, the NRF24L01 wireless communication circuit is the sending and receiving part of the data, the serial port and the LCD display are the display part , the whole system realizes the overall function of the wireless keyboard system through the coordination and cooperation of four hardware circuit parts and software program parts.


Configure the NRF24L01 on another MCU as the enhanced ShockBurstTM receiving mode, and temporarily store the received data and generate an external interrupt, so that the MCU executes the interrupt service program to obtain the data, and sends a confirmation signal after the acquisition is successful, wireless communication The module returns to the standby state and waits to receive data. The obtained data is then sent to the serial port assistant through the serial port on the microcontroller, and at the same time, the key value is directly displayed on the LCD screen, thus realizing the design of the wireless keyboard. .


This design uses the STC89C52 minimum system as the main processor to control the core. The minimum system of STC89C52 microcontroller includes reset circuit, clock circuit and 5V power supply circuit.


3. Wireless keyboard software design


The software part of this design mainly includes four parts: data input, information processing and sending, information receiving and processing, and data display. The program mainly includes 4×4 matrix keyboard program, data sending program, data receiving program, and data serial display program. Use the keil compilation environment, use C language to write, the data sent by the serial port is displayed on the PC through the serial port assistant software, and realize the data transmission function of the wireless keyboard. The programming adopts a modular programming method, and the programming adopts a modular programming method. Because the design uses two STC89C52 single-chip microcomputers and two NRF24L01 wireless communication modules, the program is also divided into two parts, the sending data part and the receiving data part, and the two parts are divided into two parts. It includes six modules in total. The sending part includes the keyboard input module, the sender’s data transmission and data sending module, and the receiving part includes the data receiving module, the receiver’s data reading and data display module. This programming method can make the program adjustment clearer. Each module is relatively independent and has a single function, ensuring better portability and readability of the program, which is conducive to later adjustment and modification.


Summarize


In the face of the development and changes of the Internet of Things, we must follow the trend of the times, conform to the gradual development of science and technology, have our own ideas and innovations, learn more technical knowledge, understand more cutting-edge products, and serve our own Development plans for the future. In the future, full intelligence is a huge development direction. In order to adapt to this development direction, we designed this wireless keyboard system that will be more widely used. Although the application of wireless technology has gradually accommodated our lives, such as wireless handles, wireless earphones, etc., there are still many more powerful wireless keyboard systems, rich functions have not been developed, but its advancing trend is unstoppable of.


The above is an example of the design and development of a wireless keyboard based on a single-chip microcomputer introduced by Shenzhen Zuchuang Microelectronics Co., Ltd. If you have wireless keyboard circuit board development needs, you can trust us. We represent a variety of single-chip microcomputers, voice chips, dual-mode Bluetooth ICs, and wifi chips. Brands include Songhan MCU, Yingguang MCU, Jerry Bluetooth, Ankai Bluetooth, Allwinner, and Realtek. Our technical services include: PCB design, microcontroller development, Bluetooth solutions, software and hardware custom development, APP development, small program development, WeChat official account development, etc. It can also undertake the design of intelligent electronic products, the development of living appliances, the research and development of beauty equipment, the application of Internet of things platform, the smart home control system, the development of TWS earphones, Bluetooth earphone speakers, the development of children's educational toys, the design of electronic education products, etc.


  • TOP