In other news I've spoken to the new wizkid at work and he things this is doable..
Quote:
Originally Posted by alga
Lukasz, here's the schematic:
You can use Arduino Uno or whatever to test, but then to embed something smaller like Nano or Pro Mini is more convenient.
If you look at the source, https://github.com/alga/shiftlight/b...shiftlight.ino , you'll see that the pin numbers of the input and outputs, as well as RPMs for each led and for the blinking warning are spelled out in the constant definitions.
In order to set the switchover RPMs on a button press you'll need to add a button that grounds one of the free input pins, set the mode for that pin to INPUT_PULLUP, and in the loop check if the pin is LOW, and if it is, fill in the thresholds array with the new values based on current RPM. You'll need to delete the const specifier from the variable definition in order to be able to modify the array. Piece of cake.
|
So I have someone to hold my hand if/when I have a go at this. I did, rather impulsively buy
this at the weekend and hooked it up tonight. Works well. Instructions for setting it up are a bit rubbish but it's straight forward really. If I can make my own I'd use that instead and integrate it into the dash somehow.