Open Sourcing the Pegasus
Howdy, I'm creating this thread to track my progress on working on an open source software package for the Pegasus Touch.
1) I have figured out the following items so far:
A) enable/disable laser (not sure if it is tuned right or not)
B) control brightness of backlight on screen
C) know if Z limit is reached
D) know if case is open.
2) I'm working on and have ideas for controlling the galvo. It uses an ADC that I need to figure out how to communicate with. I have the basic theory, but I'm debating if I do a python script or try to load it into the PRU. I'm unable to load anything into the PRU on my BBB so I'm having some issues getting things to work, but I'm pretty sure I know which pins to toggle and what the toggles should look like.
3) Haven't nailed down how to control the Z axis. I believe I can get the enable, but nothing I've done so far will move it up or down.
4) I have info on obtaining root access, but I would recommend getting a new BBB for work to prevent any damage to the existing one (unless you have given up the retina software). I have a few things to upload to the git repo, but it'll probably be in a few days.
https://github.com/doobie42/pegasus3dprinter