User Tools


GPIO Digital Ink Detector

This ink detector watches the configured Raspberry Pi GPIO (default is pin 0) to determine if it falls to the desired state(default is pin LOW). When the digital GPIO pin goes to the desired state, the print job is paused with the low ink level warning.

It is possible to setup a different Pin to watch by doing this:

"InkConfig":[{
   ...
   "PrintMaterialDetector":"org.area515.resinprinter.inkdetection.gpio.GpioDigitalPinInkDetector",
   "PrintMaterialDetectorSettings":{"Pin":13, "PinLowIsLowInk":true}     
}]

`PinLowIsLowInk:true` → When the pin is low the low ink level is triggered. `PinLowIsLowInk:false` → When the pin is high the low ink level is triggered.

You'll find this InkConfig in the slicing configuration of your choice. Slicing configurations are found here: https://wiki.photonic3d.com/doku.php?id=default_file_locations