Reply To: Pen came up on its own while drawing

Home Evil Mad Scientist Forums AxiDraw Pen came up on its own while drawing Reply To: Pen came up on its own while drawing

Windell Oskay

If the squiggles touch end to end such that there are not supposed to be any pen lifts, then yes, the timeout could be a factor.

Here is how to edit the timeout setting. Download a fresh copy of the CLI API, and open pyaxidraw/ in a text editor. (You can do this right on the Pi if you like.)

Find the line that says def queryEBBVoltage

On the line before that, add the following line:

ebb_serial.command(self.serial_port, 'SR,0,1\r')

Take care that the indentation should match the line above it.

This will disable the servo power timeout. You can also set it back to short,

ebb_serial.command(self.serial_port, 'SR,60000,1\r') will set it to one minute, or

ebb_serial.command(self.serial_port, 'SR,43200000,1\r') should set the timeout to 43,200,000 ms, or 12 hours.

After making the change to that file, use pip install . as usual to install the software. You do not need to remove prior versions before installing the new one on top of it.