Hi,
I have previously built an UNO based Polargraph with little 28BYj-48 Steppers it worked great and very easy to get running.
Heres video of it https://www.youtube.com/watch?v=C9HAN7U4ZUI
So after my initial success I am in the process of scaling it up and have got a Mega with Ramps 1.4 shield and a couple of NEMA 17's.
I managed to get past all the library errors and got polargraph_server_polarshield it to compile fine, but I could not connect from the Processing Sketch.
The output from the server on the serial port just repeated:
x: 1, Y: 1
x: 1, Y: 1
x: 1, Y: 1
... forever. Which I tracked down to be the end stops, I'm guessing since they are not installed they are not registering as having been hit?. So wondering if there is a way around that rather than comment out this code:
//while ((digitalRead(ENDSTOP_X_MIN) != 0) && (digitalRead(ENDSTOP_Y_MIN) != 0)) {
// Serial.print("X: ");
// Serial.print(digitalRead(ENDSTOP_X_MIN));
// Serial.print(", Y: ");
// Serial.println(digitalRead(ENDSTOP_Y_MIN));
//}
From configuration.ino
After commenting out that code I got READY_200 on the serial connection however this did not solve the Processing sketch connection issue.
I have checked all the config's everything is set to MEGA/Ramps,
USE_LCD is not defined, Port is selected and Arduino is not blocking the port.
I am using a fresh copy of all the code from github on 17/17/2015 too.
If anyone can give me any clues to help me figure this out that would be great.
I am in the process of writing a perl based controller to run from a raspberry to see if I can send the gcode from that as I suspect it may be something to do with processing now so will report back if this is the case.
|