Page 2 sur 2

Re: Jedicut and Arduino over USB

Posté : jeu. août 30, 2012 10:05 am
par Martin
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.
jeduino.jpg jeduino.jpg Vu 4318 fois 126.53 Kio
If somebody is interested in joining this work please drop a note.

Martin

Re: Jedicut and Arduino over USB

Posté : ven. août 31, 2012 3:36 pm
par Vincent
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

Posté : mar. sept. 04, 2012 2:36 pm
par Martin
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 here:)

Martin

Re: Jedicut and Arduino over USB

Posté : jeu. sept. 06, 2012 6:44 am
par Jerome
Hi Martin !

You did an amazing job ! Thanks for sharing ;)

Re: Jedicut and Arduino over USB

Posté : dim. sept. 09, 2012 9:19 am
par Jerome
Martin describe is solution on this new specific discussion : http://www.aeropassion.net/forums/read.php?6,8582,8582

Re: Jedicut and Arduino over USB

Posté : dim. sept. 09, 2012 10:17 am
par ZbigPL
„It’s one small step for a man, but one giant leap for Jedicut"

Thank You!