Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Is there a high-GPIO count PIC with through hole leads, instead of SMD?

Status
Not open for further replies.

PomPom

Junior Member level 3
Joined
Oct 9, 2012
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,522
I want to control a matrix of LEDs for a little light show project. I want to run a grid of 18x18 LEDs and need 36+ IO but can only find that as an SMD package.

I don't know if it's even possible to place SMD components down and hook them up to all my discrete LEDs, so I'm wondering if there is a through hole solution.

And on that note, is there a place to buy these through hole components for a reasonable price? The distributors I've looked at all seem to be for high-power applications--where did my school get the cheap through hole FETS and OPAMPS that they supply us with?

Thank you,

Roman
 

The 40 DIP package is the largest through hole package available from Microchip.

One option is the use of external Shift Registers, like the 74HC595, examples and PIC source code are available in the following thread:

Questions bout shiftregisters (74HC575, 74HC597)


Another is the use of I2C/SPI Port Expanders like the MCP23017 or MCP23S17.

Both solutions are cascadable, allowing the use of multi devices to provide high I/O pin counts.


BigDog
 

To be honest I don't understand either of those. The first seems taking parallel IOs, turning them into a few serial streams, and then back to parallel? I'm pretty new to this, could you please explain it in simpler terms?

thank you for your response
 


So this way I could multiply my number of outputs by 8 (for each shift register i use?) I send, eg, 10101010, and it will become 8 separate outputs. Then my PIC would have to be 8 times faster than I had planned, right?
 

So this way I could multiply my number of outputs by 8 (for each shift register i use?) I send, eg, 10101010, and it will become 8 separate outputs.

Yes, correct and you can cascade several shift registers to create a large group of outputs.


Then my PIC would have to be 8 times faster than I had planned, right?

It is difficult to answer that question with certainty without examining your design requirements and your code.

The SPI port is capable of 10MHz performance on most PICs and essentially automates the process to a few lines of Assembly or C statements.


BigDog
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top