Prototyping and validation

Validate the A4988 driver and the OLED display on a breadboard

Before moving on to the design of the electronic schematic, it is essential to validate the key components on a breadboard: the stepper motor driver and the display.

Step 1.1: Testing the A4988 driver on a breadboard

Goal: Validate that an A4988 driver works with a NEMA 17 motor.

A4988 tutorial

Tasks:

  • Build the A4988 + ESP32 + motor circuit on a breadboard
  • Set Vref for a current of 1A (see the A4988 tutorial)
  • Test the simple rotation code (full step)
  • Measure the current draw and the temperature of the driver

Deliverables: Photo of the setup in your Machine That Draws project

Step 1.2: Testing the OLED display (optional)

Goal: Display text and graphics on the OLED.

Tasks:

  • Connect the OLED display over I2C (see the SSD1306 tutorial)
  • Display: file name, status, progress
  • Create a simple menu with 2-3 options (Start, Stop)

Deliverables: Documentation of the prototyping (photos + code + test results) in your Machine That Draws project

Need help?