https://github.com/elmot/rpi-electic-winch
DIY electric winch handle
https://github.com/elmot/rpi-electic-winch
arm as5600 as5600-sensor bts7960 clion-embedded cortex-m0 pwm raspberry-pi-pico rp2040 zephyr
Last synced: 12 days ago
JSON representation
DIY electric winch handle
- Host: GitHub
- URL: https://github.com/elmot/rpi-electic-winch
- Owner: elmot
- License: mit
- Created: 2025-04-12T20:56:25.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2025-05-07T20:04:52.000Z (12 days ago)
- Last Synced: 2025-05-07T21:08:27.543Z (12 days ago)
- Topics: arm, as5600, as5600-sensor, bts7960, clion-embedded, cortex-m0, pwm, raspberry-pi-pico, rp2040, zephyr
- Language: C
- Homepage:
- Size: 5.97 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
DIY electric winch handle
===Components:
---* RPi Pico
* AS5600 as a joystick sensor
* IBT_2 (BTS7960) motor driverConnection diagram
---
Logging and settings
---
The device exposes two virtual UART ports. One for logging and one for shell.
Shell commands allow you to adjust parameters and save them permanently.Essential shell commands:
---* `bootloader` Reboot MCU to bootloader
* `help` Prints the help message.
* `joystick` Prints joystick position. Optionally, you can specify the number of samples to take.
* `params` Print current params
* `pause` Suspends normal motor operations to set up parameters
* `reboot` Reboots the device
* `resume` Resumes normal motor operation
* `set center` Sets joystick central(neutral) position [0..359]
* `set pwm_min` Sets minimal pwm [0..99]
* `set dead_angle` Sets joystick dead angle [0..180]
* `set max_angle` Sets joystick max angle [0..180]