Hello
I installed ubuntu on a virtual machine this week end. I will try to install wine and Jedicut.
Do you also try parallel port with wine and Jedicut ?
Re: Jedicut and Arduino over USB
152Hi Jerome,
this are good news. I did not try to use the parallel port, but maybe this works too. In general it will be good having jedicut running on linux, this will increase the jedicut community. If you are succesful with your tests you should add this fact to the aeropassion news. I am sure this will bring a lot more people to your forum and we can exchange our experiences.
Martin
this are good news. I did not try to use the parallel port, but maybe this works too. In general it will be good having jedicut running on linux, this will increase the jedicut community. If you are succesful with your tests you should add this fact to the aeropassion news. I am sure this will bring a lot more people to your forum and we can exchange our experiences.
Martin
Jedicut and Arduino over USB
153Hi guys,
I never wrote to the forum, but today I must.
Jerome and Martin: big Gratitude for your work! Finally my chinese (TB6560-based) board came alive, and the motors spinning like a dream:) I didn't have any arduino, so I refined a little Martin's code (to be able to load it up without arduino), so it works great with a simple atmega328 and a max232 serial-TTL converter IC commanded by Jedicut under Win7/64bit!!! I'm extremly happy! It took a week...but I don't mind.
Thanks again!
I never wrote to the forum, but today I must.
Jerome and Martin: big Gratitude for your work! Finally my chinese (TB6560-based) board came alive, and the motors spinning like a dream:) I didn't have any arduino, so I refined a little Martin's code (to be able to load it up without arduino), so it works great with a simple atmega328 and a max232 serial-TTL converter IC commanded by Jedicut under Win7/64bit!!! I'm extremly happy! It took a week...but I don't mind.
Thanks again!
Re: Jedicut and Arduino over USB
154Martin,
I agree with you. I have to find a way to identify a solution for this issue under wine.
I agree with you. I have to find a way to identify a solution for this issue under wine.
Jerome
Re: Jedicut and Arduino over USB
155Hello babocsai and welcome
-D
Can you start a new thread in this forum to explain how do you do this ? It will be interested for many people (tu)
You can also indicate where do you come from by clicking on "Control center" and "Location". This will add you on the map

Can you start a new thread in this forum to explain how do you do this ? It will be interested for many people (tu)
You can also indicate where do you come from by clicking on "Control center" and "Location". This will add you on the map

Jerome
Re: Jedicut and Arduino over USB
157Quick question on the need for the need for a board like the Mm20001.
Are there any specific timing or interface functions the Mm2001 is providing or could I build on a basic Arduino shield with pminmo connectors to attach driver boards. And some add on connectors for opto isolated heat board, limit switches, enable and whatnot.
Are there any specific timing or interface functions the Mm2001 is providing or could I build on a basic Arduino shield with pminmo connectors to attach driver boards. And some add on connectors for opto isolated heat board, limit switches, enable and whatnot.
Jedicut and Arduino over USB
158Hi Martin,
Shall I suggest a little improvement in your arduino code?
I inserted the following declarations in the setup():
pinMode(A0, INPUT); // PC0, X1 limit switch
pinMode(A1, INPUT); // PC1, X2 limit switch
pinMode(A2, INPUT); // PC2, Y1 limit switch
pinMode(A3, INPUT); // PC3, X2 limit switch
and an additional line into the sendMotorCmd(byte cmd):
PORTB = (PORTB & 0xF0) | (cmd & 0x0f) & (PINC & 0x0f); // and step and check the state of the limit switches
I've fabricated two opto gates to the end of every axis (TCST1103) and connected them (with a diode and trough a hex inverter) together to the digital inputs. In this way, when the opto gate goes HIGH (the inverter switches it to LOW) the actual STEP command will be overwritten and the motor stops (until the opto gate goes LOW again).
What is your opinion? Should it be a right solution? So far, it works for me...
I'm not too good programmer, and I wish it would be a better way to leave the inverter from the circuit.
Shall I suggest a little improvement in your arduino code?
I inserted the following declarations in the setup():
pinMode(A0, INPUT); // PC0, X1 limit switch
pinMode(A1, INPUT); // PC1, X2 limit switch
pinMode(A2, INPUT); // PC2, Y1 limit switch
pinMode(A3, INPUT); // PC3, X2 limit switch
and an additional line into the sendMotorCmd(byte cmd):
PORTB = (PORTB & 0xF0) | (cmd & 0x0f) & (PINC & 0x0f); // and step and check the state of the limit switches
I've fabricated two opto gates to the end of every axis (TCST1103) and connected them (with a diode and trough a hex inverter) together to the digital inputs. In this way, when the opto gate goes HIGH (the inverter switches it to LOW) the actual STEP command will be overwritten and the motor stops (until the opto gate goes LOW again).
What is your opinion? Should it be a right solution? So far, it works for me...
I'm not too good programmer, and I wish it would be a better way to leave the inverter from the circuit.
Re: Jedicut and Arduino over USB
159Oops, forget it, there is one tiny problem: whenever a limit is reached, I coudn't move the motors again... 
If I don't want to use "if-else" in every motorcommand-cycle, I'm afraid it is necessary to do the checking procedure in an interrupt...

If I don't want to use "if-else" in every motorcommand-cycle, I'm afraid it is necessary to do the checking procedure in an interrupt...