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
12Hi 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
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
13The 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
I will prepare a short explanation (what is needed, how to use it, ...) and post it here:)
Martin
Re: Jedicut and Arduino over USB
15Martin 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
16„It’s one small step for a man, but one giant leap for Jedicut"
Thank You!
Thank You!
ZbigPL