Aeropassion's homepage
Aeropassion's parteners :
Posted by Scott Schering 
Scott Schering
Jedicut and Arduino over USB
February 29, 2012 09:29AM
Have anyone ever run or heard of Jedicut with an Adruino board over usb?

I know it's been done on an old Arduino but I'm having no luck finding any info on a usb interface.
Re: Jedicut and Arduino over USB
March 01, 2012 09:37PM
Do you have a link ? It's an interesting project !

I have a question in USB. What protocol do you want to use ?

Jerome
Scott Schering
Re: Jedicut and Arduino over USB
March 02, 2012 05:12PM
The other cutter I was reading about that used Arduino turned out to be only using it for the timing signal and thermal control of the hot wire.
All the step/direction control was still done via the parallel port.

What I'm looking at now is loading reprap teacup firmware on my Arduino Mega
http://reprap.org/wiki/Teacup_Firmware

The Arduino would interpret g code on the board and run the steppers.. The g codefile is sent via serial connection to the Arduino.

Are there any plugins for Jedicut to export G code or do you think it's possible to port Jedicut jdc files to g code?

Is the cut path defined in the jdc file or is that only calculated when you start the cutting process?
If the path is defined in the jdc then it might be possible to re-write the teacup g code parser.
Re: Jedicut and Arduino over USB
March 03, 2012 10:31AM
The cut path is calculated when you start the cutting.

I think it's possible to rewrite g-code but you have to developp a new Jedicut plugin.

Jerome
Scott Schering
Re: Jedicut and Arduino over USB
March 05, 2012 04:50AM
Thanks for the info..
I'll study up on your DLL info and see if I can get some ideas on how to write a G code dll.
Re: Jedicut and Arduino over USB
March 05, 2012 04:15PM
Where does one find the doc describing the DLL requirements and in/out interfaces ?
Is there such a doc ?
source code with English comments ?
Re: Jedicut and Arduino over USB
March 05, 2012 09:59PM
Good idea Scott winking smiley

Jerome
Re: Jedicut and Arduino over USB
March 05, 2012 09:59PM
doron,

The only code you can find is on the Jedicut's extension project hosted by Google code.

I started to write a small documentation, only in french and it's not up to date. You can use Google Translate winking smiley
http://www.aeropassion.net/leblog/pages/Comment-developper-un-plug-in

Jerome
Re: Jedicut and Arduino over USB
March 06, 2012 04:30PM
using the google translate, I can not figure out where you pass the pin assigned from the GUI to the DLL. (i.e. x,x_dir,y,y_dir,,a,a_dir,b,b_dir,enebale etc...)
-D
Re: Jedicut and Arduino over USB
March 06, 2012 04:46PM
Never mind.
Just found the UType unit in another directory.
-Thanks.
Re: Jedicut and Arduino over USB
August 30, 2012 10:05AM
Hi all,

during the last two weeks I figured out how it can be done by using an arduino uno. And I was successful.
To make things working a new jedicut plugin was necessary which opens the serial interface (the virtual
one in case of the arduino) and to send out commands for timing, heating, motors,...
I decided to use 115200 baud to be sure the motors are able to run fast enough. And I decided to use two
bytes per command. This is enough to step the motors with a rate of 1000/second.
On the arduino side I implemented a buffer to withstand short lags on the PC side. And a timer will step
the motors really exact.

I don't know Delphi, so I need to investigate how to implement a plugin using MS Visual Studio 2010 Express. This
was the hardest part, because of the different calling conventions the languages are using. But with correct
compiler settings and using few lines of inline assembler it worked.

I attached a picture to see my simple prototype connections between the arduino and the lethmathe stepper board.


If somebody is interested in joining this work please drop a note.

Martin
Re: Jedicut and Arduino over USB
August 31, 2012 03:36PM
Hi Martin,
Good job, your works may help a lot of people...A simple and cheap USB adapter for parallels boards ! and works with Jedicut :]

Could you post yours VB sources or project on Jedicut's Extension on GoogleCode ?

Bests regards,
Vince
Re: Jedicut and Arduino over USB
September 04, 2012 02:36PM
The code is now online. The arduino code as well as the C++ sources.They are available as usual in the google code repository. The directory is called USBSerial.
I will prepare a short explanation (what is needed, how to use it, ...) and post it heresmiling smiley

Martin
Re: Jedicut and Arduino over USB
September 06, 2012 06:44AM
Hi Martin !

You did an amazing job ! Thanks for sharing winking smiley

Jerome
Re: Jedicut and Arduino over USB
September 09, 2012 09:19AM
Martin describe is solution on this new specific discussion : http://www.aeropassion.net/forums/read.php?6,8582,8582

Jerome
Re: Jedicut and Arduino over USB
September 09, 2012 10:17AM
„It’s one small step for a man, but one giant leap for Jedicut"

Thank You!

ZbigPL
Sorry, only registered users may post in this forum.

Click here to login



Aeropassion

Paris en photo | Design by Le Flaketou, création de site internet

Phorum