Demux


Closed Thread
Results 1 to 7 of 7

Thread: Demux

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Just a thought to make one.

    Find a PIC with enough I/Os. 1 input and 16? outputs.

    Code something like..

    If PIN_IN is high then
    count = count +1
    If count = 1 then high LED1
    If count = 2 then high LED2
    so on and so on...
    If count = 17 then count = 0
    Start over.

    Every time PIN_IN goes high the counter increases.
    Dave
    Always wear safety glasses while programming.

  2. #2
    xnihilo's Avatar
    xnihilo Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Just a thought to make one.

    Find a PIC with enough I/Os. 1 input and 16? outputs.

    Code something like..

    If PIN_IN is high then
    count = count +1
    If count = 1 then high LED1
    If count = 2 then high LED2
    so on and so on...
    If count = 17 then count = 0
    Start over.

    Every time PIN_IN goes high the counter increases.
    Sure, but i was thinking about a cheaper solution. Such pic costs over 3usd. a demux is about .60 usd. i can't beleive such step-up switch doesn't exist.

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


    Did you find this post helpful? Yes | No

    Default

    4017 is what you need.

    You can have as many as you want with cascading.

    A single pulse is good enough for all.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  4. #4
    xnihilo's Avatar
    xnihilo Guest


    Did you find this post helpful? Yes | No

    Smile Thanks

    That's exactly what I was searching for.
    Thank you for your help!

Similar Threads

  1. Demux
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 13th April 2008, 17:15

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