Quote:
Originally Posted by phantomoperator
Awesome. That will work perfectly. Now my last question is how will we go about telling the motors what to do. Whaat we were hoping to do was have this be completely independent of a computer. We wanted to have a button that we could press and it would automatically generate a random scramble and mix up the cube.
|
Populate RAMPS shield with stepper drivers (Pololu).
Attach Arduino Mega to RAMPS shield.
If you need data storage use SD card shield (maybe boot load from it).
If you want an interface attach an LCD or touch screen shield.
These are all parts often used to build RepRap printers.
When used as a printer you can tether the printer with USB (emulated serial) or use a SD card to standalone.
The Arduino provides the USB connection and the SD card shield is obviously for the SD card.
Program the Arduino yourself instead of using a G/M code interpreter that would usually read the G/M code from the card when this is used to be a RepRap printer control.
The platform is still Arduino underneath.
http://www.makergeeks.com/a4stmodrmo.html
http://reprap.org/wiki/Arduino_Mega_Pololu_Shield
http://reprap.org/wiki/RAMPS_1.4 - Test code at the bottom.
Please be aware that the test code uses the Arduino digitalwrite function which is fast enough but there are faster ways to toggle Arduino pins.