Anyway, I suspect that non-soldering projects may have a bigger audience.
Anyway, I suspect that non-soldering projects may have a bigger audience.
Use a tiny dab of solder on the iron tip for better heat transfer, and heat the joint for longer than it feels like you should need to. Melt the solder wire against the joint, not the iron - the iron will always melt solder, but that's not what it's there for; it's there to heat the joint until that melts the solder, which is what needs to happen for proper wetting and bonding to occur.
Also, resist the temptation to use too much solder; you don't want a blob, but rather a clean, concave flow from wire to pad. That's how you avoid cold joints.
You shouldn’t heat the joint for more than about 2 seconds before feeding solder into it. If you need longer than that, you probably don’t have a properly tinned tip or a properly cleaned joint, or your tip is too small, or perhaps your iron has low heat capacity.
I also highly recommend using lead-based flux-core solder, e.g. 63/37 Kester 44. The lead-free stuff is awful to work with.
Anyone trying to learn to solder should watch these videos, especially #1: https://www.youtube.com/playlist?list=PL926EC0F1F93C1837
Try and place the iron so that it heats both the pin and the pad at the same time. It helps to have a tiny bit of solder on the tip. Then, after around 1 second (unless the pad is on a ground plane, then maybe much longer...), feed in a bit of solder. It should melt and flow immediately on application. You don't need a lot to get a good connection, it should make a little 'hill' on the PCB. Remove the solder, then remove the iron. The joint should cool and leave a nice shiny connection (depends on the solder.)
Tip for using lead-free solder: when you are done soldering, always leave a big blob of solder on the tip before turning the iron off. This way, the tip doesn't oxidize in air while cooling, and you don't have to clean the tip all the time. Next time you solder, just one wipe of the tip after it heats up and it will be shiny and ready to go.
Do that and you'll never get a cold joint