Announcement

Collapse
No announcement yet.

Phidgits and electrical questions

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Phidgits and electrical questions

    I have ordered a phidgets 8/8/8 and i had a few questions about wiring it up to my power windows. What is the best way to wire this up? My initial thoughts were to use a relay, but then i realized that the power window motor works off reverse polarity. Then i thought i could run the ground line for the motor to the phidget and work it that way, but i dont think it will support the voltage. Any suggestions or information about relays and reverse polarity? Im trying to wrap my head around this.

  • #2
    Since you have 8/8/8 you good to go. You need one contact per function. Window up/down are two contacts. Just duplicate the window switches.

    Comment


    • #3
      what about the voltages? I know the circuit is a 30a circuit. I was under the impression that I needed relays because the outputs are only 5v.

      Comment


      • #4
        You're right in saying that you need relays because the outputs of the phidget are 5V. Even if they were 12V, they wouldn't be able to handle that kind of current anyway. For your situation, I would recommend that you try to use 5V relays to interface with the window switches, as they are usually lower current than the window motors themselves (if the switches control the motors through relays). If you know that the circuit is 30A though, you will have to try to find 5V relays that are rated for 30A, or you will need to use a 5V relay to switch a larger 12V relay, or you will need to use a transistor and diode to switch the larger 12V relay.

        And for the reversing of polarity, you can use 3 per window motor.

        I created this diagram just for you. Good luck.

        Comment


        • #5
          thanks for your help. I waiting untill after x-mas to get some money then I need to clean the garage so I can stay warm. Soon as I get the relays I will update.

          Comment


          • #6
            so I'm having some trouble understanding your diagram. Is it really necessary to have three relays per window? Also in my initial design I had the relays wired to the switch and not directly to the motor. I want to make shure I have this right before I start ordering more parts. This is kind of irrevelant, but I am looking into getting an arduino so it will be stand alone and will not need to be connected to the pc. Anyone have any expirence with this?

            Comment


            • #7
              Not that i question your reasons for doing this. But what would you really use the computer controlled windows for? I mean you have switches already right? so instead of pushing button on door you push button on computer? Would be neat if you could remotely open and close windows but then your carputer would need to be on.

              So i just read the arduino specs. looks like you wouldn't need the Phidgits then since the arduino is practcly the same thing. If had remote capabilities then you could remotly open/close windows

              Maybe you could use arduino's temp capabilities to lower windows when the car reachs 100 degrees...

              I think if you wanted simple you could use one relay to up and one relay to down and not use a third relay. Looks like maybe the third relay in the above layout would prevent the software from pushing up and down at the same time. But if the switch is only switching polarity to the window motor then two will work fine. if both are pressed then the window will stop and the motor would see 0volts even if there was 12volts at both sides. the potential voltage would be zero. Almost like an electric brake.

              More on the layout: the numbers given are the legs of the relay, 85, 86, 87 etc... if you purchase a car relay it will have these numbers on it. But they most likely will be 12volts relays. Not sure if they make 5volt relays like that? I'm not use to car relays so i've only seen the big 12v ones, since the car runs off 12volts its the most common.



              hope this picture works.

              The other thing you may need to worry about is the driver window sometimes has a special switch that lets the window go all the way down by itself. You know the one where you press down a little harder and it clicks again.

              not sure if i helped. just my 2 cents
              Um, I guess this is where you put something witty.WITTY

              My Web site, in the design stage. http://home.comcast.net/~cstrachn

              Modified RRSkinEditor http://www.mp3car.com/vbulletin/showthread.php?t=65723

              Comment


              • #8
                No I really appro Kate your info. My. Origional plan was to run an app on my iPhone to controls everything and with the arduine it seems more feesable. Thanks again for the info and I will keep u all updated.

                Comment


                • #9
                  Here are my thoughts on simple wiring. take in to consideration that the phidgets or arduine cant control these relays since they are 12V and not 5V. You could use a npn transistor tied to 12Volts to control them. I'm sure there are tons of layouts similar to this on this forum. good luck
                  Attached Files
                  Um, I guess this is where you put something witty.WITTY

                  My Web site, in the design stage. http://home.comcast.net/~cstrachn

                  Modified RRSkinEditor http://www.mp3car.com/vbulletin/showthread.php?t=65723

                  Comment


                  • #10
                    2 relays per switch in parallel is enough. This way you can still use the factory switches if needed. Just make sure there high current relays. So your device will need 4 outputs for the relays

                    Comment


                    • #11
                      if he does with parallel shouldnt he worry about sending a down command and then manually pushing the up switch causing a blown fuse at least.

                      just something to think about even if its rare to happen.
                      Core duo
                      1tb harddrive
                      256 ddr
                      8 lilliput
                      bu-353

                      still installing...

                      Comment


                      • #12
                        No, if either or both the switches are 'on' the result will be the same. Activating the switch and the relay at the same time is just like having one of the switches on

                        Comment


                        • #13
                          After taking a second look at my design, I realize that you could use 2 relays per window. In that case, you should hook the relays up directly to the window motor. For this setup, you would have the 30 terminal of each relay go to the window motor, and the 87 and 87a terminals going to 12V and gnd, respectively. This would not cause any problems with the switch in terms of the relays and the switch being on at the same time. I would not recommend hooking up to the switch anyways, since especially in newer cars, the voltage of the switch is essentially unknown unless you use a multimeter. Now that I think about it, there could be problems with this setup if both the switch and the relays are used. Hmm... I guess you could try getting diodes in there somewhere to make sure there are no blown fuses, but then again this problem would be solved with the 3 relays. Of course, I'm no electrical engineer, I'm just a hobbyist, so I would encourage you to get a second opinion. The diagram I listed earlier I just sort of came up with, which is how much of the electronics in my car goes.

                          Comment

                          Working...
                          X