Hey guys I want a bit of help. There is a twin headlamp interlock relay.Its used for controlling the headlamps in a two wheeler.The relay prevents a single head lamp beam i.e. allows the working of the headlight in a two wheeler only when both upper lamps or both lower lamps or all lamps are in working condition. To illustrate,if the rider has switched on the lower beam light,in normal cases lower beam would be on.But if either one of the two lower bulbs arent working,it automatically switches to make the upper beam in on condition.Vice versa for the non working of upper twinlamps.There is a condition table for this.I have to test if these conditions are getting satisfied or not.That is with help of a micro controller ( in this case I m using arduino uno) I have to provide for the working of bulbs or non working of bulbs. i.e i have to control which of the upper and lower bulbs are on at a particular time. Then when the user presses the switch higher or lower, I have to check if the lower beam is on (lower switch pressed on) in case all bulbs are working and in case one of the two lower bulbs not working,and both upper bulbs working, i have to check if the upper beam is working.
For this i m planning to use mosfets as switches which when on bulbs in working condition ,and when off bulbs not working.Am i right in using this? Or is there a better solution? Please help. I have attached a figure of the twin headlamp relay which has a 6 port terminal which is to be controlled accordingly by my arduino
TRUTH TABLE.xlsx (10.8 KB)