easiest switches multiplexing method?

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!

Thank you!

..take a look

knut_ny:
..take a look
SparkFun Shift Register Breakout - 74HC595 - BOB-10680 - SparkFun Electronics

Hey thank you.

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 hate myself for living in this country,

What country? You haven't filled in your location so we don't know.

have a few 74HC595, is there a simple way I can use them for this purpose

These are serial in parallel out shift registers they are used for getting extra outputs. Multiplexers are used for getting extra inputs, so no.

Grumpy_Mike:
What country? You haven't filled in your location so we don't know.

Hi, Argentina

These are serial in parallel out shift registers they are used for getting extra outputs. Multiplexers are used for getting extra inputs, so no.

I see, the product knut_ny linked seems to be based on that ic, that's what I thought they could be useful.

There is a video..
I should of course pointed to the correct page: SN74HC165 Shift-In Breakout - BOB-11512 - SparkFun Electronics
I buy most of my parts from Thailand.. the 74-165 can be found
here: 74HC Series - 74 SERIES - ( IC ) INTEGRATED CIRCUITS

Thanks, it's the same case, I can't find that product here but just the IC.
Would that help?

The DIP-variant can be used on a breadboard.
If you can solder this isnt very difficult.

Thank you, I will google for some arduino example.

knut_ny:
..take a look
SparkFun Shift Register Breakout - 74HC595 - BOB-10680 - SparkFun Electronics

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.

OP, if you are just learning with the part you do not need to waste all that money for a soldered SMT component. With all due respect, you are better off getting the DIP part and looking at the datasheet to find the pin layout.
From Mouser:
http://www.mouser.com/ProductDetail/Texas-Instruments/SN74HC165N/qs=sGAEpiMZZMtOXy69nW9rM0%2FHbfl0f%252b3puKRYWMsAIVE%3D
Datasheet:
http://www.mouser.com/ds/2/405/scls116g-316652.pdf

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.

Hope this helps.

may bee an idea to add sockets when prototyping..

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.

Henry_Best:
How many is 'a lot'?

about 100

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.

CrossRoads:
If you have toggle switches, then you can't multiplex those. Multiplexing only works for momentary contacts.

Thank you sr, I didn't know that.
What would be the solution for handling a lot of toggle switches with just a few inputs?

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)

@jay98,
HC165 shift register like I showed. Read it periodically to see if any changed.

Thank you, finally i got some time to spend into this.

Is this wired properly?

I made my own because I'm very bad interpreting other people sketchs :*

Need a 0.1uF cap from Vcc to Gnd.
Need to control CLK INH as well.

easily my favorite soldering vids.... Basic Soldering Lesson 1 - "Solder & Flux" - YouTube

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.