Power ON delay time

Hello everyone.

I am planing to use Arduino to program dynamic (sequential) turn signal on my car. Now i have following problem :
Turn signal wire has no constant power, its go on and off (for blinking turn signal) like on every car. Now when i power on Arduino, he need maybe 1-2 sec to start doing his job, but that is too much of delay because that mean that turn signal will start after 1-2 sec.

Does anyone have any idea how to solve this issue, so i dont have that delay time

I had some idea to power arduino directly from battery so it has constant power and to power my LEDs from turn signal wire, can i do that without empting my battery because arduiono will be always ON

Power the Arduino from a circuit in the car that is only live when the ignition is turned on

OK, few things here:

  • You do not use a UNO here, you would use a Nano if you required USB functionality, but you do not so it will be a Pro Micro.
  • The two second boot delay is for reset, not power up (with the "Optiboot" loader) which is immediate. And even so, if it was a concern, you would remove be bootloader and load using ICSP.
  • You need a "buck" regulator with a 35 V input tolerance to provide 5 V for the Arduino - and any 5 V LEDs or such - from the automotive 14 V supply. Do not attempt to use the "on-board" regulator!
  • All that said, the current drain from the battery for a Pro Micro is only a couple of tens of milliamps, and halved by the buck regulator, so powering it from unswitched battery would hardly be a problem. Powering it from the ignition circuit is clearly no problem at all and if you did power it from the turn signal, you would require two diodes to feed the regulator from the two turn signal lines.
  • You need to handle hazard flasher mode.
  • This all presumes your car does not use CANbus.

Paul__B:
OK, few things here:

  • You do not use a UNO here, you would use a Nano if you required USB functionality, but you do not so it will be a Pro Micro.
  • The two second boot delay is for reset, not power up (with the "Optiboot" loader) which is immediate. And even so, if it was a concern, you would remove be bootloader and load using ICSP.
  • You need a "buck" regulator with a 35 V input tolerance to provide 5 V for the Arduino - and any 5 V LEDs or such - from the automotive 14 V supply. Do not attempt to use the "on-board" regulator!
  • All that said, the current drain from the battery for a Pro Micro is only a couple of tens of milliamps, and halved by the buck regulator, so powering it from unswitched battery would hardly be a problem. Powering it from the ignition circuit is clearly no problem at all and if you did power it from the turn signal, you would require two diodes to feed the regulator from the two turn signal lines.
  • You need to handle hazard flasher mode.
  • This all presumes your car does not use CANbus.

Thanks for very nice explanation.
Just this last step, all cars i am working on are with CANBUS, is that a problem?

CANbus is a different thing altogether from simple switched circuits. Things are sending messages not just ons and offs. You are probably going to have to be a lot more specific about your project. There are good videos on youtube that explain what canbus is and how you can hook in to your cars network

With CANbus, there is no question about time to boot up - the CANbus is by definition, always powered. :grinning:

If you have a canbus vehicle I can’t understand why you wish to do this -?unless trying to bodge over a fault .

Part of the operation of indicators is they must signal if a bulb has failed , usually by increasing the flash rate , you need to include this .

IF you are doing something else , I would only communicate via the Canbus or you might all sorts of faults being signalled up .

How can i implement my module and pcb electronic in the CANbus system in the car?