Go Back   Team-BHP > Under the Hood > Technical Stuff > DIY - Do it yourself


Reply
 
Thread Tools Search this Thread
Old 28th March 2014, 15:34   #16
Senior - BHPian
 
srishiva's Avatar
 
Join Date: Nov 2006
Location: Bengaluru
Posts: 3,577
Thanked: 816 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

Very effective way of controlling the head lamps. Great job. Maybe you can add auto rain sensing wipers easily to this setup
What is the development environment like?
srishiva is offline   (1) Thanks Reply With Quote
Old 28th March 2014, 18:50   #17
Distinguished - BHPian
 
audioholic's Avatar
 
Join Date: Jun 2012
Location: BengaLuru
Posts: 3,252
Thanked: 4,962 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

Quote:
Originally Posted by amansanc View Post
Great project audioholic! Hoping to see the finished product soon.
Thanks. Even I wish I could finish it soon, but I dont think it will happen as fast as I want it to. Will elaborate it later.

Quote:
Originally Posted by Sweet Chariot View Post
can the sensor be mounted in such a place that it does not get soiled or damaged due to dirt and water??

:
Thanks! Have explained about the sensor. It is water proof. There is no dust-proof region except the interiors. Hence cant do much on that regard. If it gets dirty, functionality isnt that affected unless the muck is really thick. Since the car will be washed regularly that wont happen too.

Quote:
Originally Posted by srishiva View Post
Maybe you can add auto rain sensing wipers easily to this setup
What is the development environment like?
The wipers are integrated into the BCM of the car and it is very difficult or rather impossible to play with it using an external device. At a greater level of sophistication it is definitely possible but.

The arduino uses a programming environment very similar to C except for a little change since it can handle both analogue and digital signals. Nothing so difficult but.

The board was mounted into the casing. Now the pending work is to design a harness. Hence I need to do some shopping WRT wires and connectors. Also, I searched J C Road for splice connectors but couldnt find them. Hence the work has been stalled until the required materials are procured. Hopefully I will do it tomorrow, if not the following week is fully packed with a trip coming up.

DIY Project: Automatic headlamp control using Arduino-up.jpg


DIY Project: Automatic headlamp control using Arduino-up2.jpg

DIY Project: Automatic headlamp control using Arduino-up1.jpg
audioholic is online now   (1) Thanks Reply With Quote
Old 30th March 2014, 20:12   #18
BHPian
 
Join Date: Mar 2012
Location: Bangalore
Posts: 156
Thanked: 131 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

Brings back sweet memories of my days as a teenage hobbyist subscriber of EFY and EE. Though I mostly used to build projects from EFY, I was always more drawn to the ones in EE, but never managed to get anything built because they used SMDs and I did not have the right equipment to do that. As life would have it, over a period of time I got distanced from my hobby and eventually my workbench (which always had PCBs, electronic components, screws and what not permanently strewn on it) made way for a computer desk for my first PC - an Intel MMX 144Mhz with 32 MB RAM and 1 GB HDD with 16x CD ROM and an external 56K Lanbit dialup modem - a super whopper config for those days...

Few suggestions based on experience:
1. Most homemade stuff for use in automobiles give up the ghost due to moisture, heat and dust. Make sure the enclosure is perfectly water tight, air tight and vibration proof. Bigger heatsinks for the regulators just in case?
2. Use a rubber grommet along with a rubber based sealant at the opening for the cables.
3. Use auto grade cables without any joints for all external connections with amp connectors.
4. Make sure to include a fuse of lowest feasible rating in the power supply to the circuit. Did not notice one, hence mentioned.

Good luck and do post some pictures from different angles of the completely finished and installed project.
isiv is offline   Reply With Quote
Old 30th March 2014, 20:50   #19
Distinguished - BHPian
 
audioholic's Avatar
 
Join Date: Jun 2012
Location: BengaLuru
Posts: 3,252
Thanked: 4,962 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

One thing is for sure. I dont intend to put this certain model under regular use. Hence, the long term aspects are not yet evaluated. Speaking about resistance to water etc, a grommet will be used, however yet it wont be water tight. The next version i would be making will have a different housing altogether and that will be as good as submersible.

