-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
I'm still in the preliminary stages of building a test circuit. I know I could use a L293D to drive it but it won't have the resolution as this setup. The L293D can only handle up to a 5 khz signal where as the circuit above can go 31.2 khz. The ECCP of the pic16f684 using pwm can microstep the motor providing an extremely smooth and accurate rotation. Microstepping the motors I have will rotate 0.083 degrees a step.
If you know of a single chip driver that can equal the resolution of the above circuit, I'm very much interested.
Hi, 51
a quick calculation will show with a 250 mm dia Gauge ( BIG Truck ...eh !), a half degree resolution is enough !!!
that is half the needle width ...
AND that is your motor FULL STEP resolution ... BTW.
so, 1/4 or 1/8 Microstepping will widely fit ... see Allegro 3967 driver, All in one ...
But you do it your way, of course !
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
How fast will your input signal be?
Microsteping is a term referring to modulating the current to each coil of a step motor in an effort to gain step resulotion. That is all microstepping describes. The circuit above appears to microstep to 1/8 step. It may be 1/16, but I don't think so. So what does 1/8 step mean? a full step is the amount of movement when 1 coil is energized. So 1/8 step is just that: full step/8. Taking the statement from the datasheet as you have "Microstepping the motors will rotate 0.083 degrees a step". You left out a very important part of that statement. The data sheet says microstepping at a rate of 12 steps per degree! Full step for your motor is .5 deg per step. So the microstepping they refer to is 1/6 step. All this just to say Using above circuit at full microstep mode, will really be .0625 deg per step.The ECCP of the pic16f684 using pwm can microstep the motor providing an extremely smooth and accurate rotation. Microstepping the motors I have will rotate 0.083 degrees a step.
I agree with Alain above. But before I did that, without telling anyone, I would try to direct drive it some how in full or half step .Afterall its only 22mA. But I also don't mind leting the magic smoke outIf you know of a single chip driver that can equal the resolution of the above circuit, I'm very much interested.![]()
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
More info/stuff to read
http://www.picbasic.co.uk/forum/showthread.php?t=101
http://www.picbasic.co.uk/forum/content.php?r=39
Dave
Always wear safety glasses while programming.
As it turns out, you could drive the motor direct from the tc44xx chips. They are designed to be able to do this. May have to do some fiddiling with things but much easier then messing with those fets
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
I've started a new topic in the General Section as I don't want to clutter up this section.
http://www.picbasic.co.uk/forum/show...4649#post94649
Bookmarks