1 System Principle and Design
1.1 Detection Principle
At present, there are two common types of mice, wheel type and photoelectric type. The wheel type mouse relies on the transmission of the wheel to drive the decoding wheels on the X and Y axes to rotate to sense the change of mouse displacement; the photoelectric mouse uses a photoelectric sensor with its own light source. The core of the photoelectric mouse, DSP, identifies the direction and displacement of movement by comparing the differences between these snapshots.
The wireless mouse based on MEMS technology uses a micro-acceleration sensor to measure the acceleration of the mouse movement in real time, which is converted into a displacement signal after two integrations and transmitted to the host to control the movement of the cursor, thereby realizing the function of the mouse.
1.2 Hardware Design
As shown in FIG1 , the entire wireless mouse system is divided into two subsystems, the remote subsystem and the host subsystem.
Figure 1 Wireless mouse system structure diagram
The remote subsystem consists of a micro-accelerometer, a microcontroller and an nRF2401 radio frequency transceiver. The micro-accelerometer uses the ADXL203 microsensor produced by the American AD company, and the microcontroller uses the ATmega 16L microcontroller produced by Atmel. The microcontroller is equipped with an 8-channel 10-bit programmable A/D conversion circuit, which can convert the acceleration analog signal output by the ADXL203 acceleration sensor into an acceleration digital signal in real time.
The output voltage of the ADXL203 accelerometer is 2.5V when the acceleration is 0. To improve the accuracy of A/D conversion, this paper uses the built-in differential amplifier function of ATmega 16L to filter out the 2.5V voltage with the differential signal, and amplifies the differential voltage signal to match the reference voltage of A/D conversion. The system is powered by a 9V battery commonly used in electrical appliances, and a LM78M05 voltage regulator is connected to obtain a constant 5V voltage for use by each module.
The host terminal system consists of an nRF2401 RF transceiver, a serial transmission interface chip and another ATmega 16L microcontroller. The RS232 serial communication interface chip uses the MAX233 chip from Maxim2IC, which converts the 5V TTL/CMOS level output by the microcontroller into the EIA/TIA-232-E level for serial (RS232) communication with the computer host.
1.3 Software and Algorithm Design
When the mouse moves under human control, the micro-acceleration sensor will output the acceleration and direction of the mouse movement in real time. The range of the ADXL203 sensor is ±1.7gn, and the voltage sensitivity is 1000mV/gn. After the voltage signal is differentially amplified by 5.0/1.7 times, it is converted into a digital signal corresponding to the acceleration through the microcontroller A/D conversion function. After two integrations, the acceleration becomes the displacement signal of the mouse movement, and then it is encoded and transmitted through the nRF2401 RF transceiver.
When the output voltage of the acceleration sensor is a, the digital value obtained by A/D conversion is
Previous article:CAN bus tilt sensor engineering machinery application
Next article:Wireless mouse solution based on micro-electromechanical system
Recommended ReadingLatest update time:2024-11-16 15:41
- Popular Resources
- Popular amplifiers
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Ek314 How to upgrade Ubuntu 12.04 to 14.04?
- Embedded SBC plays AI reasoning
- dsp28335 SCI Summary
- Why are PCBs mostly green?
- Class AB amplifiers are replaced by Class D amplifiers
- What kind of operation circuit is U2?
- Those who want to learn ROS system should read this (video teaching materials are updated continuously...)
- A large number of books have been released after graduation, including C/C++, Linux, algorithms, and other books. They are on sale now. Only 3 days left
- IWR1642Boost people counting DEMO program operation process
- I would like to ask the experts to introduce the generation of 2HZ in detail. Now the buzzer circuit 2HZ does not work! ! ! ! ! !