Jason (jcreed) wrote,
Jason
jcreed

Got the stepper motor working!


It works as long as I give it as small as 12ms pulses, which works out to almost a couple of revolutions per second. However iiuc the datasheet's spec of the steps I am supposed to do is in apparent conflict the datasheet's spec of where the coils are. For example, looking at the diagram of the coils, it looks like the RED and BLU wires are driving the same coil in opposite directions, and so should never be low at the same time, but the step chart has them low at the same time during 4. Also empirically following the step chart doesn't work, but doing [RED YEL] [RED BLK] [BLU BLK] [BLU YEL] does work.

Anyway I'm not sure why anything less than about 12ms stutters weirdly. Datasheet also says a max of "300pps" which I take to stand for "pulses per second" probably, which would mean 3.3ms.
Tags: arduino, electronics, motor
Subscribe

  • (no subject)

    Some further progress cleaning up the https://xkcd.com/1360/ -esque augean stables that is my hard drive. Tomato chicken I made a couple days ago…

  • (no subject)

    Did some personal archaeology. Helped a little with laundry. Threw some chicken, onions, tomato, stock, peppers in the slow cooker and hopefully…

  • (no subject)

    Dinner with akiva and dannel at nuevo portal in carroll gardens. Ate a pile of chicken stew and rice and beans and maduros, good times. I do miss…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments