Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanyuan/desktop-control
Control Linux desktop by Arduino sensors.
https://github.com/tanyuan/desktop-control
Last synced: about 1 month ago
JSON representation
Control Linux desktop by Arduino sensors.
- Host: GitHub
- URL: https://github.com/tanyuan/desktop-control
- Owner: tanyuan
- License: unlicense
- Created: 2015-12-29T13:51:51.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-15T10:29:08.000Z (almost 9 years ago)
- Last Synced: 2024-03-27T07:51:51.927Z (9 months ago)
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Control Linux desktop by Arduino sensors
This project takes ultrasonic sensor for example.
## Requirement
GNU/Linux with Python and `xdotool`.
## How to run
1. Burn `serialSensor.ino` into Arduino.
2. Set serial port name and baud rate in `serialDesktopCtl.sh`.
3. Run command:
./seralDesktopCtl.sh## How it works
1. Arduino send sensor data to serial port.
2. Python read from serial port and control the PC desktop through system command `xdotool`.
3. `xdotool` send keyboard stokes to the operating system.## License
Public Domain. You can do whatever you want with the code.