µ[micro]electronics info

A weblog focused on interesting circuits, ideas, schematics and other information about microelectronics and microcontrollers.




Because I have not tested all electronic circuits mentioned on this pages, I cannot attest to their accuracy; therefore, I do not provide a warranty of any kind and cannot be held responsible in any manner.

My e-mail

My website

Accelerometer Based Mouse

This article shows how to use an use an accelerometer as a mouse. The project uses a MEMS X/Y accelerometer, a PIC microcontroller and a old mouse. It also describes a trick for powering the new mouse with the unused RS232 serial control lines.

This project demonstrates the use of a accelerometer as a computer mouse. The accelerometer used in this project is MMA6270 manufactured by Freescale Semiconductor. It has two sensors inside the chip, each facing at 90 degrees to each other providing the X and Y axis. When the mouse is completely horizontal bough X and Y have 0G applied to them, but when we tilt the mouse the gravitational pull starts to cause force on the axis. But we wanted to move the mouse cursor using this. So we put on a PIC microcontroller, connect all the outputs to the ADCs and send the data over to the PC.

Via uC Hobby

Powered by Drupal - Design by Artinet