DIY BT mouse using resistive touch screen

Posted on Tuesday, January 15th, 2013 in AVR, DIY by the machinegeek

Vinod S acquired some resistive touchpads and decided to interface one with a Bluetooth module so it would function as a wireless computer mouse. He explains, “I have used a cheap ATtiny13 (8 pin) microcontroller which runs at internal 9.6MHz clock. It samples two channel analog voltage from the touchpad. One of the GPIO pin is configured as a software UART TX (bit banging) which will stream the mouse data at a baudrate of 115200 to a PC via Bluetooth (HC_05 Bluetooth module). Apart from the mouse cursor movement, I have implemented left click, right click and wheels on the same touch screen. A Python script running on the PC will accepts the mouse data and it will process the data and apply a smoothing filter to make the cursor movement more efficient. Right now I did the code for Linux but will be easily portable by small modification in the Python code.”

Vinod shares the design schematic and code for the MCU (C) and PC side (Python) on his Electronics – the king of hobbies blog.

Via the contact form.

This entry was posted on Tuesday, January 15th, 2013 at 4:15 am and is filed under AVR, DIY. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses to “DIY BT mouse using resistive touch screen”

  1. rohit says:

    cool hack….

  2. smith says:

    nice work…. can be called as a ‘hack’…

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Drone: Gee, just the sight of one of these HP493A TWT laboratory amps brings back decades-old memories. There are four models covering 1-12.4 GHz in steps...
  • KH: After reading all the comments, I have questions: Does this mean STM32 and AVR boards/parts from dodgy online sellers are suspect? What are your opinions?...
  • Sjaak: They are available with more flash then their ST counterparts which makes them more interesting. You don't have to port the code, but use another...
  • Sjaak: I dunno if you can 'license' register definitions, but I'm not a lawyer. Since the chip is available since 2015 and I haven't heard of...
  • Sjaak: They can be found on taobao or the Chinese markets in Shenzhen.