Go Down

Topic: 12V automotive project (Read 1 time) previous topic - next topic

Brian in NZ

I'm planning to make a controller for my car's daytime running lights which will automatically sense the battery voltage to turn on and off the daytime running lights, and it will also have to monitor the sidelights to turn off the DRLs when the other lights are turned on.

I know what the arduino supply voltage range is, but can someone tell me what voltage range can be applied to the digital and analogue input pins?

I'm curious to know if I can simply apply the 12V from the sidelights to an digital pin. (I'm guessing it can't be done, but am curious about the arduino limits).

Cheers,
Brian

Coding Badly

I'm curious to know if I can simply apply the 12V from the sidelights to an digital pin.


Only if you want to turn the digital pin into slag.

Quote
(I'm guessing it can't be done, but am curious about the arduino limits).


Good guess.

Brian in NZ


Magician

You can try with resistor in series, as long as current below 1mA should be safe.
12 V - 5 V / 1 mA = 7 kOhm,  >10k to be sure.

JimboZA

A 7805 would do the trick: >5v in, 5v out. Wastes power though because the current is the same on both sides, so (Vin -5)i is lost. Might need a heat sink....
Roy from ITCrowd: Have you tried turning it off an on again?
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Go Up