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
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
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.
The simple answer to that is, control 6 LED's separately with only a 8 pin DIP package.
http://ww1.microchip.com/downloads/e...doc/40040b.pdf
And with one input to spare.
Last edited by dhouston; - 13th September 2009 at 03:05.
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.
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.
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
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
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.
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
Hi,
This is not exactly PBP **smiles** , but this could help ... looks like PBP !
Alain
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 " !!!
*****************************************
If you wanted a PBP example...
http://www.picbasic.co.uk/forum/show...lectronic+Dice
Bookmarks