Tuesday 19 December 2017

Car Automatic Roll up Window Module for $5 with Arduino









It is a biggest concern of the drivers, when you
open the shutters, you forget to close it when you leave the car.  It may obtusely be a big risk to you and your
security system may be worth less. Though your car is locked but the window
shutters are remained opened, then you are in a risk.
. Anybody can come in to the car and
take you valuable thing and run away.






That is why you need an automatic window roll up module. You can buy one from online. But it will be a cost of around $10.




But, in this tutorial "SetNfix" is going to show you how to make a car window roll up module less than $5.




Let's Start the project.





you may need following parts


1. Arduino Uno

2.Relays

3.NPN Transisters

4.Diodes

5. Resisters

6.Capacitors

7.Wires

8.Wire Strips

9.Lead





If you are not willing to use arduino Uno board, you can use the following circuit





Read and Understand the following circuit diagram and you can build it on a vero board.







You can see the wire "A", "B","C" and "D" it shoud be connected with window motors. The connection diagram as follows.





Lets Upload the codes.



/*
* www.SetNfix.com
* www.facebooc.com/SetNfixcom
* Car automatic window roll up module
*/

int Dwindow = 4;
int Pwindow = 5;
int BTTpin = 7;
int DoorPin = 8;
int resetme =11;
int Horn = 10;
int DW_read;
int PW_read;
int BTT_Read;
int Door_Read;
int Delay = 6000;

void setup() {
//---------------------------------------------------------------------
pinMode(Dwindow,OUTPUT);
pinMode(Pwindow,OUTPUT);
pinMode(BTTpin,INPUT);
pinMode(DoorPin,INPUT);
pinMode(resetme,OUTPUT);
pinMode(Horn,OUTPUT);

//---------------------------------------------------------------------

DW_read=digitalRead(Dwindow);
PW_read=digitalRead(Pwindow);
Door_Read=digitalRead(DoorPin);
BTT_Read=digitalRead(BTTpin);
delay(1000);
Carhorn();
delay(3000);
if (BTT_Read ==0){
delay(100);
if (Door_Read ==1){
delay(100);
//Close Passanger Window
digitalWrite(Pwindow,HIGH);
delay(Delay);
digitalWrite(Pwindow,LOW);
delay(1000);
//Close Driver's Window
digitalWrite(Dwindow,HIGH);
delay(Delay);
digitalWrite(Dwindow,LOW);
delay(500);

}//////
}

digitalWrite(resetme,HIGH);


delay(1000);


}

void loop() {


}

void Carhorn(){

digitalWrite(Horn,HIGH);
delay(25);
digitalWrite(Horn,LOW);
delay(500);
digitalWrite(Horn,HIGH);
delay(25);
digitalWrite(Horn,LOW);
}




Installation part



Find the center lock system of car. There may by 5 wires


Now change the multi meter position to DC voltmeter  



Then connect negative pin to car ground and connect each five

wires in center lock system and find "Lock" and "Unlock" wires 

having locked and unlocked the car using remote lock key.



Find the car horn wire, it should be negative trigger. 

Then find the negative trigger of door switch.



The most important wire is Battery wire. Battery wire gives 

you always power even the car is switch off. Therefore you 

must use a separate 20A fuse. 





















Now put the car key and rotate once. and find the car power

 "ACC" wire.






To install the module you can find a better place. 

I hope inside the door is the best place to mount the module.






remove the door panel and install the module correctly.

after wiring is completed, close the door and lock the car. 

then if all the wiring is correct

1. two time horn

2.Close 1st window

3.Close 2nd window.



While the window is being closed, if you press the unlock 

roll up will be stopped.



Check the unit.



1. Open a door and click lock --> car horn only no roll up

2. Door closed and car on or started --> Horn only no roll up

3. Door opened and car on or started --> Horn  only no roll up.





****If the car horn is repeating, it means the module current 

is not adequate. 

Let me know fore troubleshooting.



***If the roll uo worked once and then no horn and roll up, 

please check the fuse. You may have to use a big fuse than 

20A.



In any case of trouble please ask me, I am willing to help you.











Previous Post
Next Post

post written by:

10 comments:

  1. There are two varieties of the lock: stick tumbler and wafer tumbler. The stick tumbler has a progression of pins inside the tumbler that are pushed in various lengths.24 hour locksmith

    ReplyDelete
  2. Woow so talented and innovative solutions...

    Sir, would be pleased if you could kindly show the same installation for Hyundai i20?

    Thanks.

    ReplyDelete
  3. Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notify that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing. Locksmith Sanford NC

    ReplyDelete
  4. If you live in an unsafe neighborhood or want to deter theft of your company's vehicles, a portable car lock alarm may be a wise choice.
    car dealerships near me

    ReplyDelete
  5. Towing a Caravan may be repetitive and a laugh within the meantime. you could purpose it gradually quality when you to discern out a way to go about it the proper way. In a couple of simple advances, you may determine your car's towing limit and get entry to all the reachable alternatives. this text will push you to put together your Caravan for towing, simply as the first-rate practices to kee Best Car alarm System

    ReplyDelete
  6. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info  hail damage repair company denver

    ReplyDelete
  7. Some of the units may no longer be in running condition but their vehicle parts are still very usable, which you can even use on your vehicle; thereby giving another cheaper option to getting the replacement car parts that you need.
    Cash For Cars Melbourne

    ReplyDelete
  8. Auto locksmiths are all the more effectively inclined to getting a lot of weakness out of their day by day work schedules.Links Locksmith Services Jacksonville FL 23335, (904) 615-8397

    ReplyDelete