How do you connect flimsy wires, such as for instance those coming out of a piezo element like this: Piezo Element - SEN-10293 - SparkFun Electronics
so that they make a secure connection with the Arduino I/O pins (or with a solderless breadboard, for that matter) suitable, if need be, for a permanent Arduino device?
If you try to insert them directly in the sockets they bend and the connection is all but secure.
I searched the forum and found similar topics but they all deal with using jumper cable for a breadboard to Arduino connection (which I have).
I was thinking maybe to solder the wire to a male header like this one:
But it seems to be a tedious job and I am not sure how firm the wire-header connection will end up to be.
Alternatively to solder them to a piece of solid 22 g (I think) electric wire but I have the same reservations for that as well.
I had the exact same issue with the speaker lol - for me, i simply got a pair of scissors cut both male ends off so we're left with the 2 spikey bits on both ends.
I then force 1 end in with the piezo + wire and you guessed it, the other end with the - wire. - not fell out once since then
How do you connect flimsy wires, such as for instance those coming out of a piezo element like this: Piezo Element - SEN-10293 - SparkFun Electronics
so that they make a secure connection with the Arduino I/O pins (or with a solderless breadboard, for that matter) suitable, if need be, for a permanent Arduino device?
Solder the leg from a LED or resistor to the end of the flimsy wire.