Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/19/07 16:50
Read: times


 
#131115 - 8051 & L6219 (Stepper Motor Driver)
Hi,

I was wondering if any one has experience using the L6219 with the 8051.

The data sheet for the L6219 is located at http://www.st.com/stonline/...s/1377.pdf

I am currently using the T89C51AC2. I have the hardware setup as per the data sheet.

I was wondering about recommendations on how to micro step my motor efficiently using the uP. Currently I have been able to implement half stepping and it works OK. However I am not too happy at how I implemented it:

for (i = 0 ; i < steps ; i++)
{
Rot_I11 = 1;
//_wait_ms(2);
Rot_PH1 = 1;
_wait_ms(2);
Rot_I11 = 0;
_wait_ms(2);
Rot_PH2 = 0;
//_wait_ms(2);
Rot_I12 = 1;
_wait_ms(2);
Rot_I12 = 0;
_wait_ms(2);
Rot_I11 = 1;
//_wait_ms(2);
Rot_PH1 = 0;
_wait_ms(2);
Rot_I11 = 0;
_wait_ms(2);
Rot_I12 = 1;
//_wait_ms(2);
Rot_PH2 = 1;
_wait_ms(2);
Rot_I12 = 0;
_wait_ms(2);
}

If anyone could please offer suggestions on a better way to control this and how to control it using micro stepping instead of half stepping I would appreciate it.

Thanks,
Roque

List of 22 messages in thread
TopicAuthorDate
8051 & L6219 (Stepper Motor Driver)            01/01/70 00:00      
   CNCZone            01/01/70 00:00      
   Maybe this will help            01/01/70 00:00      
      this helps a lot            01/01/70 00:00      
         Think Search and Replace            01/01/70 00:00      
            static            01/01/70 00:00      
               static about 'static' and 'code'            01/01/70 00:00      
                  That's modularity for you!            01/01/70 00:00      
                  Different Reason            01/01/70 00:00      
         Concepts            01/01/70 00:00      
      Imprecise comment            01/01/70 00:00      
         Another imprecise comment            01/01/70 00:00      
            Ah... That is the catch :)            01/01/70 00:00      
            Better            01/01/70 00:00      
               Yup            01/01/70 00:00      
                  Works Beautifully            01/01/70 00:00      
                     Another happy ending            01/01/70 00:00      
                        One more problem - Direction            01/01/70 00:00      
                           Extra Table Shouldn't Be Necessary            01/01/70 00:00      
                              thats what i thought too            01/01/70 00:00      
      nevermind i screwed up...            01/01/70 00:00      
   Visit Jones on Stepping Motors            01/01/70 00:00      

Back to Subject List