4 ms·
Also, look into controlling the ECU directly instead of futzing around with mechanically controlling the cruise control (yuk). And this really, really needs a
by deepspace 3y ago
Also, look into controlling the ECU directly instead of futzing around with mechanically controlling the cruise control (yuk).
And this really, really needs a proper RTOS and "software written by someone more professional than someone who tinkers with Arduinos", since malfunctioning software can destroy the engine and/or burn your house down.
For the same reason, it requires a proper PCB, not some yanky box of protoboard and wires.
- ska 3y agoYou don't really need an RTOS to do something like this safely, but agree you need more firmware knowledge than "tinkers with Arduinos" to stay clear of possible unfortunate failure modes. You definitely need to build in some interlocks and/or other sanity checking. Similar with the PCB's, many of the better dev boards are pretty decent, the problem comes with poor connections designed for easy access, etc. This can be resolved without spinning a new board though, or perhaps designing a simple extender.
- savrajsingh 3y agoArduino is single threaded on bare metal — you don’t need RTOS in this case, afaict