Motor direction control with One button ; no PIC used.


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185

    Default Motor direction control with One button ; no PIC used.

    Hi there,

    I think about PICs even when it comes to make very simple circuits. It has become an addiction !

    Here is one that I was going to make using 8-pin PIC, but then I realized that "hey, why PIC?"


    Attached schematic costs about 1/10th of what it would cost with a PIC.


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

  2. #2
    Join Date
    Sep 2007
    Posts
    10


    Did you find this post helpful? Yes | No

    Question

    Can you explain that how its work?

    You can send me Turkish explanation to my inbox.

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


    Did you find this post helpful? Yes | No

    Default

    Sure I can.

    In short,
    1. Press button and motor turns in one direction.
    2. Press button and motor stops.
    3. Press button and motor turns in opposite direction.
    4. Press button and motor stops.... and the cycle repeats.


    1. When the circuit powers up the first time, Q0 is 1. Nothing happens.
    Devre ilk calistiginda Q0 cikisi 1 olur. Calisan birsey olmaz.

    2. The first time the button is pressed, Q1 is 1 and Q0 is 0. This powers the motor in one direction. Let say say CW.

    Butona ilk basildiginda Q1 cikisi 1 olur ve Q0 cikisi da 0 olur. Bu durumda motor bir yonde hareket eder. Mesela CW yonunde diyelim.

    3. The second time the button is pressed, Q2 is 1 and Q1 is 0. Motor stops.

    Ikinci defa butona basildiginda Q2 cikisi 1 olur ve Q0 cikisi da 0 olur. Motor durur.

    4. The third time the button is pressed, Q3 is 1 and Q2 is 0. This powers the motor in opposite direction. CCW.

    Ucuncu defa butona basildiginda ise Q3 cikisi 1 olur ve Q2 cikisi da 0 olur. Bu durumda motor ters yonde hareket eder. CCW yonunde.

    5. The fourth time the button is pressed, Q4 is 1 and resets 4017. Now Q1 is 1. system gets back to its initial state.

    Dorduncu defa butona basildiginda ise, Q4 cikisi 1 olur ve 4017 kendini resetler. Bu durumda sistem baslangic durumuna geri donmus olur.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  4. #4
    Join Date
    Sep 2007
    Posts
    10


    Did you find this post helpful? Yes | No

    Smile

    I understood.Intelligent project.Thanks for explanation.Can I upload your circuit to my personel electronic web page www.izoelektronik.com ?
    ...Not:İzin verirseniz devreyi siteme koyabilir miyim?Eğer foruma üye olursanız yazının altındaki yazar kısmına sizin profilinizi verebilirim.Üye olmazsanız ya da koymama izin vermezseniz canınız sağolsun

    Thanks for everything.

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


    Did you find this post helpful? Yes | No

    Default

    Sure, you can.

    Thanks.

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

  6. #6
    Join Date
    Sep 2007
    Posts
    10


    Did you find this post helpful? Yes | No

    Smile

    I send message
    Please check inbox

Similar Threads

  1. PIC never reacts to Button
    By AlfonsoB in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 30th November 2008, 16:44
  2. Motor Control PLC with a PIC
    By sougata in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 2nd November 2006, 07:59
  3. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 02:43
  4. Code check -- button not working
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 2nd March 2006, 22:43
  5. Button pressed time control
    By tanero in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 15th August 2005, 15:17

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