Week 08: Adding Encoders

In the coming week we will work to add 3 encoders onto our machine's stepper motors. This will allow us to track the precise position of the machine in XYZ and begin controlling it directly from Grasshopper / Firefly. The encoder kits we will be using are small modular AMT-10X units by CUI Inc. that you attach to the rear shaft of the steppers.  The encoder kits were purchased from Automation Technologies.

Using Encoders with Arduino Digital Pins With Interrupts : Link

Arduino Boards > Digital Pins Usable For Interrupts
Uno, Nano, Mini, other 328-based (Pins: 2, 3)
Mega, Mega2560, MegaADK (Pins: 2, 3, 18, 19, 20, 21)
Micro, Leonardo, other 32u4-based    (Pins: 0, 1, 2, 3, 7)
Zero    (Pins: all digital pins, except 4)
Due    (Pins: all digital pins)

Testing optical encoders with Firefly / Grasshopper / Arduino on the Serpentine 3D Printer at CCA San Francisco with Jason Kelly Johnson, Michael Shiloh and students from the 2015 Creative Architecture Machines studio. Special thanks to Ray Gruenig. http://www.creative-architecture-machines.net/