Currently building a Satnogs Rotator and wanted to make the electronics from existing parts I had laying around from old 3d printer experiments.
I’ve ported the Satnogs rotator firmware to platform.io to make it easy to install on an Arduino Mega and also changed and tweaked a few things to make it work for the RAMPS 1.4 board that most 3d printers use. Naturally this will only work if your building the stepper version of the rotator.
I haven’t finished building my rotator yet so I can’t vouch for how well this works, and it’s only been tested on my machine, on the bench, so feedback would be greatly appreciated.
Some other notes on the repo/config:
- I’m not using microstepping
- I have a different gear ratio because I bought the wrong pulleys
- Max speed and acceleration should probably be tuned for your use case
- Using serial (over USB) rather than RS-485 (in lib/easycomm/easycomm.h replace “Serial.” with “rs485.” to change to RS-485)
These can be configured in src/stepper_motor_controller.cpp file