3 ms·
"There are eight basic directions: North, south, east, west, northeast, southeast, southwest, and northwest. One switch for each in the weather vane, but only t
by dylan604 4y ago
"There are eight basic directions: North, south, east, west, northeast, southeast, southwest, and northwest. One switch for each in the weather vane, but only two wires for all of them. But how?"
One of the first projects that I took on did a similar thing where there were 4 buttons all connected to one pin on an Arduino. Having next to 0 official EE schooling, this technique impressed me with its simplicity. Just need to ensure that the resistance of each one allows for space between the +/- tolerances of an analog signal. It's also one of those little "tricks" that makes me want to keep finding other new things and keep going.