As of now the harness is being readied and since this weekend is a long holiday, I am mot able to go for component shopping. Hope to install it by wednesday at least.
audioholic is online now   Reply With Quote
Old 30th March 2014, 23:13   #20
BHPian
 
Join Date: Feb 2014
Location: Pune
Posts: 151
Thanked: 212 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

Great effort Audioholic.I have been wanting to develop something similar and fell into this trap of chinese gadgetry which i am now realizing i didnt need.

I am told that an android device (since they anyway sense light )with a camera/webcam setup should be able to trigger relays via usb to achieve the same outcome, did you consider that approach?
Rajiv0909 is offline   (1) Thanks Reply With Quote
Old 31st March 2014, 16:00   #21
BHPian
 
nishantbhatia84's Avatar
 
Join Date: Aug 2012
Location: Mumbai
Posts: 289
Thanked: 250 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

This is a great project! All the best to you and i hope you successfully complete this one soon! I would love to get this product installed in my Figo, please let me know whenever it is possible!!
nishantbhatia84 is offline   (1) Thanks Reply With Quote
Old 1st April 2014, 10:41   #22
BHPian
 
gurudutt's Avatar
 
Join Date: Jan 2010
Location: Bangalore
Posts: 352
Thanked: 128 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

Good project indeed, has better features that the OEM ones on XUV, high beam does not work in auto mode, you cant even manually override it. How easy or difficult is it to do an Auto wiper?
gurudutt is offline   (1) Thanks Reply With Quote
Old 1st April 2014, 17:37   #23
Distinguished - BHPian
 
audioholic's Avatar
 
Join Date: Jun 2012
Location: BengaLuru
Posts: 3,252
Thanked: 4,962 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

Quote:
Originally Posted by Rajiv0909 View Post
I am told that an android device (since they anyway sense light )with a camera/webcam setup should be able to trigger relays via usb to achieve the same outcome, did you consider that approach?
You could pair an arduino with an Android phone by adding a bluetooth module to the main board. As simple as that. However, the direct method is not known to me. Since this is application specific, I want it to be standalone than dependent upon a phone.

Quote:
Originally Posted by nishantbhatia84 View Post
This is a great project! All the best to you and i hope you successfully complete this one soon! I would love to get this product installed in my Figo, please let me know whenever it is possible!!
Thanks! But you can only DIY one and make your own product. I am not intending to sell this one or do any sort of mass production. It is fit for mass market use also. On the other hand, I can surely help people who are interested to build one for their car.


Quote:
Originally Posted by gurudutt View Post
Good project indeed, has better features that the OEM ones on XUV, high beam does not work in auto mode, you cant even manually override it. How easy or difficult is it to do an Auto wiper?
Was not aware that the XUV had only auto Low beam. As I have told before, the wipers are controlled by the BCM since they operate in different working speeds as well as the intermittent speeds. Hence, though implementing auto wipers is possible, we have to interfere with the system at a higher level. OTOH, the auto headlamps is a simpler thing to play with since its just an ON-Off circuit.
audioholic is online now   Reply With Quote
Old 1st April 2014, 19:29   #24
BHPian
 
dutta_d1's Avatar
 
Join Date: Oct 2010
Location: IIT Guwahati
Posts: 58
Thanked: 35 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

Quote:
Originally Posted by audioholic View Post
As I have told before, the wipers are controlled by the BCM since they operate in different working speeds as well as the intermittent speeds.
From the top of my head, it should be doable if we interface it to the connections of the control stalk and leave the inner electronics alone.
dutta_d1 is offline   Reply With Quote
Old 1st April 2014, 20:27   #25
Distinguished - BHPian
 
audioholic's Avatar
 
Join Date: Jun 2012
Location: BengaLuru
Posts: 3,252
Thanked: 4,962 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

Quote:
Originally Posted by dutta_d1 View Post
From the top of my head, it should be doable if we interface it to the connections of the control stalk and leave the inner electronics alone.
The overview is that the designed system must be a piggyback to imitate the controls of the wiper stalk. That will fool the BCM or the wiper controller to do as the system says. For this we have to intercept the wiper stalk signals which I am not so proficient with. Perhaps in the days to come I may lay my hands on it. But as of now I am focussed on this. But the auto wiper thing is definitely doable.
audioholic is online now   Reply With Quote
Old 13th April 2014, 20:56   #26
Distinguished - BHPian
 
