Skip to content

UCLAdmaFABLAB/encoder-and-stepper-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DMA Fab Lab Encoder/Stepper demo project

Encoder demo gif

Parts list:

Code:

Fabrication:

  • This project requires some laser cutting. There are two files in the Fabrication folder:
    • Electronics plate laser cut.ai
    • Main plate laser cut.ai.
    • Both files contain instructions for materials
  • There are two optional 3D printed parts. Both can be found in the Fabrication folder:
    • CableGuide v3 is a small cable routing part that can help managing the wires
    • Reed Switch Holder v2 supports the reed switch at the correct rotation relative to the magnet

How it works:

  • Once plugged in, the stepper motor will turn until it finds the "home" position (3 o'clock)
  • From there, you rotate the encoder arm by hand until it matches the 3 o'clock position
  • Now you can turn the encoder arm and the stepper motor will follow
  • If both arms get misaligned, you can press the "Reset" button, that will make the stepper search for its home position again
  • If you spin the encoder arm too quickly, the stepper will stop, the "Mode/State" LED will blink and the the stepper will search for its home position again

Documentation images and video can be found in the Photos folder.

Photo with part names

About

Rotary encoder and stepper motor demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages