12/24/2023 0 Comments Mouse mover![]() The controller accepts serial commands to perform various functions and report current settings. For any LED, be sure to observe the polarity of the LED – The cathode end goes to pin A3 and the anode goes to the resistor and VCC. Using this type of LED simplifies connection to the module – Just solder the two leads of the LED to the two pins indicated. There are also LED’s available with a built in resistor, such as Lumex SSL-LX3044GD-5V (Digikey 67-1062-ND) that are designed to run directly from the 5V supplied by the module. The resistor shown is a 330 ohm 1/4W part, but any resistance from about 100 ohms to 1K would be usable, depending on the LED used. While not required, it is handy to have this indicator so that you know if the MouseMover is running or not (on or off). Īn LED and resistor can be added between pin A3 (Arduino Digital pin 21 ) and VCC to indicate when the MouseMover is running (Pin is labeled "A3" on the Pro Micro). Remove the jumper to restore normal operation. Ī third jumper, JP3 (defined in the code), if grounded, will cause the mouse to move every 5 seconds, instead of the configured move time. ![]() Ī second jumper, JP2 (defined in the code), if grounded, will disable the software run timer and keep the mouse "running" all the time, no matter what the programmed run time is. By grounding this pin, the mouse functionality will stop (as though you unplugged the mouse) and will be restored when the jumper is removed. One jumper called JPE (defined in the code) can be used to disable the controller. Usually the jumpers are not used, but are provided for, in case the user prefers to control this device in this way. There are a few jumpers that can be used with this firmware. The only hardware required for this solution is an Arduino Pro Micro controller and a USB cable that connects this controller to the PC. It could probably be adapted to other Arduino controllers like the Arduino Leonardo, but the Pro Micro board is tiny, powered by the USB port and low cost, making it the ideal hardware solution for this task. ![]() This firmware is designed for use with a ProMicro Arduino board (that uses an ATMEGA32U4) and is connected to the PC with it's USB port. Once the controller is programmed, it will have default parameters selected for all of the changeable parameters, but these can be changed and then saved to EEPROM so that the user selected parameters are used each time the controller is connected to the PC. This controller will appear to Windows as a mouse device (HID) and a serial com port. All of the parameters for the controller can be modified by sending commands to the controller’s serial port, which is also added to the host PC when the controller is plugged in. This controller has a number of user changeable parameters. To maintain some semblance of system security (that IT groups want) this added mouse controller can be programmed to only run for a limited time, after which it stops moving the mouse, until commanded to run again. Because the amount moved is small and it only is done every minute or so, this will usually not interfere with normal PC operation. Usually moving the mouse cursor a few pixels every minute or so is enough to keep the computer from going to sleep or locking. The normal mouse is still used for normal operation. Unlike software only solutions that many IT infrastructure systems know how to ignore, this solution looks as though a real (second) mouse is added to the computer. This controller moves the mouse cursor a tiny amount every few minutes, simulating the user being at the computer and using it to prevent the host PC from going to sleep or locking the screen. MouseMover application for Pro Micro, Leonardo or Arduino Micro (or other modules using AVR ATMega32U4)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |