Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-14 | Implement button push using servo motors controlled via pwm (#55) | Shantur Rathore | |
1. Add to /boot/config.txt ``` dtoverlay=pwm ``` 2. Create /etc/udev/rules.d/99-kvmd-pwm.rules ``` SUBSYSTEM=="pwm*", ACTION=="add", RUN+="/bin/chgrp -R kvmd /sys%p", RUN+="/bin/chmod -R g=u /sys%p" SUBSYSTEM=="pwm*", ACTION=="change", ENV{TRIGGER}!="none", RUN+="/bin/chgrp -R kvmd /sys%p", RUN+="/bin/chmod -R g=u /sys%p" ``` 3. Connect Servo motor like SG90 PWM connection to RPi GPIO18, +5V and GND to a 5V and GND pin on header 4. Add to /etc/kvmd/override.yaml ``` kvmd: gpio: drivers: servo1: type: pwm pwm_chip: 0 # PWM Chip Number pwm_period: 20000000 # Servo Motor SG90 Period in nano-seconds duty_cycle_push: 1500000 # Servo Motor SG90 duty_cycle for pushing button duty_cycle_release: 1000000 # Servo Motor SG90 duty_cycle for releasing button scheme: short_press: driver: servo1 pin: 0 # Pin number is the PWM channel number on the PWM Chip mode: output switch: false pulse: delay: 0.5 max_delay: 2 long_press: driver: servo1 pin: 0 # Pin number is the PWM channel number on the PWM Chip mode: output switch: false pulse: delay: 2 max_delay: 2 extra_long_press: driver: servo1 pin: 0 # Pin number is the PWM channel number on the PWM Chip mode: output switch: false pulse: delay: 10 max_delay: 20 view: header: title: Controls table: - ["#Servo - Short Press", "short_press|Press"] - ["#Servo - Long Press", "long_press|Press"] - ["#Servo - Extra Long Press", "extra_long_press|Press"] ``` | |||
2021-08-14 | new sponsor | Maxim Devaev | |
2021-08-13 | bindSimpleSwitch() | Maxim Devaev | |
2021-08-13 | save hid squash value | Maxim Devaev | |
2021-08-13 | new sponsor | Maxim Devaev | |
2021-08-12 | refactoring | Maxim Devaev | |
2021-08-11 | Bump version: 3.13 → 3.14v3.14 | Maxim Devaev | |
2021-08-11 | pikvm/pikvm#245: using sbin for some binaries | Maxim Devaev | |
2021-08-10 | new sponsor | Maxim Devaev | |
2021-08-08 | new sponsor | Maxim Devaev | |
2021-08-06 | atx confirmation | Maxim Devaev | |
2021-08-05 | new sponsor | Maxim Devaev | |
2021-08-04 | new sponsor | Maxim Devaev | |
2021-08-02 | Bump version: 3.12 → 3.13v3.13 | Maxim Devaev | |
2021-08-02 | new sponsors | Maxim Devaev | |
2021-08-02 | Bump version: 3.11 → 3.12v3.12 | Maxim Devaev | |
2021-08-02 | rngd fix | Maxim Devaev | |
2021-08-02 | note | Maxim Devaev | |
2021-08-02 | fix | Maxim Devaev | |
2021-08-01 | upload image by url in web ui | Maxim Devaev | |
2021-08-01 | css fix | Maxim Devaev | |
2021-08-01 | changed /msd/write_remote format | Maxim Devaev | |
2021-07-31 | dark background for pak textarea | Maxim Devaev | |
2021-07-31 | improved input file styling | Maxim Devaev | |
2021-07-30 | new sponsor | Maxim Devaev | |
2021-07-30 | send error in streaming response | Maxim Devaev | |
2021-07-30 | refactoring | Maxim Devaev | |
2021-07-30 | new sponsor | Maxim Devaev | |
2021-07-29 | removed max_power option, added todo about remote wakeup | Maxim Devaev | |
2021-07-29 | input file css for future needs | Maxim Devaev | |
2021-07-29 | more compact msd menu | Maxim Devaev | |
2021-07-29 | refactoring | Maxim Devaev | |
2021-07-28 | new sponsors | Maxim Devaev | |
2021-07-28 | refactoring | Maxim Devaev | |
2021-07-28 | get rid of multipart in /msd/write | Maxim Devaev | |
2021-07-28 | show remote uploading file | Maxim Devaev | |
2021-07-28 | another msd js fixes | Maxim Devaev | |
2021-07-28 | fixed el variable | Maxim Devaev | |
2021-07-28 | refactoring | Maxim Devaev | |
2021-07-28 | ui fix | Maxim Devaev | |
2021-07-27 | /msd/write_remote handle | Maxim Devaev | |
2021-07-27 | dockerignored hid libs | Maxim Devaev | |
2021-07-27 | refactoring | Maxim Devaev | |
2021-07-26 | fixed long shutdown | Maxim Devaev | |
2021-07-26 | refactoring | Maxim Devaev | |
2021-07-26 | fixed /share/css/user.css nginx location | Maxim Devaev | |
2021-07-26 | start_streaming() | Maxim Devaev | |
2021-07-25 | .editorconfig | Maxim Devaev | |
2021-07-24 | new sponsors | Maxim Devaev | |
2021-07-24 | dual mouse mode | Maxim Devaev | |