I'm building a special treadmill that will keep a unicycle rider in the middle of it no matter his speed.
I'm starting with an existing treadmill, but I'll swap the motor out for a DC motor that can move in both directions.
I haven't purchased a motor or motor controller yet.
I'll be using a microcontroller and I'd like to output PWM to the motor controller.
Since the treadmill itself will be stationary, I'd prefer to use AC power and no batteries.
I figure my motor will draw similar currents to an electric powered bike.
So, how would you power a motor controller and DC electric "bike" motor from AC?
Thanks for any help!