Page 1 of 1

Continuing Code Problems

Posted: Mon May 02, 2016 3:47 pm
by engineeringsquad
We keep trying to upload Configuration.h to our Arduino Mega, but nothing seems to be working. We've tried editing the code in various ways, but still nothing. Could somebody PLEASE give us working code that we could use? We are on a deadline which is coming up very soon and this is for a grade. We just want to finish the printer....
Thanks!

Re: Continuing Code Problems

Posted: Mon May 02, 2016 3:54 pm
by Jimustanguitar
Configuration.h is only one small part of the code. Like one page of a book. Are you compiling the entire (I assume) Repetier sketch and uploading it, or just that one file?

Download.seemecnc.com is your friend. The full firmware sketch is available for download there.

Re: Continuing Code Problems

Posted: Tue May 03, 2016 6:05 am
by Eric
What he said.

When asking for help, you'll get a lot better feedback if you provide more information than "nothing seems to be working". Like copying and pasting the error messages you get (or screenshots if you preferr). If you get no error messages, what does/doesn't happen that you expected to happen?

Nearly everyone reading this forum has successfully downloaded firmware at some point, so there's plenty of help available if you don't make us guess what your specific problem is.

Re: Continuing Code Problems

Posted: Tue May 03, 2016 3:17 pm
by engineeringsquad
The code when uploaded simply begins moving the arms down until they ram into the heat bed. We began making some changes to the code in order to try and stop this from happening and the only change we were able to make was getting the arms to move up in short jerky motions until they run into the top of the printer. On the LCD screen there are no values displayed for any of the variables. We are not well versed in code at all; we're a group of mainly builders who were having a fine time with the printer until it came to working with Arduino. Any help would be greatly appreciated because we are completely lost.

Re: Continuing Code Problems

Posted: Tue May 03, 2016 7:07 pm
by Captain Starfish
Hint: the code works, there's a bunch of us out here using it without modification and with very near to the default config published on the SeeMe site.

Don't touch the code until you have a working machine.

If it's driving straight to the bed my guess would be you have your stepper wires arse backwards and it's trying to drive home but heading in the wrong direction. You can check this by manually positioning the carriages near the top (to give yourself time), turn it on and hitting the home microswitches before the effector hits the deck. As each microswitch is activated, movement on that axis should stop.

Re: Continuing Code Problems

Posted: Tue May 03, 2016 7:57 pm
by IMBoring25
If it's really crashing itself as soon as the firmware is loaded that sounds like a bigger wiring problem than that.

Re: Continuing Code Problems

Posted: Tue May 03, 2016 10:06 pm
by Qdeathstar
http://download.seemecnc.com/rostockmax ... dition.pdf

The manual says what to do if the motors are going the wrong direction while homing

Page 24-25

Re: Continuing Code Problems

Posted: Tue May 03, 2016 10:09 pm
by Qdeathstar
What code are you using? Please link to it and reinstall it stock.