Summary of Head-Controlled Keyboard And Mouse For Disabled, using AVR and ATMega32 microcontroller
This article describes "Easy Input," a head-controlled assistive device for paralyzed users built on an AVR ATMega32 microcontroller. It utilizes Freescale MMA6560Q accelerometers to track head tilt for mouse movement and photodiodes to detect eye blinks for clicking. The system processes sensor data locally, transmits it wirelessly to a receiver, and sends commands to a computer via PS/2-to-USB. It features distinct mouse and keyboard modes, with a specific logic requiring ten consecutive blink signals to prevent accidental clicks.
Parts used in the Easy Input Project:
- AVR ATMega32 microcontroller
- Freescale MMA6560Q accelerometers
- Photodiode
- A/D converter
- Wireless transmitter module
- Wireless receiver module
- Ground microcontroller
- USART interface
- PS/2-to-USB cable
Easy Input is a head-controlled keyboard and mouse input device for paralyzed users. The system is built based on AVR ATMega32. It uses user’s head movement to control mouse movement on the monitor and user’s eye blinking to activate mouse click. Two main sensor used for this project are Freescale MMA6560Q accelerometers to detect head tilt and photodiode to detect user’s eye blinking.
Sensor outputs are sent to microcontroller ATmega32 via A/D converter. After processed by MCU, the data is transmitted remotely using wireless protocol. On the other side, a wireless receiver collects all the correct information through id filtering and then sends signals to a ground microcontroller through USART for interpretation process. After interpreted, mouse or keyboard instructions are sent to the computer via PS/2-to-USB cable.
The system has two operation modes: mouse mode and keyboard mode. When it is in mouse mode, the X and Y movements are directly mapped to the movement of mouse. The more your head tilts, the faster the mouse moves. When the user blinks, the mouse clicks. To distinguish between the unintentional blink and intentional blink, the program has to receive 10 consecutive blink packets from the transmitter to actually send a mouse click signal to the computer.
For more detail: Head-Controlled Keyboard And Mouse For Disabled, using AVR and ATMega32 microcontroller
-
What is the primary function of the Easy Input system?
It serves as a head-controlled keyboard and mouse input device specifically designed for paralyzed users. -
How does the system detect head movements?
The system uses Freescale MMA6560Q accelerometers to detect head tilt. -
What component is used to detect user eye blinking?
A photodiode is used to detect the user's eye blinking. -
How is the processed data transmitted from the user to the computer?
Data is transmitted remotely using a wireless protocol after processing by the microcontroller. -
How does the system distinguish between intentional and unintentional blinks?
The program requires receiving 10 consecutive blink packets before sending a mouse click signal. -
What happens when the user tilts their head more while in mouse mode?
The faster the mouse moves on the monitor as the head tilt increases. -
How are instructions finally sent to the computer?
Instructions are sent to the computer via a PS/2-to-USB cable after interpretation.






