A Bluetooth trackpad from a resistive touchscreen

touch

If you’ve checked out your favorite online retailer of absurdly inexpensive Chinese electronics, you’ll find a whole bunch of replacement parts. Phone parts are especially common, with high-resolution LCDs available for just a few dollars. There are also a few touchscreen kits – resistive touchscreen digitizers that can easily be read with a microcontroller. [Vinod] got his hands on one of these touchscreen digitizers, and with the help of an 8-pin micocontroller turned it into a Bluetooth trackpad.

The clear plastic touchpad is a relatively simple device. By reading a pair of analog values, it’s easy to find the coordinates of a finger or stylus on the touchpad. [Vinod] programmed an ATtiny13 to read these values and turn them in to x y coordinates, but he needed something useful to do with this data.

By connecting a small bluetooth module to his microcontroller, [Vinod] could send these coordinates to his computer. The result is a homebrew touchpad, able to move a cursor around, left and right click, and emulate a scroll wheel.

22 thoughts on “A Bluetooth trackpad from a resistive touchscreen

    1. having a screen would allow you to toggle between devices or different usages such as rasperry pi remote, laptop (as in video), media remote or keyboard etc.

        1. Taobao, ebay (rly, just search for freeshipping and contact seller for lower prices :P) and pandawil. cheap and good programmer sivava.com and seeedstudio.com is also awesome… :P

  1. something I learned from doing thing a long time ago: division on x,y for scaling resolution with driver or service, multiplication on x,y for using homebrew touchpads with pressure sensors or electrodes…

    1. Okay, let me see if I’m following you on this, [I’ll] need to divide the x.y coordinates for better resolution or multiply them for what? Please explain in a less cryptic manner.
      Thanks

  2. I’m trying to convert the CSR BC4 Chip to do just this, but using BT-HID Profile, if anyone has any references, post it here, thanks.

  3. really cool, liked the bit banged uart code, will have to implement that. Is it easier on the 13 bc of its 9.6 MHz oscillator?

  4. If anybody is looking for these resistive digitizers to have a play with, on ebay, searching for “resistive touch screen digitizer 4 wire” seems to turn up a few around the $10 US mark.

    And this is the best simplified Chinese search I could come up with thanks to google (hope this comes through in the HAD comments…)
    触摸屏数字化仪,电阻
    there is a seller on taobao selling laptop touch-pad sized ones for half a yuan (that’s 8 US cents each), not sure if there is a minimum quantity (it’s often hard to work out if there is a minimum in an taobao advert) – of course, add agent fee, domestic china, and international shipping, still if a hackerspace wanted to get a box full to play with it could be worth it. I used taobaofocus as an agent for a recent box if stuff from a seller there and have no complaints, but make sure you record the price you expect to pay per item in the order, the taobaofocus order process rounds up to the nearest yuan unless you specifically enter in the correct amount.

  5. really interested in this project, could you make it so a 4 wire resistive usb controlled touchscreen for an in-dash monitor can be controlled by bluetooth, sending video to an in-dash monitor from my phone is easy however using its touchscreen is another matter and this would solve that problem

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s