A friend and I are in the process of designing and creating a 3d printer (that prints in chocolate instead of filament). We're new to coding (currently enrolled in an intro. to C class at our university) and have decided to use an arduino to control the stepper motors for our project. We have a few questions and figured the best place to ask was this forum. We are not asking for anyone to write our code for us, just for some helpful suggestions on how to write it and where else to look for this information.
What is the best way to transfer information (specifically g-code) from a raspberry pi to an arduino UNO R3?
What is the best way to read g-code and control stepper motors with the code?
Would one need multiple arduinos to control up to 6 stepper motors along with 4 heating elements, a pc water pump, and a digital thermometer, or would 1 be sufficient?
Would one need multiple arduinos to control up to 6 stepper motors along with 4 heating elements, a pc water pump, and a digital thermometer, or would 1 be sufficient?
One is sufficient.
What is the best way to transfer information (specifically g-code) from a raspberry pi to an arduino UNO R3?
Over serial using the USB connector.
What is the best way to read g-code and control stepper motors with the code?
However I reckon (as has already been mentioned) you will probably get a lot more useful advice, especially about ready-made software, on the RepRap Forum. I suspect they have come across chocolate printing before.
I would suggest using the Marlin firmware, since it is already trimmed for a 3D printer (GRBL is designed for CNC) you may not even need to make any modifications to it, with the exception of the config file, which is very well documented.
As stated previously the reprap forum is probably the place you want to ask.