Eggbot

Post about using Inkscape with cutters or plotters.
Sembot
Posts: 4
Joined: Wed Jan 22, 2014 6:24 am

Eggbot

Postby Sembot » Wed Jan 22, 2014 6:40 am

Hai ,

Hai ,

Give someone a eggbot already built with Arduino and working with Inkscape
I have finished my eggbot but it does not work at all

What have I done


The TimerOn and softwareServo is installed and changes Wprogram.h to Arduino.h
I built the eggbot of Thingiverse "Finucane Derivative eggbot

Use the chart on this site "3D Printed Instructables Arduino Controlled Eggbot / Spherepot

Installed Inkscape with extensions EB_EXT_2_2_2_r3.exe and in my Arduino Uno I installed the software SphereBot.pde

Now I want the servo control using inkscape, but it does not work, what am I doing wrong or what am I forgetting???

Can anyone help me please

Kindregards
mvg
Erwin

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Eggbot

Postby ragstian » Wed Jan 22, 2014 7:45 am

Hi.

Welcome to the Inkscape Forum! Nice to see another "eggbot" fan here.

First of all the Eggbot extension communicates with the eggbot controller board via serial communication using the USB port to "emulate" a serial port.
Effective fault-finding always consists of breaking down the whole into parts and eliminate working parts until you have found the "non-working" bit.

Your statement "Now I want the servo control using inkscape, but it does not work, what am I doing wrong or what am I forgetting???" and
"I have finished my eggbot but it does not work at all" tells only part of the story.

First list up what's working;

1. Does the eggbot extension find the serial port?
You will get the following error message with no communication: (Lower right Window)
Image

(Due to you running the Arduino as a controller you might receive different messages when it's working.
Have not checked the Arduino code yet.)

2. Do you manage to move the step-motors using local software in the Arduino?
3. Do you manage to run the servo (pen arm lift) with local software?

Sometimes when "debugging" hardware it's smart to let someone else check your wiring
as it's easy to do the same "mistakes" when checking as when you wired it up first time.
(Don't ask me how I know! :D )

I will try to install the software you linked to on my Arduino and give it a try. - Stay tuned.)

Good Luck
RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Eggbot

Postby ragstian » Wed Jan 22, 2014 8:16 am

Hi.

I had a look at the Finucane Derivative Eggbot web page. http://www.thingiverse.com/thing:65753/#instructions
First of all the software listed on this page is not set up to use Inkscape Eggbot Extension but rather the G-Code Exporter extension.

When you have got your G-Code file produced with Inkscape you use another python program (feeder.py) to send the G-Code to the Arduino board.

Which Step Motor Driver are you using?
You will be able to test the Ardino outputs using a simple voltmeter or just a led + resistor in series.
The motor outputs can be checked in the same way (but with different resistor if using higher motor voltage).

To make your life easy (too easy?) you could go ahead and get the original controller board
control direct from Inkscape is then possible;
https://www.sparkfun.com/products/10025
http://shop.evilmadscientist.com/productsmenu/partsmenu/188-ebb
http://egg-bot.com/index.php?page=ebb

RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Sembot
Posts: 4
Joined: Wed Jan 22, 2014 6:24 am

Re: Eggbot

Postby Sembot » Wed Jan 22, 2014 7:31 pm

Hai

Thanks for the quick response

This errors I get in inkscape if I want the servo downward

