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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/12/06 15:53
Read: times


 
#118173 - working but would like to know about ths
Responding to: ???'s previous message
hello all

thank you very much for the responce everyone gave last time, i did try to run the motor using L293N, and it does work but only on lower speed but offcourse it does make the motor to take steps. But there are couple of things i am interested to know. the problem is that when i run the motor on lower speed it works fine, but when i try to increase the speed the motor does not run and makes a low buzzing noise. the code i used is as below on which motor runs.


ORG 00H
LJMP MAIN
MAIN:

MOV P1,#0FFH
MOV P3,#0FFH

STAY:     / wait for p3.1 to go down before running

  JB P3.1,STAY
  
CLR P3.0   / signal to "enable pin" of L293N

CALL DELAY

HERE:      / signal sequence with some delay, if i decrease 
             this delay too much the motor does not run

MOV A,#33H

MOV P1,A

CALL DELAY

RR A

MOV P1,A

CALL DELAY

RR A

MOV P1,A

CALL DELAY

RR A

MOV P1,A

CALL DELAY

JMP HERE

DELAY:

   MOV R1,#09H

LOOP2:

   MOV R2,#07H

LOOP1:

   MOV R3,#0FFH 
 
LOOP:

   DJNZ R3, LOOP
   
   DJNZ R2, LOOP1 
   
   DJNZ R1, LOOP2
   
   RET



when motor is operated with above code, all looks okay but when i decrease the delay and try to run motor at faster speed, the motor does not run,

I would really appreciate any assistance.

regards
James


List of 14 messages in thread
TopicAuthorDate
comments on this link please            01/01/70 00:00      
   Looks OK            01/01/70 00:00      
      motor rating            01/01/70 00:00      
         Measure phase resistance            01/01/70 00:00      
   Pushing your luck.            01/01/70 00:00      
      Common ground            01/01/70 00:00      
         voltages            01/01/70 00:00      
            Stepper Motor Control Handbook            01/01/70 00:00      
      I'm not sure optoisolators will do ...            01/01/70 00:00      
         I am having a go at this            01/01/70 00:00      
            Optos...            01/01/70 00:00      
            Posting diagrams, etc...            01/01/70 00:00      
               working but would like to know about ths            01/01/70 00:00      
                  Try ...            01/01/70 00:00      

Back to Subject List