Wireless XBee Accelerometer


Posted on Oct 18, 2012

The present document shows step by step how to easily build an interesting pointing device: the wireless tilt mouse, that allows to control the mouse?s cursor on the PC screen through the tilt of the board itself. The analog data from a 3-D accelerometer and from two push-buttons are acquired, converted and radio transmitted by an XBee module using the standard ZigBee protocol. On the receiver side there is another XBee module connected to the PC through an EasyUSB module, that allows both file storing and communication on the same interface and it?s seen by the PC as a common mass storage device. In practice there is no need to install any application on the PC: the software that communicates with the XBee and emulates the mouse functions is resident inside the EasyUSB itself and it is automatically recognized by the PC as an USB drive.


Wireless XBee Accelerometer
Click here to download the full size of the above Circuit.
Wireless XBee Accelerometer - image 1
Click here to download the full size of the above Image.

The accelerometer/transmitter board is powered by AA batteries. Receiver Config - Put the other XBEE module on the RECEIVER socket. Run xbee_config.exe console and press R to configure the XBEE module as RECEIVER. Press ESC to exit. - Copy the tiltmouse.exe program into the USB device. The wireless tilt mouse transmitter and receiver are done! In order to use it, just run the tiltmouse.exe console on the receiver and plug the batteries on the transmitter. The console, other than emulate the mouse?s functions, also prints on the screen the data acquired from each accelerometer?s axis and push buttons. This project aims to be an open source hardware/software platform, which can be used for learning about getting accelerometer?s data, configuring XBee modules and managing custom USB peripherals. All the hardware schematics and well commented software source codes are available on the attached project files. Transmitter Config - Put an XBEE module on the RECEIVER socket and plug the USB cable into the PC. Wait for the automatic installation of the device as a common USB mass storage device. - Copy the xbee_config.exe console into the USB device. Run xbee_config.exe console and press T to configure the XBEE module as TRANSMITTER. Press ESC to exit. - Take off the XBEE module from the RECEIVER socket and place it into the TRANSMITTER socket. In order to design a fast and easy-to-build platform,...




Leave Comment

characters left:

New Circuits

.

 


Popular Circuits

Lead Acid Battery Charger with LED indicator
Stereo balancer
Atv Downconverter Circuit
AVANT Power Supply circuit
555 Timer as Monostable Multivibrator
high input voltage regulators using lm340
the design of the walkie cardiotachometer of MSP430
touch switch circuit using 555 ic
Detecting an ultrasonic beacon
INA326 327 a single power PID Proportional - Integral - Derivative temperature control loop circuit
555 capacitance frequency transistor-line detector



Top