audioholic's Avatar
 
Join Date: Jun 2012
Location: BengaLuru
Posts: 3,252
Thanked: 4,962 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

Sorry for not updating this thread, and mind you this isnt a flop Had been busy and am busy writing some exams so the only progress made was to design the entire harness thats going to sit inside the car. Brought the regular wiring kit and made modifications to suit the AHCU so that the entire idea would be plug and play. Now I plug the male pin into the existing headlght holders, and plug the ceramic holders of my harness into the headlamp bulbs. As simple as that. 100% plug and play achieved.
DIY Project: Automatic headlamp control using Arduino-wp_000466.jpg
audioholic is online now   (2) Thanks Reply With Quote
Old 16th May 2014, 22:07   #27
Distinguished - BHPian
 
audioholic's Avatar
 
Join Date: Jun 2012
Location: BengaLuru
Posts: 3,252
Thanked: 4,962 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

As things get geared up for installation, the last thing done off-site(on site meaning hooked to the car) was to test the whole thing for any failures, maybe due to heating, or a sticky relay etc and there were no issues found. Hence that gave the final clearance to install this thing in the car. Since I never wanted such issues to turn up once it is installed(which may be damaging) I took a long time and multiple runs to check and elimnate any possible flaw.

Here is a video I made of the working of the AHCU. You can see how the circuit responds to changes in the light falling on the sensor. The AHCU is programmed to give a report regularly through USB which I can read from the computer. When the status changes, the relay controlling the headlamps are also switched. Along with the status, it has also reported the various input readings of which only the sensor input is used. The other two are the status inputs from the manual control of headlamps, which isnt used in this case currently.



Planning to get it onsite this monday. Since there has been sufficient homework, this should work flawlessly on the car, except for calibrating the sensor readings for external lighting. Plan to make it sensitive enough to trigger low beam once we enter an underpass, and make it switch to high beam only in pitch darkness.
audioholic is online now   (1) Thanks Reply With Quote
Old 4th June 2017, 14:37   #28
Newbie
 
Join Date: Oct 2014
Location: Bangalore
Posts: 4
Thanked: 9 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

i know this is an old thread, but very Nice Project !! are you still using the controller ?
maverickgoan is offline   Reply With Quote
Old 4th June 2017, 19:15   #29
Distinguished - BHPian
 
audioholic's Avatar
 
Join Date: Jun 2012
Location: BengaLuru
Posts: 3,252
Thanked: 4,962 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

Quote:
Originally Posted by maverickgoan View Post
i know this is an old thread, but very Nice Project !! are you still using the controller ?
Since I was busy with lots of travel over the last year and I sold the WagonR, I didn't pursue the priject. However, I want to implement the same at a more professional by making use of OE sensors and control stalk. Lets see when that will happen. Or by then I might even buy a car that already has these features
audioholic is online now   (3) Thanks Reply With Quote
Old 30th June 2017, 00:07   #30
Newbie
 
Join Date: Jun 2011
Location: Delhi
Posts: 1
Thanked: 0 Times
Default Re: DIY Project: Automatic headlamp control using Arduino

Hi I am interested in this project.

Could you make me a prototype with a input of 12v and output to the headlights.

What would be the cost of the development ?
surajitray is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
DIY: Headlamp Bezel Painting (Maruti Swift) ACMohan DIY - Do it yourself 31 20th August 2012 12:38
DIY : Dismantling Fiesta headlamp & Painting the shrouds mayankk DIY - Do it yourself 20 9th May 2012 18:35
Multi map selection using the cruise control on my Octavia vRS Born2Slow Technical Stuff 17 13th March 2012 21:43
A Device that can control all my gadgets / Universal Remote Control a4_attitude Gadgets, Computers & Software 28 24th August 2011 11:10
Mosquito control using fumigation machines. amohit Shifting gears 14 5th August 2010 10:07


All times are GMT +5.5. The time now is 10:05.

Copyright 2000 - 2017, Team-BHP.com
Proudly powered by E2E Networks