This Makevember project automatically switches between headphones and speakers whenever the headphones are picked up. This issue has bugged me for a long time. When I want to use my microphone, such as when receiving a Skype call, I need to disconnect my speakers and use headphones to avoid echos and feedback from the speakers to the microphone. Having to plug in the headphones each time or access audio configuration is cumbersome and it can wear out the jacks.
So I designed an automated switch that makes the correct connection whenever I pick up or hang up my headphones.