motor - changing rotation way with one pulsd


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Location
    The Netherlands
    Posts
    45


    Did you find this post helpful? Yes | No

    Default

    Another possibility is to use two relays, controlled by two pins of the PIC. One for forward the other for reverse. See the simple attached drawing
    Attached Images Attached Images  

  2. #2
    xnihilo's Avatar
    xnihilo Guest


    Did you find this post helpful? Yes | No

    Smile

    Sayzer, Eggman,

    Thank you both.

    regards!

    PS:
    Skimask: that was the idea, using a pic to control the stuff but I can dedicate only one pin to control the motor so probably the idea of Sayzer is the one that might best fit my needs... Even if I will need to use relays anyway because the motor will be more than 5V.

  3. #3
    Join Date
    Mar 2006
    Location
    China
    Posts
    266


    Did you find this post helpful? Yes | No

    Default 150ms

    are you even sure the motor will have enough time to even move before the time is up?

  4. #4
    xnihilo's Avatar
    xnihilo Guest


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by Jumper View Post
    are you even sure the motor will have enough time to even move before the time is up?
    Yes, 150ms are enough for my 6v 340 ohms motor.

  5. #5
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by xnihilo View Post
    Sayzer, Eggman,

    Thank you both.

    regards!

    PS:
    Skimask: that was the idea, using a pic to control the stuff but I can dedicate only one pin to control the motor so probably the idea of Sayzer is the one that might best fit my needs... Even if I will need to use relays anyway because the motor will be more than 5V.
    Dont forget that the relay will probably take around 25mS to operate and release so a solid state solution might be much better.

    thee is also the life of the relay to consider. If you are changing direction every 150ms that is over 3.3 complete cycles of the relay every second. Even with a life of 1 million operations it will take less than 85 hours to reach that figure !!!!!
    Keith

    www.diyha.co.uk
    www.kat5.tv

  6. #6
    xnihilo's Avatar
    xnihilo Guest


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by keithdoxey View Post
    Dont forget that the relay will probably take around 25mS to operate and release so a solid state solution might be much better.

    thee is also the life of the relay to consider. If you are changing direction every 150ms that is over 3.3 complete cycles of the relay every second. Even with a life of 1 million operations it will take less than 85 hours to reach that figure !!!!!
    5ms is the time it takes to activate my relay.

    The motor turns everytime a shot is fired by the lasergame player (it's used as recoil simulator), I beleive he will not shoot more that a few dozen 'bullets" per game session, so player will be old before the motor is dead.

  7. #7
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by xnihilo View Post
    5ms is the time it takes to activate my relay.

    The motor turns everytime a shot is fired by the lasergame player (it's used as recoil simulator), I beleive he will not shoot more that a few dozen 'bullets" per game session, so player will be old before the motor is dead.
    OK, understand the application now

    I was thinking this was something that ran continuously !!!
    Keith

    www.diyha.co.uk
    www.kat5.tv

  8. #8
    xnihilo's Avatar
    xnihilo Guest


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by keithdoxey View Post
    OK, understand the application now

    I was thinking this was something that ran continuously !!!
    I finaly could find a Tubular Solednoid that may be what I need event if it still more expensive than a motor.

  9. #9
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by eggman View Post
    Another possibility is to use two relays, controlled by two pins of the PIC. One for forward the other for reverse. See the simple attached drawing
    It is also possible to make it using one dual contact relay.

    Right here it is: http://www.picbasic.co.uk/forum/showthread.php?t=8567

    However, our friend xnihilo needs to control the whole thingie with one pin.

    -----------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. 2D Matrix Rotation
    By Art in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 16th February 2010, 13:34
  2. Encoder rotation calculation
    By Stefan in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 31st October 2007, 08:37
  3. picbasicpro with rotation
    By cesurcelik in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 13th February 2006, 10:05

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts