the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
icon

GM sunroof automation - success/beware


Post ReplyPost New Topic
< Prev Topic Next Topic >
utc13 
Member - Posts: 25
Member spacespace
Joined: August 13, 2002
Location: United States
Posted: August 27, 2003 at 8:46 AM / IP Logged  
For anyone out there who wants to automate their sunroof with a DEI 529T or 530T... if you have a GM vehicle with the same type of sunroof as me (2001 2DR Blazer) please beware. The roof does not operate like normal windows... it has normal open and close, but also has a vent feature. Because of this the roof uses a limit switch oriented Positioning Encoding System (PES) to determine when to engage and disengage the motor. The PES uses 5-volt logic voltage to ‘read’ the limit switches and determine the roof’s position. Therefore a module such as the 530T (which uses current spikes as its reference) will not work. The possibility is likely to really mess up your sunroof if you try to use a 530T type module (such as knocking it off track, stripping the worm gear, skewing the alignment, etc.)... so please be careful.
Despite this problem I still wanted to automate my sunroof, so I developed a simple circuit (with a Darlington optoisolator at it’s core) that is able to detect and read the 5-volt reference from the limit switches. I use this circuit’s output to activate other relays to do what I want when I want (such as close when armed, 1-touch close, etc.). If anyone is attempting to do what I did just let me know and I will post a diagram of this circuit and how it works. Maybe it will help you as it did me. With just 2 of these circuits, a couple standard relays, and a few pulse timed relays I was able to duplicate EVERY automation feature that the DEI 530T would have given me. Its been a lot of frustrating work but the results are well worth it.
Also, if anyone is interested, I learned all about the sunroof’s structure and PES system from AllData.com (there is a subscription fee, but there is a LOT of information there if you really need info, diagrams, schematics, etc from your specific vehicle). It has paid for itself already by far. I’d recommend it to anyone.
mj239air 
Copper - Posts: 153
Copper spacespace
Joined: May 27, 2003
Location: United States
Posted: August 27, 2003 at 9:57 AM / IP Logged  
I would love to see how you did this. I have a 2000 Suburban and want to add this to my sunroof and was afraid to use the 530t due to all the problems I hear about on here. If you could post a diagram I would greatly appreciate it.
xetmes 
Silver - Posts: 586
Silver spacespace
Joined: May 18, 2003
Posted: August 27, 2003 at 11:49 AM / IP Logged  
if you woldnt mind posting it, it sounds interesting thats why i would like to see it GM sunroof automation - success/beware -- posted image.
mj239air 
Copper - Posts: 153
Copper spacespace
Joined: May 27, 2003
Location: United States
Posted: August 27, 2003 at 1:30 PM / IP Logged  
xetemes - i am surprised you didn't think this one up yourself. haha
utc13 
Member - Posts: 25
Member spacespace
Joined: August 13, 2002
Location: United States
Posted: August 28, 2003 at 7:36 AM / IP Logged  
OK, I'll try to whip up a diagram and post it today.
cpgoose 
Gold - Posts: 1,098
Gold spacespace
Joined: July 08, 2002
Location: United States
Posted: August 29, 2003 at 5:54 AM / IP Logged  
There shouldn't be any problem using a 530t on a sunroof that doesn't have vent, though, right? I just have normal open and close, and would like to put a 530t on it. (not a 529t because I want the 1-touch feature).
Nice work utc13....talk about getting what you want GM sunroof automation - success/beware -- posted image.
Q: What's the best nation in the world?
A: Donation!     Donate to the12volt.com      
utc13 
Member - Posts: 25
Member spacespace
Joined: August 13, 2002
Location: United States
Posted: August 29, 2003 at 9:37 AM / IP Logged  
cpgoose,
Be careful... you must first figure out how your sunroof works. Even without vent my sunroof still wouldn't work with a 530T (some others might but I wasn't so lucky). Normal windows have a top and bottom that they hit and the motor current then spikes which the 530T detects and shuts the motor down. My sunroof hits no such spikes... the limit switches tell the motor when to turn off. I'm embarassed to say that I learned this the hard way. I hooked a 530T up to mine and when first opening it opened well past the normal fully open point, which slipped a few teeth on the worm gear. I had to rip out the whole sunroof assembly and realign it. You really don't want that to happen to you. I'm scanning my circuit diagram now so I should have it posted in a few minutes.
cpgoose 
Gold - Posts: 1,098
Gold spacespace
Joined: July 08, 2002
Location: United States
Posted: August 29, 2003 at 10:50 AM / IP Logged  
Hmmm, then how would I know if this is going to work? My car is a '92, so I don't think it has anything real "fancy" to it. If I hold the switch when the sunroof is fully opened or closed, I can hear the motor still trying to continue. I figured the 530t would see a spike when the sunroof shut or opened all the way, like the windows do.
Q: What's the best nation in the world?
A: Donation!     Donate to the12volt.com      
utc13 
Member - Posts: 25
Member spacespace
Joined: August 13, 2002
Location: United States
Posted: August 29, 2003 at 10:53 AM / IP Logged  
I built this circuit on a small piece of pc board and covered it in 1" shrink wrap. It is simply used to interface with the 5V reference voltage in my sunroof’s factory setup. For example, the reference lead to limit switch #3 reads +5V when the roof is fully closed and reads ground anywhere in the open position... therefore this circuit taps right into that lead. The relay activates when the roof is open and gives me an 'output' from pin13... in my setup this output is ground. I use this output to drive other relays to get what I want. Since I’m using an optoisolator the 2 circuits remain electrically isolated.
The circuit consists of the following components:
-Darlington optoisolator (4N33)
-9.1V Zener diode
-100 ohm resistor
-12V DPDT relay
-5mm LED (red)
-fuse (not shown)
The optoisolator is a simple integrated circuit that has an internal LED across pins 1 and 2. The low-current 5V reference from my vehicle is enough to light this LED. The other half of the 4N33 is a photosensor which detects when the internal LED is lit. Therefore the 4N33 is ideal for use in detecting when the 5V reference changes from +5V to ground or vice-versa.
In my setup, the double-pole double-throw (DPDT) relay activates when my sunroof is in the open position (i.e. when the limit switch #3 lead goes from +5V to ground). I put an external LED on the second pole of the relay so I would know when the relay activates. This is obviously optional. If you don’t need this then a SPDT relay could be used.
That’s all I have time for now. Have a great holiday!
GM sunroof automation - success/beware -- posted image.
GM sunroof automation - success/beware -- posted image.
xetmes 
Silver - Posts: 586
Silver spacespace
Joined: May 18, 2003
Posted: August 29, 2003 at 8:07 PM / IP Logged  

Hey i like it, complete with fuse and all. Only thing i would say is to put a diode across the relay terminals to extend the life of the transistor.

What made you choose an optoisolator? I usually like using such devices but most people dont want to be bothered with any type of integrated curcuits.

I really like how well you placed it and wrapped it in shrink wrap.

Im not really sure why the zener diode is there? I must be missing something...?

Page of 2

  Printable version Printable version Post ReplyPost New Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

  •  
Search the12volt.com
Follow the12volt.com Follow the12volt.com on Facebook
Sunday, May 19, 2024 • Copyright © 1999-2024 the12volt.com, All Rights Reserved Privacy Policy & Use of Cookies
Disclaimer: *All information on this site ( the12volt.com ) is provided "as is" without any warranty of any kind, either expressed or implied, including but not limited to fitness for a particular use. Any user assumes the entire risk as to the accuracy and use of this information. Please verify all wire colors and diagrams before applying any information.

Secured by Sectigo
the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
Support the12volt.com
Top
the12volt.com spacer
the12volt.com spacer