Skip to content

FirstBuild/IceGantry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IceGantry

This is a very simple project for the control of two stepper motors using a double-throw switch. Two discrete push buttons could be used as well.

Connect the common pin of the SPDT switch to circuit ground and the other two pins to the inputs on the Arduino.

        +-----+
        |     +---+  Connect to D9 on Arduino
        |     |
+-------+     +---+  Connect to GND pin on Arduino
        |     |
        |     +---+  Connect to D10 on Arduino
        +-----+

        Switch

You can use any pins of your choice, just make sure to connect the center pin to GND.

Other pins used in the sketch:

  • D2 - Step X output to the stepper driver
  • D3 - Step Y output to the stepper driver
  • D4 - Step Z output to the stepper driver
  • D5 - Direction X output to the stepper driver
  • D6 - Direction Y output to the stepper driver
  • D7 - Direction Z output to the stepper driver
  • D8 - Enable output to the stepper driver

Any stepper motor driver that uses a direction and step input could be used, such as the EasyDriver or the gShield.

Uses the InputOutput library.

The ASCII diagram was created with the awesome asciiflow.

About

Control of two stepper motors using a switch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%