Author Topic: car interior light circuit  (Read 2696 times)

0 Members and 1 Guest are viewing this topic.

Offline jason1983Topic starter

  • Newbie
  • Posts: 7
car interior light circuit
« on: February 21, 2015, 03:14:21 am »
Hi I'm Jason, I'm trying to design a light circuit for my car. I'm not new to electronics but designing using semiconductors is not my strong point. I'm hoping I'm in the right place for some advice? Basicly what I'm after is a circuitry that fades the interior light on when the car is unlocked an stay on until either a certain time has lapsed (60 seconds) or the car ignition it turned on or door is locked again. Also the original  0v door open/closed signal must work.  When the light goes out I also need it to fade out. I would be very gratefully for some advice please. Many thanks Jason
 

Offline DmitryL

  • Regular Contributor
  • *
  • Posts: 245
  • Country: gb
Re: car interior light circuit
« Reply #1 on: February 21, 2015, 10:20:14 am »
Hi I'm Jason, I'm trying to design a light circuit for my car. I'm not new to electronics but designing using semiconductors is not my strong point. I'm hoping I'm in the right place for some advice? Basicly what I'm after is a circuitry that fades the interior light on when the car is unlocked an stay on until either a certain time has lapsed (60 seconds) or the car ignition it turned on or door is locked again. Also the original  0v door open/closed signal must work.  When the light goes out I also need it to fade out.

IMHO the main problem is how to get state signals you need from your car (locked/unlocked etc.), i.e. to know when do you need to switch lights on/off.
The rest is very simple. For example,  for my Honda jazz I made a  LED interior light "module" that replaces standard bulb and fades in when the power applied. You press that light, and it gradually increases brightness within 5 seconds or so. Nothing but a bunch of LEDs, a PIC controller, small FET, and other small parts. The solution is simple, because the circuit has only one signal - power :)
 

Offline jason1983Topic starter

  • Newbie
  • Posts: 7
Re: car interior light circuit
« Reply #2 on: February 21, 2015, 01:13:23 pm »
Hi thanks for your reply, I can get either a pulse 0v or 12v for both the lock/unlock signal.
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4720
  • Country: au
  • Question Everything... Except This Statement
Re: car interior light circuit
« Reply #3 on: February 22, 2015, 08:51:46 am »
for the fading it would be more economic to use a cheap micro (look up arduino and attiny if you are new to it)

then you just have your permernant power connection, the lock status, and the ignition status going in, you use something like an NPN transistor to handle the switching / fading of the light with the micro controlling it,

so for that you could get away with, 1x LM7805 (and supporting parts), an attiny chip (crystal and reset resistor maybe), 2 resistor dividers for the inputs, and a NPN with base resistor,

for the code, they have on there site examples for fading an LED, all you would need to do is tweak it to happen when your inputs are triggered,
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

-->