Page 13 sur 23

Re: Jedicut and Arduino over USB

Posté : dim. avr. 28, 2013 4:17 pm
par bozzo 12
hi everybody, I have followed this tread to the beginning,
I bought an arduino uno, upload the last release (r91)
Downloaded the usb dll, and wired board (hobby cnc) changed the baud, and the delay (5,25,50, 500, 5000), but nothing to do, no motor would work
I try several way to wire board, but nothing to do
can you help me please
hugo

Re: Jedicut and Arduino over USB

Posté : mer. mai 01, 2013 1:57 pm
par Martin
Hi Hugo,

sorry for the late answer.
First one question. Does the progress bar of jedicut increases when you start a cut? If this is not the case you may need to configure the (virtual) serial port. Change the value of PORTNUMBER in the file comport.ini to match the port which is created when you plug in the arduino (look into devicemanager of windows)
If you have an increasing progress bar, than the commands go successfully to the arduino. In this case the wiring may be wrong. If you use the hobbyCNC-board you may need to wire as follows:
[pre]
Parallel interface of hobbyCNC Arduino Port
2 x-dir 4
3 x-step 8
4 y-dir 5
5 y-step 9
6 z-dir 6
7 z-step 10
8 A-dir 7
9 A-step 11
[/pre]
and please dont forget to configure the ports in jedicut (Configuration) and configure the speed values between 1 (fast) and e.g. 64 (slow).

Martin

Re: Jedicut and Arduino over USB

Posté : jeu. mai 02, 2013 11:41 am
par bozzo 12
Hi. Yes,I have an increase bar when i start cut, But she progress very very fast.i was tryed to wire like your post.
I was changed baud rate on comporte.ini and into arduino software.
But motors don't work
Thank
Hugo

Re: Jedicut and Arduino over USB

Posté : jeu. mai 02, 2013 2:07 pm
par Martin
Hi Hugo,

please check the serial port number in the file comport.ini. Does it really match the portnumber the arduino uses ?

Martin

Re: Jedicut and Arduino over USB

Posté : jeu. mai 02, 2013 6:31 pm
par bozzo 12
hello, i think, it's not wrong but..
Look at the joined pieces, there is my configuration of comport, jedicut, and my peripherals.
Hugo

Re: Jedicut and Arduino over USB

Posté : jeu. mai 02, 2013 9:35 pm
par Martin
Hallo Hugo,

yes, the settings seems to be OK. Do the Tx/Rx LED's of the arduino flash when starting a cut ? Both or only the RX? Does the extra LED near Pin 13 Flash when cutting? Does the stepper board (hobbyCNC) indicate something?

Martin

Re: Jedicut and Arduino over USB

Posté : jeu. mai 02, 2013 10:36 pm
par bozzo 12
No, both leds who light are " on led" and " near 13 led".
never tx, or rx flash, excep at the end of donwloadind hardware into arduino.
13 never flash, she is fixed all the time
i use 2.3.2 jedicut release
hugo

Re: Jedicut and Arduino over USB

Posté : ven. mai 03, 2013 8:17 am
par Martin
Hi Hugo,

that the LED 13 is on is an indication that the arduino has an empty input buffer and is waitng for commands. That the TX/RX LED's never flash means that you still have problems with the USB/Serial connection. Have you configured the USBSerial for the board communication within jedicut? Is the baudrate at arduino side 115200 too?
You can try a simple arduino example (e.g. ASCII table) to check of you have a vital PC-Arduino connection.

Martin

Re: Jedicut and Arduino over USB

Posté : ven. mai 03, 2013 10:19 am
par bozzo 12
Configured the usbserial? I have juste imported the dll, serial usb on ''dll folder''.but maybe it's wrong. Maybe the configuration of arduino code is wrong too.
I think baudrate is on 115200. I check this this PM.
I dont know to try an exemple for PC arduino connections. Sorry
Hugo
( writing english is very hard for me, sorry for you :D )

Re: Jedicut and Arduino over USB

Posté : ven. mai 03, 2013 1:21 pm
par Martin
Configuring the USBSerial means selecting it in the jedicut comminication settings for the communication mode plug in (configuration).
The menu of the arduino development environment contains an entry named "Examples" you can try e.g. Blink and ASCII table very easy.

Martin