Show Posts
Pages: [1] 2 3 ... 7
1  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 22, 2011, 05:41:02 pm
@joel: use sketch 21 - it works then. if you use 22 then you get this error.

regarding the ports. go to the device manager and set the port of the arduino to com5.
2  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 13, 2011, 10:23:37 am
beside of the fact that i have to redesign my machine to make it stronger erverything works now. i am extremly thankful for your kind help!

one last thing: would you tell me with which software you generate the gcode for the cncdriver as i struggle a little getting the right code out of cut2d and cut3d.

have a very nice day!
3  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 13, 2011, 07:45:04 am
its a miracle! with a tear in my eye i see the machine moving to all the places i want her to. i think it will take some time until i trust this baby but i guess we did it.

oh my god, i am tired!
4  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 13, 2011, 07:23:18 am
like that ?



ps.: did i tell you lately that i am a noob? smiley-wink
5  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 13, 2011, 07:02:12 am
to make sure: that is how i have it now:

6  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 13, 2011, 06:36:18 am
tried and failed. machine moved a little. now it says all switches are 1.
7  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 13, 2011, 05:45:17 am
i am just messing around with the capacitors. classic noob question: do capacitors have a "direction". on one pin of the capacitor it says "hi" at the moment this is where i have the wire coming back from the switch connected. and it does not work.

so my idea is to do the following:

the wire coming back from the switch goes to the according pin on the arduino. then i will add a resistor on the wire that comes back from the switch. then i will add a capacitor there and connect it to the pin which says "hi" the other pin will be connected to gnd on the arduino.

basially thats how i had it already just with a capacitor added in the line. or should i wire the capacitors and the resistors parallel?

how about that?
8  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 13, 2011, 04:42:08 am
good morning. got some 0.1 400V capacitors (getting electronic components in tyrol is like looking for kangaroos in austria). i will try them out. readying some more threads on makecnc.com i found out that noise on limit switches is quite a common problem and it seems that this issue is always solved with 0.1 capacitors. i never found anything about 10k resistors so maybe i don´t need them. we´ll see and i keep you informed!
9  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 12, 2011, 08:48:50 am
the wire that comes back from a switch is connected to arduino. on this wire there is also the 10k resistor connected which goes to gnd on the arduino.
10  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 12, 2011, 08:30:01 am
ok. this meand the capacitors should be where the resistors are now. is this correct?
11  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 12, 2011, 08:11:10 am
i tried the following: when i disconect all switches from the arduino all axis move how and where they should. i checkt the wiring and everything is fine and i doublechecked the switches which are fine. strange world.
12  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 12, 2011, 07:57:11 am
checked all the switches. everything is correct :/
13  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 12, 2011, 07:33:32 am
jogging smiley-wink


Y is travelling correctly (both directions)
X is sometimes travelling correctly (both directions), sometimes to short
Z is sometimes travelling correctly (both directions), sometimes to short

somehow i get the feeling, that if the machine is at home, the z-axis is travelling correctly but for example when i am at x10, the z-axis starts to misbehave.

by the way: the gcode is posted before is also working sometimes. y always travels as it should, but x and z dont.


oooh question: is it correct, that M114 tells me where the machine is? because if i home the machine and then for example let i move y10 and then check M114 it tells me x0 y0 z0 what really confuses me.


by the way: great that it is possible to enter gcode directly!
14  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 12, 2011, 07:05:02 am
hmm. here´s a new funfact: i just gave the machine the following gcode and it did exactly what it should.
Code:
G91
G21
G01 Y10
G01 X10
G01 X50
G01 Y50
G01 X-50
G01 Y-50
15  Forum 2005-2010 (read only) / Interfacing / Re: another cnc mill questionaire on: January 12, 2011, 06:55:56 am
12:55:33.55 -- N0 M254 *0
12:55:33.61 << ok 0

12:55:33.61 -- N1 M114 *6
12:55:33.68 << ok 1 C: X:0.0000 Y:0.0000 Z:0.0000 XMin: 1 XMax: 0 YMin: 1 YMax: 0 ZMin: 1 ZMax: 0
Pages: [1] 2 3 ... 7