Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Finally connected a relay!

Finally connected a relay!

Scheduled Pinned Locked Moved The Lounge
lampcom
17 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Ashish Derhgawen

    Hey guys! I had been planning to control a relay from my parallel port for quite a while..I've finally done it! I'm using it to control a table lamp! It's so much fun!! The circuit protects my computer's parallel port..so I won't run into the risk of blowing up my computer. Now, I'll build a virtual, laser controlled switch board for controlling everything (I've already made a program which creats hotspots in my house which can be activated with a laser!) I'll put this on my blog soon. Ashish :D

    Time flies like an arrow; Fruit flies like a banana. Ashish Derhgawen - http://ashishrd.blogspot.com[^]

    D Offline
    D Offline
    Dario Solera
    wrote on last edited by
    #3

    You're a genius in my opinion, but I think it would be better if you posted articles here on CP rather than linking your blog. :)

    ________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 2.0 (2.0 Beta is out)

    A 1 Reply Last reply
    0
    • realJSOPR realJSOP

      You, sir, are a very dangerous person. :)

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      A Offline
      A Offline
      Ashish Derhgawen
      wrote on last edited by
      #4

      heh heh...dangerous? I like to walk on the wild side. :cool:

      Time flies like an arrow; Fruit flies like a banana. Ashish Derhgawen - http://ashishrd.blogspot.com[^]

      1 Reply Last reply
      0
      • A Ashish Derhgawen

        Hey guys! I had been planning to control a relay from my parallel port for quite a while..I've finally done it! I'm using it to control a table lamp! It's so much fun!! The circuit protects my computer's parallel port..so I won't run into the risk of blowing up my computer. Now, I'll build a virtual, laser controlled switch board for controlling everything (I've already made a program which creats hotspots in my house which can be activated with a laser!) I'll put this on my blog soon. Ashish :D

        Time flies like an arrow; Fruit flies like a banana. Ashish Derhgawen - http://ashishrd.blogspot.com[^]

        I Offline
        I Offline
        Ikey_Boy
        wrote on last edited by
        #5

        :-D Well done young man !! I hope you connected your relay through an optoisolator.....:-O

        A 1 Reply Last reply
        0
        • D Dario Solera

          You're a genius in my opinion, but I think it would be better if you posted articles here on CP rather than linking your blog. :)

          ________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 2.0 (2.0 Beta is out)

          A Offline
          A Offline
          Ashish Derhgawen
          wrote on last edited by
          #6

          :) I have an article on CP for building the laser thing. I think there's already an article on CP for controlling relays.. http://www.codeproject.com/csharp/control_e_appliances.asp[^] :-D Ashish

          Time flies like an arrow; Fruit flies like a banana. Ashish Derhgawen - http://ashishrd.blogspot.com[^]

          1 Reply Last reply
          0
          • I Ikey_Boy

            :-D Well done young man !! I hope you connected your relay through an optoisolator.....:-O

            A Offline
            A Offline
            Ashish Derhgawen
            wrote on last edited by
            #7

            I couldn't get an optoisolator. But its well protected with diodes. :)

            Time flies like an arrow; Fruit flies like a banana. Ashish Derhgawen - http://ashishrd.blogspot.com[^]

            I 1 Reply Last reply
            0
            • A Ashish Derhgawen

              I couldn't get an optoisolator. But its well protected with diodes. :)

              Time flies like an arrow; Fruit flies like a banana. Ashish Derhgawen - http://ashishrd.blogspot.com[^]

              I Offline
              I Offline
              Ikey_Boy
              wrote on last edited by
              #8

              Trust me you're far from being well protected !!

              A L 2 Replies Last reply
              0
              • A Ashish Derhgawen

                Hey guys! I had been planning to control a relay from my parallel port for quite a while..I've finally done it! I'm using it to control a table lamp! It's so much fun!! The circuit protects my computer's parallel port..so I won't run into the risk of blowing up my computer. Now, I'll build a virtual, laser controlled switch board for controlling everything (I've already made a program which creats hotspots in my house which can be activated with a laser!) I'll put this on my blog soon. Ashish :D

                Time flies like an arrow; Fruit flies like a banana. Ashish Derhgawen - http://ashishrd.blogspot.com[^]

                R Offline
                R Offline
                Rama Krishna Vavilala
                wrote on last edited by
                #9

                Do your parents know about all your shenanigans? -- modified at 14:36 Thursday 18th January, 2007

                A 1 Reply Last reply
                0
                • I Ikey_Boy

                  Trust me you're far from being well protected !!

                  A Offline
                  A Offline
                  Ashish Derhgawen
                  wrote on last edited by
                  #10

                  Check out the "relay controlling circuits section" here: http://www.epanorama.net/circuits/parallel_output.html[^] I've seen people using this design without any problem. There's a "backward facing" diode across the relay coil which protects the circuit from reverse emf generated by the relay. Aditionally, the relay is controlled by a transistor..which in turn is protected by a diode and a zener. So, in the worst case, the transistor could get shorted out. :)

                  Time flies like an arrow; Fruit flies like a banana. Ashish Derhgawen - http://ashishrd.blogspot.com[^]

                  1 Reply Last reply
                  0
                  • R Rama Krishna Vavilala

                    Do your parents know about all your shenanigans? -- modified at 14:36 Thursday 18th January, 2007

                    A Offline
                    A Offline
                    Ashish Derhgawen
                    wrote on last edited by
                    #11

                    lol. Yes :)

                    Time flies like an arrow; Fruit flies like a banana. Ashish Derhgawen - http://ashishrd.blogspot.com[^]

                    1 Reply Last reply
                    0
                    • A Ashish Derhgawen

                      Hey guys! I had been planning to control a relay from my parallel port for quite a while..I've finally done it! I'm using it to control a table lamp! It's so much fun!! The circuit protects my computer's parallel port..so I won't run into the risk of blowing up my computer. Now, I'll build a virtual, laser controlled switch board for controlling everything (I've already made a program which creats hotspots in my house which can be activated with a laser!) I'll put this on my blog soon. Ashish :D

                      Time flies like an arrow; Fruit flies like a banana. Ashish Derhgawen - http://ashishrd.blogspot.com[^]

                      T Offline
                      T Offline
                      Todd Smith
                      wrote on last edited by
                      #12

                      Is that laser capable of vaporzing other "bad" developers by chance?

                      Todd Smith

                      A 1 Reply Last reply
                      0
                      • T Todd Smith

                        Is that laser capable of vaporzing other "bad" developers by chance?

                        Todd Smith

                        A Offline
                        A Offline
                        Ashish Derhgawen
                        wrote on last edited by
                        #13

                        Yes. :)

                        Time flies like an arrow; Fruit flies like a banana. Ashish Derhgawen - http://ashishrd.blogspot.com[^]

                        1 Reply Last reply
                        0
                        • I Ikey_Boy

                          Trust me you're far from being well protected !!

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #14

                          A decent relay gives over 1,000 Volts isolation between coil and contacts. He has dealt with the back EMF issue so the only remaining question is about the load the coil is putting on the port. Elaine :rose:

                          The tigress is here :-D

                          R 1 Reply Last reply
                          0
                          • L Lost User

                            A decent relay gives over 1,000 Volts isolation between coil and contacts. He has dealt with the back EMF issue so the only remaining question is about the load the coil is putting on the port. Elaine :rose:

                            The tigress is here :-D

                            R Offline
                            R Offline
                            Roger Wright
                            wrote on last edited by
                            #15

                            He seems to have buffered the port pins with a driver transistor, though I haven't seen the circuit. That should adequately protect the port from overcurrents.

                            "...a photo album is like Life, but flat and stuck to pages." - Shog9

                            1 Reply Last reply
                            0
                            • A Ashish Derhgawen

                              Hey guys! I had been planning to control a relay from my parallel port for quite a while..I've finally done it! I'm using it to control a table lamp! It's so much fun!! The circuit protects my computer's parallel port..so I won't run into the risk of blowing up my computer. Now, I'll build a virtual, laser controlled switch board for controlling everything (I've already made a program which creats hotspots in my house which can be activated with a laser!) I'll put this on my blog soon. Ashish :D

                              Time flies like an arrow; Fruit flies like a banana. Ashish Derhgawen - http://ashishrd.blogspot.com[^]

                              R Offline
                              R Offline
                              Rocky Moore
                              wrote on last edited by
                              #16

                              Good deal, keep it coming! Just wish I had the time to play :(

                              Rocky <>< Latest Code Blog Post: SQL Server Express Warnings & Tips Latest Tech Blog Post: Ready for Internet TV?

                              1 Reply Last reply
                              0
                              • realJSOPR realJSOP

                                You, sir, are a very dangerous person. :)

                                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                -----
                                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                E Offline
                                E Offline
                                Ed Poore
                                wrote on last edited by
                                #17

                                He hasn't found a way of hooking it up to Jeff's missles yet though, or my air-rifle :rolleyes:


                                I have no idea what I just said. But my intentions were sincere.

                                Poore Design

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups