Re: Checking EBB motor voltage from Inkscape

Home Evil Mad Scientist Forums Egg-Bot Checking EBB motor voltage from Inkscape Re: Checking EBB motor voltage from Inkscape

#21829
ragstian
Participant

Hi Brian.

After testing the pen move using the 2.2.3 version I reckoned – why not try “the real thing” – running the eggbot from Inkscape.

When setting up the eggbot after flashing the EBB on the Eggbot ( I used my spare EBB board for testing on the bench) I found the pen-up pen-down to be reversed in v2.2.3.
When I perform – “Raise pen – turn off motors’ the pen is lowered. By reversing the upper and lower values in the setup I can still use version 2.2.3 but it might confuse users having a lower number in the Up position than in the Down position.
Flashing the EBB back to V2.1.5 changes to “Normal’ behavior.

From looking at the commands sent to the EBB from Inkscape using a USB device Monitor (software) when performing a “Raise the Pen” manual command Inkscape sends;

“SC,4,18240”
“SC,5,20540”
“SC,11,250”
“SC,12,100”
“SP,0”
“SP,1”
“SM,500,0,0”

– According to the EBB bot board command manual it is supposed to be the other way around “SP,0” to raise the pen and “SP,1” to lower. From manual;

Format: “SP,<value>,<duration>,<portBpin><CR>”
<value> is 0 (for up) or 1 (for down)

Looking at the eggbot.py confirms this error to be in the eggbot.py extension code. The EBB code works according to the manual. I have verified this using my standalone python test program.

By the way the “Command manual” is missing a section on the “QB” (QueryButton) command.

RGDS
Ragnar