If you are doing very slow (rpm) stepping then you do not need a sophisticated drive and can probably use one that use a power supply for the rated plate voltage of the motor, high end drives use a P.S. rated much higher than the motor and the control ensures that the current conforms to the rated value throughout the whole range up to a relatively high rpm..
I see lots of drives from $10 to say $50.
This is just a toy I am playing with .... figure it is a good project to learn about Arduino's and step motors.
I trust you now understand that dividing the clock pulses as I proposed will give you an exact 200 steps per revolution without gearing?First was the 60 movements. Somehow without gearing, it just does not make sense to me on dividing 200 to get 60 without an error occurring on every revolution.
You could use the 60Hz line frequency as I suggested.I was thinking about a real time clock but honestly I know very very little about timing.
I rather prefer a smooth moving second hand, which you don't see much now days, but there are a few digital-controlled analog clocks that do that, using a high frequency stepping motor, to avoid the annoying 1-second clicking sound.it would give the illusion of 1 second "clicks"
Nice work, one slight oversight, according to CSA Z432-04 "Safe Guarding of Machinery" the E-stop button should have yellow back ground.I think I may have posted this before but here is a typical panel I build:
https://www.facebook.com/pg/VermontCountryWorkshop/photos/?tab=album&album_id=433087233721468
Mike

Here's an example circuit for generating a 60Hz square-wave from a 120Vac 60Hz power line using an optocoupler for isolation.The idea of using line frequency is interesting. I have used opto-isolators before so I get the idea of detecting zero crossing

Incidentally if not already using it for panels, there is the N.A. reference NFPA79 'Electrical Standard For Industrial Machinery'.Anyway, thanks so very much for pointing this out!
For field use I picked up a Syscomp unit for use with a laptop, double beam and storage scope.1) I have been eyeing a cheap oscilloscope. Lots of cheap ones all over ebay. Are these $25 ones worth anything? Just for things like this to see the output.
Mike
The panels I order usually either come with the door GND bonding conductor or at least have the threaded stud for adding it.I am very anal about things like ground (you can see in my pictures, I am the only one I have ever seen ground the front door), using oversized wire and starters. all my panels with 24 VDC controls.
Ditto!I hate self tapping screws. I tap every hole in the panel. Way over kill.
Most of my panel work is/was for PLC/CNC retrofits, where the panels contained anything from 5vdc equipment to 575 3ph.You can see I do a bit of everything.