Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPIO actuation via at-command #226

Open
smartin015 opened this issue Mar 24, 2023 · 0 comments
Open

GPIO actuation via at-command #226

smartin015 opened this issue Mar 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@smartin015
Copy link
Owner

Is your feature request related to a problem? Please describe.

Some continuous printing setups require activation of switches or relays attached to the OctoPrint host device (usually a Raspberry Pi). There's no convenient integration of these mechanical clearing solutions using CPQ today.

Describe the solution you'd like

Allow manipulation of host-side GPIO in-line with printer GCODE so these clearing methods are supported.

I expect using at-commands would be the most clear-cut option, e.g.

@gpio 4 HIGH
P4 400 
@gpio 4 LOW   

Would set GPIO 4 high, then low after a 400ms delay.

Describe alternatives you've considered

Having this be a separate plugin to reduce initial complexity, but in the end that may be more of a mess to maintain.

Additional context

This feature should also be a consideration for remote management of microcontroller GPIO in smartin015/peerprint#13.

@smartin015 smartin015 added the enhancement New feature or request label Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant