Timers and Stepper Motor Control

murray_lang
Posts: 24
Joined: Fri Oct 07, 2016 4:43 pm

Re: Timers and Stepper Motor Control

Postby murray_lang » Mon Feb 20, 2017 9:07 am

Hi Peter,

Yes, if it was just for my pleasure I would go straight to a dedicated stepper driver. However I am working on a prototype that will be manufactured in reasonably large numbers, so what might be a small cost difference for hobby purposes can become significant. Still, when you look at the loss of I/O opportunities in using so many pins for that purpose, the decision is not so straight forward.

A single 8-bit shift register and a single ULN2803 Darlington array will drive two stepper motors, and require only two GPIOs. I think that would be hard to beat cost-wise, but the decision is not made yet.

All good clean fun.

Murray

Yuggoo
Posts: 1
Joined: Tue Aug 01, 2017 5:27 pm

Re: Timers and Stepper Motor Control

Postby Yuggoo » Thu Aug 03, 2017 6:27 pm

qjones wrote: p.s. Just watched your video on the MPU-6050 and funny enough the project I am working on is a 2 wheel balancing robot! I have gotten the MPU-9250 interfaced with the DMP functions and it is working nicely if anyone is interested.
Hi Jones,
I'm interested on how did you interfaced with the DMP functions, did you used the motion driver? can i take a look at the interface code?

Thanks

Who is online

Users browsing this forum: linrh321 and 121 guests