Home > Applications > Mouse & Keyboard > Wireless Mouse Design Solution Based on 8051 MCU

Wireless Mouse Design Solution Based on 8051 MCU

Published time : 2016-09-14 Mouse computer
With the popularity of consumer computers, the way the mouse works has also made great progress.From the earliest mechanical wheel mouse to the current optical mouse, to the high-end laser mouse.

Solution Introduction

The overview of Wireless mouse design solution

Since its birth in 1968, the mouse has evolved and evolved over the past 40 years. 

With the popularity of consumer computers, the way the mouse works has also made great progress.

From the earliest mechanical wheel mouse to the current optical mouse, to the high-end laser mouse. 

Every change for the mouse brings a sense of pleasure to the user. In addition, as people's requirements for office environment and operational convenience are increasing, the popularity of wireless mice has also been mentioned.

This solution is a single-chip solution with nRF24L01+ transceiver and enhanced 8051 MCU

The functional definition and performance indicators

Rich application peripherals and interfaces
2 Mbps, 1 Mbps and 250 kbps airborne wireless rate
Up to 0 dBm output power

Low cost external +/-60ppm 16MHz crystal oscillator

Components required for the solution:

16MHz Crystal oscillator
Nordic 2.4GHz, Ultra Low Power Transceiver, QFN24
DC-DC regulator IC,
SMT laser DIP sensor
Rotary encoder, TH

The advantages of wireless mouse design solution

The same core, different packages and I/O quantities
-4x4mm 24-pin QFN package (7 general purpose I/O pins)
-5x5mm 32-pin QFN package (15 general purpose I/O pins)
-7x7mm 48-pin QFN package (31 general purpose I/O pins)
Low-cost OTP version

Wireless mouse design solution framework

Wireless mouse design solution


The overview of Wireless mouse 

Wireless mice use wireless technology to communicate with computers, eliminating the need for wires. Usually wireless communication methods, including Bluetooth, Wi-Fi (IEEE 802.11), Infrared (IrDA), ZigBee (IEEE 802.15.4) and other wireless technology standards, but for the current mainstream wireless mouse, only 27Mhz, 2.4G and Bluetooth wireless mouse, a total of three categories.

A wireless mouse is a mouse that is directly connected to the host without a cable. Generally, 27M, 2.4G, and Bluetooth technologies are used to implement wireless communication with the host.

The classification of Wireless mouse 

27Mhz Radio Frequence Wireless mouse

The world's first mouse with 27 MHz RF wireless technology was released by Logitech in 1991, and the industry giant released the first wireless mouse and keyboard set in 1998. At this point, the use of 27 MHz RF wireless technology mouse and keyboard products opened the prelude to enter the market.

27MHz RF refers to a technology using a 27 MHz ISM (Industrial, Scientific, Medical) radio frequency band with an output power < 54dBuV/m. 

There are four global channels in this frequency band,The two one for the wireless keyboard and the other for the wireless mouse.

Because the 27Mhz farthest effective transmission distance is only 6 feet (182.88cm), in order to prevent frequency interference in the case of poor transmission, some of the newer wireless mouse and keyboard products use a dual channel solution. 

For example, the dual-channel wireless keyboard uses both the frequency bands of 27.095Mhz (channel 1) and 27.195Mhz (channel 2), while the early single-channel wireless keyboard uses only the frequency band of 27.095Mhz or 27.195Mhz. 

In the same way, the dual-channel wireless mouse uses the simultaneous use of the frequency of 27.045Mhz (channel 1) and 27.145Mhz (channel 2), while the single-channel wireless mouse uses only the frequency of 27.045Mhz or 27.145Mhz. 

In such a case, the wireless keyboard and the mouse are not only prone to mutual interference, but also  the use of the dual channel signal is less prone to signal "crash".

In addition, because other wireless network devices rarely use 27Mhz frequencies, it is unlikely that such mouse and keyboard products will be interfered with by other wireless devices. 

Although it has the advantages of mature technology, low cost and low risk of interference, the disadvantage of the 27Mhz band is obvious. 

First of all, this type of mouse and keyboard product only supports one-way transmission, that is to say, only the transmitting end of the mouse is allowed to send a signal to the signal receiver and it cannot be "retrograde". 

In addition, the 27MHz technology must work continuously due to the transmission rate, the power consumption is also relatively large. 

The lower wireless security level and the shorter effective transmission distance are the unavoidable disadvantages of the 27Mhz frequency mouse and keyboard products.


2.4Ghz non-networking solution

"2.4Ghz non-networking solution" is also known as 2.4G wireless network technology. 

Its advantage is to solve the shortcomings of 27Mhz power, short transmission distance, and similar products are prone to mutual interference. 

The reason why 2.4G wireless technology is "2.4G" instead of "2.5G"  

Because the frequency used by this technology is 2.4-2.485GHz ISM wireless frequency band, which is free of charge for free use in most countries in the world. The popularity has cleared the biggest obstacles.

Key Components

No. Part Number Manufacturer
1 NRF24L01-T NORDIC
2 NRF24L01+ NORDIC
3 NRF24L01 NORDIC
Welcome to consult the solution and cooperation!
Click here