0

I have a mission. Wanted to build bed carousel for my baby and now it's a matter of honor. What parts i have:

  1. 5 wired stepper motor - I know the trick how to convert it to bipolar one.
  2. L298N Driver
  3. mks osc v1.0 controller.

I've spent literally 2 days trying to figure out how to integrate it but i must say i am the beginner. Could you please help me and tell me if it's even possible(manually controlling direction and speed of stepper motor using those parts - without any microcontroller). And if yes how to wire L298N with mks osc v1.0? Cheers!

enter image description here

RussellH
  • 15,016
  • 2
  • 10
  • 38
woodson87
  • 1
  • 1

1 Answers1

0

The L298 is a dual bridge. It does not have the logic for step and direction input. It would take some logic ICs to generate that. And far more logic to generate microstepping for smooth motion at a fraction of the pulse frequency. Using a 1/16 microstep controller and (say) a 1.8° stepper, you'll get 3200 pulses per revolution, so 100 RPM would be about 5kHz.

If you replace the L298 board with a stepper driver board appropriate for your stepper motor you can simply connect them (small steppers for 3D printers and such like often use cheap modules such as those based on the A4988 chip). There are metal-cased modules suitable for larger steppers. They all will accept step and direction and generally have some adjustment for coil current (and can accept higher voltages- up to 12, 24 or even 48V - in order to better control a low-voltage stepper. I don't know if your pulse/direction generator frequencies are appropriate for a "Baby bed Carousel" or whether the resulting angular velocities would be more at home in a trebuchet emulator, but that's another question.

The L298 is a ancient and fundamentally evil part that wastes more power than it supplies to the motor at low voltages. I suppose it was the best they could do in the 1970s.

Spehro Pefhany
  • 397,265
  • 22
  • 337
  • 893