Electronics

Why do we need Electronics

  • To control the stepper motor drivers which will control the movement of the CNC mechanism.
  • To control the relay which will consequently control the printing of the pizza dough.

WorkFlow


Image source
The components
Component Image Component Name Component Quantity
Arduino Uno Board QNT: 1
BreadBoard (Long) QNT: 1
Electric Stepper Motor QNT: 4
Stepper Motor Driver QNT: 2

Connecting the circuit



Programming the board

GRBL Software


GRBL is An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino.
The GRBL uses G-code as input, and outputs motion control via the Arduino.

To download GRBL firmware click here.
  1. Download the GRBL Software as a zip file from the github page
  2. Install GRBL library in the arduino IDE and upload it to the arduino uno.
  3. At this point, the Arduio uno is able to read G-Codes to control the motors using GRBL. However, we are still missing a way to send the gcode to the arduino.
    In other words, we need some kind of controller that sends the G-code to the arduino uno. This controller would be Universal Gcode Sender, which is a free, open-source software used to interface with CNC controllers flashed with GRBL firmware.

  4. Download the Universal Gcode Sender
  5. Run the ugsplatfrom executable file. (Requries Java)
  6. Finish configuration and setup.

Testing Connection/Motors

First Test


The first test failed as visibal smoke came out of the connections alongside the burining smell. This is due to some misconnection in the circuit.

Second Test


The second test on the other hand worked perfectly.

Gallary