Pololu Wixel User Manual Page 49

  • Download
  • Add to my manuals
  • Print
  • Page
    / 64
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 48
Wireless tilt mouse made with two
Wixels and an accelerometer.
9.h. Wireless Tilt Mouse App
Overview
This app allows you to make a wireless tilt mouse for your
computer. By tilting the mouse, you can control the position of the
mouse cursor. The mouse also supports two buttons for clicking.
This app requires two Wixels: a transmitter and a receiver. The
transmitter Wixel detects a tilt using an accelerometer and
wirelessly transmits that information to the receiver Wixel, which
relays it to the computer as mouse movements. The receiver appears
to the computer as a standard USB Human Interface Device (HID);
after the Wixels have been configured, no driver installation is
necessary to use the mouse.
Parts Needed
There are many different ways to build this project. Here are the parts we used:
Wixel Pair (Fully Assembled) + USB Cable [http://www.pololu.com/catalog/product/1338]
MMA7361L 3-Axis Accelerometer ±1.5/6g [http://www.pololu.com/catalog/product/1246]
3-AAA Battery Holder, Enclosed with Switch [http://www.pololu.com/catalog/product/1147] and 3 AAA batteries
270-Point Breadboard [http://www.pololu.com/catalog/product/350]
Mini Pushbutton Switches [http://www.pololu.com/catalog/product/1400]
You will need wires and connectors to make the electrical connections. We suggest our jumper wire kits
[http://www.pololu.com/catalog/category/29] or premium jumper wires [http://www.pololu.com/catalog/category/65].
You will need a soldering iron [http://www.pololu.com/catalog/category/5] to solder the included header pins into the
accelerometer.
The pushbuttons are optional, and any normally-open (NO) pushbutton or switch will work. If you want to have both
a left mouse button and a right mouse button you should get two pushbuttons. Note that only one button (on P1_2) is
shown in the picture above.
Pinout of Transmitter Wixel
Pin Function
P0_1 analog input for vertical mouse speed
P0_2 analog input for horizontal mouse speed
P1_2 left mouse button input, internally pulled high
P1_7 right mouse button input, internally pulled high
Wixel Configuration
Download the Wireless Tilt Mouse App (v1.0) [http://www.pololu.com/file/download/wireless-tilt-mouse-
v1.0.wxl?file_id=0J470] (26k wxl). Open it with the Wixel Configuration Utility, choose your settings, and write it to
the transmitter Wixel. The transmitter Wixel should now appear to your computer as a USB virtual COM port (with
USB product ID 0x2200). You can not send or receive data on this COM port. Its only purpose is to let the Wixel
Pololu Wixel User's Guide © 2001–2014 Pololu Corporation
9. Wixel Apps Page 49 of 64
Page view 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 63 64

Comments to this Manuals

No comments