8 pin DIP w/6 outputs ?


Closed Thread
Results 1 to 13 of 13
  1. #1
    Join Date
    Mar 2004
    Posts
    92

    Default 8 pin DIP w/6 outputs ?

    I have been searching Microchip.com and haven't found any 8 pin DIP PIC's with 6 output. The MCLR is always an input only, which I basically understand but is there any model with 6 outputs.

    Thanks,

    Steve

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


    Did you find this post helpful? Yes | No

    Default

    As far as I know you will always have Vdd, VSS and MCLR.

    What are you trying to do? Maybe there is another solution?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Mar 2004
    Posts
    92


    Did you find this post helpful? Yes | No

    Default

    The simple answer to that is, control 6 LED's separately with only a 8 pin DIP package.

  4. #4
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Last edited by dhouston; - 13th September 2009 at 03:05.

  5. #5
    Join Date
    Mar 2004
    Posts
    92


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Sam View Post
    I have been searching Microchip.com and haven't found any 8 pin DIP PIC's with 6 output. The MCLR is always an input only, which I basically understand but is there any model with 6 outputs.

    Thanks,

    Steve
    Quote Originally Posted by dhouston View Post
    Hi Dave,

    I figure (?) you're talking about tip 2 I/O multiplexing ? That may just work for my application. I'll take a close look at it now, it however means redesigning my PCB and changing the code.

    And wouldn't it leave 2 outputs to spare, GPIO.4 and .5 ?

    Thanks,

    SS

    EDIT: or was it tip 3 ?
    Last edited by Sam; - 13th September 2009 at 03:10.

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


    Did you find this post helpful? Yes | No

    Default

    Here is another option.
    http://www.picbasic.co.uk/forum/showthread.php?t=10200
    But it would be a complete redesign.
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Mar 2004
    Posts
    92


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Here is another option.
    http://www.picbasic.co.uk/forum/showthread.php?t=10200
    But it would be a complete redesign.
    Well that's very impressive that your 7 year old did some of the the work and the code ! And it's a very nice project, but it's not practical for my project as it must be on a 1" diameter single sided PCB.

    Thanks for the link anyway, it looks like the multiplexing will have to be the way to go for me.

    SS

  8. #8
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Sam View Post
    I figure (?) you're talking about tip 2 I/O multiplexing ? That may just work for my application. I'll take a close look at it now, it however means redesigning my PCB and changing the code.

    And wouldn't it leave 2 outputs to spare, GPIO.4 and .5 ?
    Yes, I meant Tip 2. It was past my bedtime - I meant to say it would leave an input pn free plus two input/output pins.

  9. #9
    Join Date
    Mar 2004
    Posts
    92


    Did you find this post helpful? Yes | No

    Default

    Hey Dave,

    Thank you very much, that multiplexing completely solved my issue ! I never thought about doing it like that but once you see it (tip 2) it makes perfect sense. It's just what I needed and it's working great.

    You're a great asset to the forum and I really appreciate all your help,

    SS

  10. #10
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    I'm surprised I remembered it. I had a copy of that PDF on a network HDD which failed a few weeks back but vaguely recalled it had several unconventional but simple methods for getting the most out of minimal hardware. I have a new, bigger NAS drive but had not grabbed a copy of the PDF until your post jogged my synapses.

    The Atmel AVR ATTiny12 allows you to use MCLR as an open drain output but its pinout is different.

  11. #11


    Did you find this post helpful? Yes | No

    Default

    I think that is officially called "Charlieplexing" and is a method originally though up by someone from Maxim Semi. Check this webpage:

    http://en.wikipedia.org/wiki/Charlieplexing
    Tim Barr

  12. #12
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Talking

    Hi,

    This is not exactly PBP **smiles** , but this could help ... looks like PBP !

    Alain
    Attached Files Attached Files
    Last edited by Acetronics2; - 14th September 2009 at 19:29.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  13. #13
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

Similar Threads

  1. Is this a K Type sensor?
    By jessey in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 21st November 2009, 13:55
  2. DS1820 with 16f688
    By jessey in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 23rd May 2009, 05:07
  3. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 17:11
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 17:07

Members who have read this thread : 1

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