Lyonspride Posted November 6, 2015 Share Posted November 6, 2015 Decided to pull out the old Arduino prototyping board and have a go at my own "intelligent" self cancelling indicators Need some solid state relays and some other bits n pieces, but the LEDs show what i'm trying to achieve. I know indicators have flash between 60 and 120 times per second, but does anyone know if they can: a) Have different speeds? b) Have a longer on time than off? Spolier.... The boot sequence is morse code 1 Quote Link to comment Share on other sites More sharing options...
CraigHew Posted November 6, 2015 Share Posted November 6, 2015 Do you account for indicating one way then the other in quick sucession? Quote Link to comment Share on other sites More sharing options...
Lyonspride Posted November 6, 2015 Author Share Posted November 6, 2015 Do you account for indicating one way then the other in quick sucession? Not yet, i'm undecided as whether to use a sensor on the wheel or to hard code a cancel feature, both have disadvantages. Quote Link to comment Share on other sites More sharing options...
CraigHew Posted November 6, 2015 Share Posted November 6, 2015 If it's between those two options I'd go for the latter, just in case you need to indicate without turning the wheel (not very likely but possible). Quote Link to comment Share on other sites More sharing options...
Lyonspride Posted November 6, 2015 Author Share Posted November 6, 2015 Well that was easier than I thought it would be Quote Link to comment Share on other sites More sharing options...
Ian Kinder (Bagpuss) - Joint Peak District AO Posted November 6, 2015 Share Posted November 6, 2015 Make sure you debounce your inputs. I'm half way through my Arduino based dash controller. I'm planning on controlling indicators, hazards, horn, dipped/main beam and start via it. I'll gladly share diagrams and code done so far. Early in the year I took on a sub project to tweak a fellow Westie drivers Arduino project and added debounce code as his indicators were flashing when the Vtec kicked in. I programmed a short press to flash 4 times for lane changes and a long press to flash 15 times for junctions etc I'm not shy of admitting that my design is based on Mike's (R7 WSC) excellent work on his Arduino based steering wheel interface which I intend to fit post IVA. Quote Link to comment Share on other sites More sharing options...
Lyonspride Posted November 6, 2015 Author Share Posted November 6, 2015 ^^ I don't think i'm going to have an issue, the code checks for button press via an IF function and when detected it runs into a sub routine that starts with a 100ms delay. It effectively ignores multiple button pressed from the same button. I'll look into mitigating EMI and transient voltages a bit further down the road 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.