Hi, as title, what multiplexing method would you suggest for someone with very little knowledge and very bad soldering skills? :*
I'm planning to do something that requires a lot of push buttons and toggle switches
PS: Not sure if it's multiplexing or charlieplexing, but you know what I mean, just trying to save as many pins as possible!
I hate myself for living in this country, but there is nobody that imports that kind of stuff.
However I have a few 74HC595, is there a simple way I can use them for this purpose?
I'm sorry but having a breakout for a 74HC165 is ridiculous. Especially at $2.95 + shipping for a part that costs $.52. As a previous poster suggested, the DIP part fits into a breadboard.
This page is a handy guide for different types of button matrix reading. I like the dual shift register mux myself but what works best for you will be determined by your specific application needs.
Jay98:
Hi, as title, what multiplexing method would you suggest for someone with very little knowledge and very bad soldering skills? :*
I'm planning to do something that requires a lot of push buttons and toggle switches
How many is 'a lot'?
A 74HC4067 can handle 16 inputs or outputs, two of them can handle 32 inputs using only 6 Arduino pins.
If you have toggle switches, then you can't multiplex those. Multiplexing only works for momentary contacts.
74CH165 is good for that. Pull up all inputs with resistors. Periodically sample all inputs with SPI.transfer( )s & act on the pins that are low or whatever.
does this look like a keyboard?.
.. where keys are placed in a matrix of som kind..
I'd guess there exists circuits built for such tasks.. just a thought.
(an old PC keyboard send serial 'scan codes' for each key)
I know there are a lot and they are longish, but.... Watch them all, even the repair series, you'll learn a ton and you'll get better the more you do it.
good luck on your project.