Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adlerweb/ctlrobot
Control Dream Cheeky Dancing USB Robot on *nix
https://github.com/adlerweb/ctlrobot
Last synced: about 6 hours ago
JSON representation
Control Dream Cheeky Dancing USB Robot on *nix
- Host: GitHub
- URL: https://github.com/adlerweb/ctlrobot
- Owner: adlerweb
- License: gpl-2.0
- Created: 2014-12-25T23:58:59.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-26T00:00:28.000Z (almost 10 years ago)
- Last Synced: 2024-06-11T17:55:56.433Z (5 months ago)
- Language: C
- Homepage: http://adlerweb.info/blog/2014/12/28/bitbastelei-129-dancing-usb-robot
- Size: 105 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: HISTORY
- License: LICENSE
Awesome Lists containing this project
README
This is a simple program to control dancing USB toys manufactured by
"Dream Cheeky", they were produced somewhere around 2007 and identify
themselves as 1941:8021. I only tested the one named "USB dancing
robot".ctlrobot does all the actual work. You'll need libusb and some basic
development tools installed to compile it, but assuming you have that
typing "make" should do the trick.To control the toy you can supply two arguments, the first one controls
the actual movement, the latter additional LEDs. Both arguments accept
"off" to disable movement/blinking, "slow" for slow movement and normal
blinking or "fast" for fast movement and double-flash blinking.As long as you havn't modified your udev-rules this software only works
as root.Completly untested udev template:
---snip---
/etc/udev/rules.d/10-robot.rules
SUBSYSTEMS=="usb", ATTRS{idVendors}=="1941", ATTRS{idProduct}=="8021", GROUP="users", MODE="0666"
---snip---