Decoder to control an elevator (lift) for model trains.
The print includes two micro controllers.
The ATMEGA 328 is used to control two stepper motor drivers (X and Y = left and right). Software is intended to be [GRBL](https://github.com/gnea/grbl/wiki). Limit switches can be connected via two [opto-couplers](https://github.com/gnea/grbl/wiki/Wiring-Limit-Switches).
The ATMEGA 2560 is the main...
GRBL Writing Machine Controller
Support stepper motor/steering gear/electromagnet to lift
Support offline operation
Support text transmission
Input Only (no pullup/pulldown) If you do not have external pull up or pull down resistors. Do not use these pins!
GPIO_NUM_34 GPIO_NUM_35 GPIO_NUM_36 GPIO_NUM_37 GPIO_NUM_38 GPIO_NUM_39
To get rid of the many internal wires inside my grbl /driver switch box i decided to develop a complete solution with an arduino nano and optocouplers like shown on https://github.com/gnea/grbl/wiki/Wiring-Limit-Switches.
I want give the OK's a chance because of bad experiences with alarm triggers due electrical static or magnetism from other machines.
Also i plan to make a power distribution bo...