Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Syntax & Programs / Re: Interface reprap firmw with adafruit stepper libr on: November 15, 2010, 08:13:02 am
Yep i'm now checking it:)
I might have to write my own g-code interpreter in the end darn:P
2  Forum 2005-2010 (read only) / Syntax & Programs / Re: Interface reprap firmw with adafruit stepper libr on: November 14, 2010, 10:33:43 pm
I'm checking that Processing thing you posted about, looks very interesting!
With the script at the previous link i posted i managed to make my steppers but after some tought and comparisons i think that script is very unclean still. I'm still trying to get reprap one to work damn it:)
What are you using to drive your steppers? Adafruit shield or something else?
3  Forum 2005-2010 (read only) / Syntax & Programs / Re: Interface reprap firmw with adafruit stepper libr on: November 14, 2010, 03:23:40 pm
This is what reprap uses as end of command
Code:
//newlines are ends of commands.
      if (c != '\n')

dropped in there a few of those commands you linked but had nothing working :/ probably what i modified in there just doesn't wanna work.

I tried http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1266086738
and with this one i managed to make it work (it uses " ! " ) as end of commands. Tho i liked more the Reprap one as it was able to handle also G2 and G3 commands (curves made clockwise and counterclockwise) while instead that other G code interpreter only works with G1 (and it wants it as G1 not G01 or it will think it's G0).
Seems like there's not only one standard g-code damn it.
Atm i'm looking for something to send line by line over serial without having to write each line in the serial window. I'll look if i can do something with C :S
I think the bad thing of not being able of using G2 and G3 is that you have to do an endless amount of G1 commands (no that you have to write them on your own..ok but it sounds a lot less..."linear" if you understand what i mean).

Anyother suggestion or way to go trough in your opinion Roypardi?
4  Forum 2005-2010 (read only) / Syntax & Programs / Re: Interface reprap firmw with adafruit stepper libr on: November 13, 2010, 06:04:30 pm
Hi Roy, i tried that but unfortunately it didn't work:( Can you share your work? I'm very interested:)
5  Forum 2005-2010 (read only) / Syntax & Programs / Interface reprap firmw with adafruit stepper libr on: November 12, 2010, 03:21:28 pm
I'm trying to build something similar to a laser cutter, which needs only 2 axis to move, X and Y.
I've been manually driving those axis with an Arduino 2009 using the adafruit motor shield which allows me to handle up to 2 stepper motors.
Now i wanted to transmit information about those motors positioning using g-code so i picked up RepRap software package code (a modified version of it) and removed all the useless stuff (like sensors and the use of Z axis). I'm not yet sure IF it works tho as i didn't find any program working with serial / usb (only found mach3 which wants an LPT port :S ).

Anyway here's the code..so if anyone could try it out will be apreciated!

Also if you can suggest me anyother way to CNC with arduino in a different way it would be appreciated:) Or even tips or whatever u'd like to share:)

Here's the link to my code as it's too big to fit in this post (9500 char limit). --> http://syselkitna.no-ip.org/GCode_Interpreter2.rar
6  Forum 2005-2010 (read only) / Italiano / Re: CNC powered by Arduino on: November 12, 2010, 07:22:25 am
Zona geografica: Firenze - Siena

Aspettative: Imparare qualcosa di più sulla comunicazione pc-arduino

Cosa intendete fare (tipologia di lavorazione) con la vosta CNC ? Incisione Laser

Su che materiale: Plastica

Budget: Ridotto

Possibilità di eseguire lavorazioni da voi e eventuale capacità ? Dremel e cacciaviti:)



Salve, ho realizzato una struttura in legno con 2 assi (X e Y) con due motori passo passo.
Per comandarli uso un'arduino 2009 con il motor shield dell'adafruit.
Un'uscita dell'arduino comanda un piccolo relay che permette l'accensione / spegnimento del laser.
Quello che vorrei capire è come fare il passo successivo; cioè il poter
"plottare" un disegno bidimensionale realizato con cad / solidworks / qualsiasi software mi consigliate.

Ovviamente so che la base è far leggere l'arduino dal serial read per avere le info dal pc...ma per ora mi fermo qui...:S Qualcuno che mi può dare qualche spintarella nella giusta direzione?smiley
 
7  Forum 2005-2010 (read only) / Exhibition / Re: A small CNC on: November 14, 2010, 03:24:51 pm
Tested it and works cool, any plan on implementing G2 and G3 commands?
8  Forum 2005-2010 (read only) / Exhibition / Re: A small CNC on: November 12, 2010, 03:29:21 pm
I'm looking for something like this for my 2  axis cnc, I'm struggling with the program to comunicate between arduino and my pc, any chances you could upload your C program too? smiley
Pages: [1]