I made a little setup to drive a stepper motor from an RC receiver, it kinda works but I have a few issues I want to get some response from more advance users. Any advice is welcome !
weird power thing, If I power the arduino Nano FROM USB, everything works fine, the motor spins right when I turn the remote wheel right, and left when I turn it left, also the speed increases as I turn the wheel to it's maximum. If I power the whole system from an dedicated transformer (220v to 5v) the arduino part works the same, voltage is steady at 5.0v, the arduino grabs the receiver signal and convert it to pulses and direction , but the stepper driver doesn't work, it has power on both sides (5v from the same source I power arduino , and 9v for the motor). You can see in the video bellow when I change the power source, the leds flash faster and faster as I move the remote wheel but the stepper doesn't spin at all, only if I power the arduino from USB
Stepper speed. I don't know why the stepper speed is so low, I tried a different program just to add LOW -> HIGH on step pin in the loop, nothing else, and still the speed seems low, is this the maximum speed an arduino can generate ? Should I use a dedicated hardware / chip to generate an higher number of pulses, any advices ? I still need to use arduino to convert the PPM signal, if there is a chip that can connect to arduino and receive somehow how fast it should generated pulses for the driver it will be perfect.
In the video bellow there is the onboard arduino led which just flashes when a step should be made, the other led, the blue one flashes when actualy a step is sent to the driver, the white led is on the DIR pin, you can see it turns off when I move the wheel in one direction and turns ON when move the other way. The leds flash very fast but the camera can't record that fast. But the stepper spins very very slow even at maximum speed.
PS. I tried to embed the video with but doesn't work, if a moderator can embed it directly will be great.