South Wales French Car Owners club
Please log in to read the Forum

Automatic headlights SWFCOLogo

Join the forum, it's quick and easy

South Wales French Car Owners club
Please log in to read the Forum

Automatic headlights SWFCOLogo
South Wales French Car Owners club
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Automatic headlights

4 posters

Go down

Automatic headlights Empty Automatic headlights

Post by Ollie Wed 21 Jul 2010, 18:58

Well I got bored yesterday and pulled out my box of electronics goodies. Want to get some more automation in the car so i'm gonna build some auto headlights. Seen the kits advertised for £35 but it's only a matter of a couple of components.

How it works: couple of light sensors on the windscreen monitor the light levels. When the levels drop below a certain threshold for more than 2 seconds it switches the headlights on. It then keeps monitoring and if the light goes above the threshold for 15 seconds it will turn them back off.

the light sensors are about £1 a pop and the chip i'll be using to run it cost me ~£1.50. Even after the cost of wire and solder it's only going to cost about £5/6 Very Happy

Parts list:
1 x LM7805 £0.82
1 x LM7833 £1.28
1 x ATTiny12 £1.27
2 x CdS sensors £0.98each
a few capacitors and resistors (once i've worked out the wiring diagram) £20p each

Ollie
East Member

Town/County : Cardiff
Age : 41
Model owned : 306 GTi6 x2
Dream Car : 306 T16
Points : 11235
Date Joined : 2008-09-16

http://www.om-tuning.co.uk

Back to top Go down

Automatic headlights Empty Re: Automatic headlights

Post by Simon Wed 21 Jul 2010, 19:58

Won't the sensors in the windscreen sence an on coming car ? Can it progromed for longer a over riden ? Just a thought if yourdriving on the motorway you have constant flow of on coming traffic which wouldturn lights off

Good idea though I'd be interested in buying a set up if you make a batch
Simon
Simon
ADMINISTRATOR

Town/County : Whitland
Age : 46
Model owned : 306 Rallye,xsi-6 207 GT and a DC5
Dream Car : too many at the moment
Points : 39777
Date Joined : 2008-07-14

http://www.swfco.net

Back to top Go down

Automatic headlights Empty Re: Automatic headlights

Post by Ollie Wed 21 Jul 2010, 20:02

the oncoming traffic is the reason i'm using two sensors, put one each side. Also having the 20 second delay on turning off should help with that problem. Another thing i'm doing to help this is covering both sensors with a red filter, this will help prevent uv light being bounced around through the glass in the screen.

Can be programmed for any length of time. The ATTiny is a minature processor so could add buttons for different functions to it easily.

Ollie
East Member

Town/County : Cardiff
Age : 41
Model owned : 306 GTi6 x2
Dream Car : 306 T16
Points : 11235
Date Joined : 2008-09-16

http://www.om-tuning.co.uk

Back to top Go down

Automatic headlights Empty Re: Automatic headlights

Post by Simon Wed 21 Jul 2010, 20:05

Tidy

1 sensor on the scuttle panel pointing directly up? so it would be in shadow of on coming cars lights
Simon
Simon
ADMINISTRATOR

Town/County : Whitland
Age : 46
Model owned : 306 Rallye,xsi-6 207 GT and a DC5
Dream Car : too many at the moment
Points : 39777
Date Joined : 2008-07-14

http://www.swfco.net

Back to top Go down

Automatic headlights Empty Re: Automatic headlights

Post by Ollie Wed 21 Jul 2010, 20:10

aye that's probably the plan, going to have a look tonight when i'm driving to see which areas are in shade from the headlights. want them to be fairly flush fit to wherever they mount obviously but that shouldn't be too hard, they're about 5mm square Smile

Ollie
East Member

Town/County : Cardiff
Age : 41
Model owned : 306 GTi6 x2
Dream Car : 306 T16
Points : 11235
Date Joined : 2008-09-16

http://www.om-tuning.co.uk

Back to top Go down

Automatic headlights Empty Re: Automatic headlights

Post by MickeyVTS Wed 21 Jul 2010, 22:16

Have this feature on the Xsara already, I keep it turned off though as it's a known cause of bulb failure on starting when it's dark (happened twice when it was on, not happened since)
MickeyVTS
MickeyVTS
West Regional Leader

Town/County : Carmarthen
Age : 54
Model owned : '04 Xsara VTS
Dream Car : .
Points : 14376
Date Joined : 2009-03-31

Back to top Go down

Automatic headlights Empty Re: Automatic headlights

Post by Ollie Wed 21 Jul 2010, 22:20

nice, any idea where the sensors for yours are mounted? Will be wiring in a switch so i can turn it off for starting/other reasons.

Ollie
East Member

Town/County : Cardiff
Age : 41
Model owned : 306 GTi6 x2
Dream Car : 306 T16
Points : 11235
Date Joined : 2008-09-16

http://www.om-tuning.co.uk

Back to top Go down

Automatic headlights Empty Re: Automatic headlights

Post by MickeyVTS Wed 21 Jul 2010, 22:26

Not sure if it's built in with the auto wiper/rain sensor on the top of the screen, never really looked into it TBH. would be simple enough to find out if you want.
MickeyVTS
MickeyVTS
West Regional Leader

Town/County : Carmarthen
Age : 54
Model owned : '04 Xsara VTS
Dream Car : .
Points : 14376
Date Joined : 2009-03-31

Back to top Go down

Automatic headlights Empty Re: Automatic headlights

Post by Ollie Thu 22 Jul 2010, 18:10

had a play last night with where i want the sensors. settled on the top demister vents as then it can sit in the shade and measure ambient light without getting affected by car headlights Smile

Ollie
East Member

Town/County : Cardiff
Age : 41
Model owned : 306 GTi6 x2
Dream Car : 306 T16
Points : 11235
Date Joined : 2008-09-16

http://www.om-tuning.co.uk

Back to top Go down

Automatic headlights Empty Re: Automatic headlights

Post by welsh_ben Thu 22 Jul 2010, 22:13

sweet get it done and finished by sunday is your task lol
welsh_ben
welsh_ben
Part Of The Furniture

Town/County : Bridgend
Age : 37
Model owned : hdi dts
Dream Car : Golf GT TDI
Points : 21698
Date Joined : 2008-07-14

http://www.welshmobile.2u.co.uk

Back to top Go down

Automatic headlights Empty Re: Automatic headlights

Post by Ollie Fri 23 Jul 2010, 08:13

lol, will see how busy I am tmrw. got to pick up a few more bits first. gonna draw up the wiring diagrams now tho Very Happy

Ollie
East Member

Town/County : Cardiff
Age : 41
Model owned : 306 GTi6 x2
Dream Car : 306 T16
Points : 11235
Date Joined : 2008-09-16

http://www.om-tuning.co.uk

Back to top Go down

Automatic headlights Empty Re: Automatic headlights

Post by Ollie Wed 25 Aug 2010, 17:52

got all the bits together now and been monitoring resistance levels relative to light so i know where to make the change (fitting an adjuster knob too). Gonna be testing it out in the car this week Smile

Ollie
East Member

Town/County : Cardiff
Age : 41
Model owned : 306 GTi6 x2
Dream Car : 306 T16
Points : 11235
Date Joined : 2008-09-16

http://www.om-tuning.co.uk

Back to top Go down

Automatic headlights Empty Re: Automatic headlights

Post by Ollie Wed 25 Aug 2010, 18:22

Automatic headlights Dsc00118

the LDR hooked up to my protoboard

Ollie
East Member

Town/County : Cardiff
Age : 41
Model owned : 306 GTi6 x2
Dream Car : 306 T16
Points : 11235
Date Joined : 2008-09-16

http://www.om-tuning.co.uk

Back to top Go down

Automatic headlights Empty Re: Automatic headlights

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum