Hi !
I'd like to knows if anything like that exist :
Something like a jack connection, with a female connection that close the circuit when nothing is plugged in, and open the circuit when something is connected inside.
I'm looking to do that with a cheap (less than 1$) and small (approximatively the size of a 3.5mm jack or less) connector.
Here's a schematic of what i'm looking for :
Thanks!
That one could fit ! But unfortunately it's far too expensive for the project I want to do because I will need around 50 of them.
Just for giving a context, I will build a LEGO-like construction kit recognize by a computer using different value of resistors.
So finally I really don't need to have a jack connector, I just need a 2Pin connection (it could be coaxial, small pin connection like in a arduino, or even magnet or wathever ...).
If some of you have some experience with a cheap 2pin switch connector, it will be awesome !!
Thanks a lot
A potentially cheaper option is to use capacitive sensing.
Each block would have a capacitor connected across its two terminals. When you plug multiple blocks together the capacitance for each would add up. There are application notes for measuring capacitance using an ADC, so you could work out the total capacitance and divide it by the known capacitance of a single block.
You wouldn't have to then have switches to separate each block when you connect them.
Or you could just have your resistors in parallel, instead of series. Again, no need for switching, and you just need to measure the total resistance and calculate the combination of resistors that would come up with that value.