📜 ⬆️ ⬇️

Mouse clicker

- Do you have a script that clicks on the “add” button two thousand times? - our testing engineer asked me.
“No ...” I said, “but we'll think of something.”

Writing a script is somehow boring and unsporting. So I decided to make a mouse. But not simple, but pumped:



The idea was simple: take an unnecessary mouse button (ours had a swinging wheel) and hang a click generator on it. He pressed the button - and sit click, quickly and in the neighborhood nobody is annoyed by the constant click of “clats-clats”.
For Ponte, and, as you know, a good Pont is more expensive than money, I wanted to stick an indicator to this mouse as well.
')
So let's get started. We will need:


We disassemble the mouse, we collect on the breadboard a typical “dynamic indication” (what a clever word):

Red color indicates changes on the mouse board. The nominal values ​​are taken from the baldies, the resistors R11-R16 are thrown out because "and so it will come down." Transistors can take almost any, for example, on the breadboard, I had BS170.

Here it is, layout:

Indication is very simple, if you do not believe it - see leds.c. However, to translate a binary number into its display on seven LEDs, we need a primitive character generator.
Note to the hostess: in order not to think every time “and what bit should we put on which leg?” You can use such a sign
picture


So, the layout seems to work, you can turn on the soldering iron.
We cut off the legs of the indicator, they are no longer needed. Solder current-limiting resistors and VT2-VT6 keys directly to what is left:


And then to them - the wires. Be careful, contact pads fall off from SMD-resistors at the slightest careless movement. To avoid this, it is better to immediately epoxy or hot melt. And at the same time insert into the side wall of the mouse:


Slightly modify the mouse board (see diagram above):


Solder the controller , and flash:

Sources can be found here . And the binary is right here .

Trial run:


Now you just have to write an article on Habr, and gently fill the hole with epoxy from the outside (to give the epoxy a black color, any black powder will suit, for example, a crushed tablet of activated carbon):

This is the final version.
Some sites they can "call out" to death, so be careful :)

Thank you all for your attention. Source codes, if you need them, can be downloaded at githabe .

Source: https://habr.com/ru/post/148248/


All Articles