Remarkable how difficult simple things can get. I'm trying to translate the product I need to something that shops use to describe it
If found two things:
Turning knob with a lot of pins, a pin selector. This plus a bucket of resistors and I can make every selection give a different voltage. Thus letting one Arduino pin listen to that and decide what variable to use.
Put that into one housing and it's called a.... detented potentiometer. (correct?)
Or perhaps better said: take a potentiometer, add a bunch of notches to the axis/knob and it will have a certain resistance at every position. Where the detent are the notches that you feel when you turn. and it should have those positions numbered around the knob.
Bloody simple, used in handsfull in every cockpit but I just haven't found a low-cost, simple product from a shop that will not take weeks to get it to me.
I'll call some shops in the region to get the Dutch name for it. And perhaps even the whole item.
The idea is to have four selectors that each use one pin on the Arduino.
However.. I found something called 'digital potentiometer' Could that be a way to connect them all to ONE pin? Sounds like lots of code to decipher the digital signal but perhaps I'm wrong with that fear?
@PeterH thanks for the information. I've found a company (link
) that you probably mean. Adding up a few items brings me to 1000 pounds in a second. That's way too much for our current situation. Also, it would take out a lot of tinkering and thinking for the team to learn from why, what and how of telemetry and using it to go faster. Pay, plug and play is not quite the aim of this game.
@WildBill: yes, that is a good idea. Perhaps it's possible to create a small circle the GPS can move in without triggering the logging. Perhaps add input from the gyro or engine start. The boat is lifted out of the water after almost every run. The engine is started at the beginning of every run. But also shut down before the actual race runs. So perhaps engine start, starts the logging. Engine stop does not stop it immediately.
A switch in the cockpit would be possible but a possible source of error: stressfull times at the start so forgetting to flip it is easy.