Traceback (most recent call last):
File "eggbot.py", line 1403, in <module>
e.affect()
File "C:\Program Files\Inkscape\share\extensions\inkex.py",
line 215, in affect
self.effect()
File "eggbot.py", line 281, in effect
self.EggbotOpenSerial()
File "eggbot.py", line 1296, in EggbotOpenSerial
self.serialPort = self.getSerialPort()
File "eggbot.py", line 1353, in getSerialPort
for strComPort in eggbot_scan.findEiBotBoards():
File "C:\Program Files\Inkscape\share\extensions
\eggbot_scanwin32.py", line 6, in findEiBotBoards
hKey = _winreg.OpenKey( hReg, r"SYSTEM
\CurrentControlSet\Enum\USB\VID_04D8&PID_FD92" )
WindowsError: [Error 2] Het systeem kan het opgegeven
bestand niet vinden

What does this all mean and what should I do????

Yes all works with local software print oke

( ) I use nema 17 steppermotor with polulu A4988

Regards
Erwin

Sembot
Posts: 4
Joined: Wed Jan 22, 2014 6:24 am

Re: Eggbot

Postby Sembot » Wed Jan 22, 2014 10:51 pm

Hai

Thanks for the quick response

These are the errors I get when I try to activate inkscape use ,and will servo (pen) downwards

Traceback (most recent call last):
File "eggbot.py", line 1403, in <module>
e.affect()
File "C:\Program Files\Inkscape\share\extensions\inkex.py",
line 215, in affect
self.effect()
File "eggbot.py", line 281, in effect
self.EggbotOpenSerial()
File "eggbot.py", line 1296, in EggbotOpenSerial
self.serialPort = self.getSerialPort()
File "eggbot.py", line 1353, in getSerialPort
for strComPort in eggbot_scan.findEiBotBoards():
File "C:\Program Files\Inkscape\share\extensions
\eggbot_scanwin32.py", line 6, in findEiBotBoards
hKey = _winreg.OpenKey( hReg, r"SYSTEM
\CurrentControlSet\Enum\USB\VID_04D8&PID_FD92" )
WindowsError: [Error 2] Het systeem kan het opgegeven
bestand niet vinden

What should I do ???

regards
Erwin

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Eggbot

Postby ragstian » Sat Jan 25, 2014 5:01 am

Hi.

What about writing a sketch (program) for the Arduino to emulate the EBB board?
That way the Inkscape Eggbot extension could write to the Arduino directly.

Anyone up for the challenge?

RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Sembot
Posts: 4
Joined: Wed Jan 22, 2014 6:24 am

Re: Eggbot

Postby Sembot » Sat Jan 25, 2014 7:21 pm

Thanks for the quick response

These are the errors I get when I want to move my servo inkscape

Traceback (most recent call last ) :
File " eggbot.py " , line 1403 , in <module>
e.affect ( )
File " C : \ Program Files \ Inkscape \ share \ extensions \ inkex.py "
line 215 , in affect
self.effect ( )
File " eggbot.py " , line 281 , in effect
self.EggbotOpenSerial ( )
File " eggbot.py " , line 1296, in EggbotOpenSerial
self.serialPort self.getSerialPort = ( )
File " eggbot.py " , line 1353, in gets rial port
for strComPort in eggbot_scan.findEiBotBoards ( ) :
File " C : \ Program Files \ Inkscape \ share \ extensions
\ eggbot_scanwin32.py " , line 6 , in findEiBotBoards
hKey = _winreg.OpenKey ( hReg , r "SYSTEM
\ CurrentControlSet \ Enum \ USB \ VID_04D8 & PID_FD92 " )
Windows Error : [Error 2] The system may be specified
File not found

What can I do about it or what should I do ? ? ?

mvg
Erwin
Bildschirmfoto 2012-01-04 um 11_19_42.png
Bildschirmfoto 2012-01-04 um 11_19_42.png (73.59 KiB) Viewed 14955 times

cdegaetano
Posts: 1
Joined: Sun Mar 30, 2014 11:40 pm

Re: Eggbot

Postby cdegaetano » Sun Mar 30, 2014 11:42 pm

Hi,
I have built and egg bot too and have the same problems. How do you run feeder.py?

Thanks,
Chris

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Eggbot

Postby ragstian » Mon Mar 31, 2014 1:50 am

Hi

Have a look at this post http://forums.reprap.org/read.php?1,132149,243639

Others are experiencing the same problem runnning the feeder.py program.
To get the eggbot extension in inkscape working you might consider buying a EBB board (but; where's the fun in that?).

Some more info on the "spherebot";
https://groups.google.com/forum/#!topic/eggbotuser/64R5s7HeMvI
http://www.welcomerobotoverlords.com/eggbot-software/

Good Luck.
RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar


Return to “Inkscape & Cutters/Plotters”