I'm working on my first Raspberry Pi project. I'd like to turn my project "on" when a force, of a few grams, is applied to a string (i.e. "pull the string" to turn the unit on, the unit turns off when the string is released). It looks like one way to solve this is to use a a mini load cell. As long as the strain gauge detects a force above n gram, the unit remains on.
Is a load cell/strain gauge the best way to go for this functionality? I haven't really worked with electronics before so I'm not even sure I'm searching for the right terms.