User Tag List

Results 1 to 8 of 8

Thread: How to turn on/off external Equipment (such as AC Fan,Modem,Router etc) with your PC

  1. #1
    Moderator
    • minitt's Gadgets
      • Motherboard:
      • Asus Sabertooth Z170 S
      • CPU:
      • Intel Core i7 6700K
      • RAM:
      • Corsair Vengence 3200mhz White Led
      • Hard Drive:
      • Samsung 830 (128GB) +1TB HDD
      • Graphics Card:
      • GTX 780 With Titan HS
      • Display:
      • Samsung KS8000 55"
      • Sound Card:
      • On board
      • Speakers/HPs:
      • Yamaha Reference Monitor
      • Keyboard:
      • Logitech G710+
      • Mouse:
      • Logitech G900 Chaos Spectrum
      • Power Supply:
      • Antec HCG-620M Modular
      • Optical Drive:
      • Nai
      • UPS:
      • dont need 1
      • Operating System:
      • Genuine Windows 10
      • ISP:
      • Shaw Cable
      • Download Speed:
      • 94Mbps
      • Upload Speed:
      • 20mbps
    minitt's Avatar
    Join Date
    Feb 2008
    Location
    dhaka
    Posts
    4,055

    Default How to turn on/off external Equipment (such as AC Fan,Modem,Router etc) with your PC

    This guide is meant to be plain and simple for easy understanding of basic relay use.

    Here we will see how to Turn on/off a AC Fan with your PC.

    A relay can be used to control these fan. Which means the fans will start to operate when u turn on ur PC and turns off when u shut down your PC

    In the attached picture,

    The relay is powered from 12V+(yellow) to pin 4 and Ground from PSU to pin 3.

    When you turn on your PC, the PSU powers the Relay and when the relay is powered,

    pin 1 & 2 is shorted and Fan starts to operate from the AC power.

    Now when the PC is turned off the relay will turn off as well Hence Pin 1 &2 will disconnect from each other and the fan will stop to operate.


    Replace Fan with other type of equipment if you want to turn them on/off.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	RELAY.jpg 
Views:	21 
Size:	28.5 KB 
ID:	20622   Click image for larger version. 

Name:	DSC00371.JPG 
Views:	18 
Size:	375.0 KB 
ID:	20624   Click image for larger version. 

Name:	DSC00378.JPG 
Views:	18 
Size:	429.6 KB 
ID:	20625   Click image for larger version. 

Name:	DSC00372.JPG 
Views:	14 
Size:	215.1 KB 
ID:	20626   Click image for larger version. 

Name:	RELAY.jpg 
Views:	16 
Size:	38.2 KB 
ID:	20627  

    Last edited by minitt; March 9th, 2012 at 17:35.

  2. #2
    Member
    • Mahfuz's Gadgets
      • Motherboard:
      • Asus Sabertooth P67 accommodated by Thermaltake Spedo Advance Package Chassis
      • CPU:
      • Intel i5 2500k 3.3GHz :: Prolimatech Megahalem Rev.B :: Shin-Etsu X23-7783D
      • RAM:
      • 2x 4GB G.Skill Ripjaws X DDR3 1600MHz Dual Channel
      • Hard Drive:
      • Crucial M4 64GB Sata III MLC :: Hitachi 1TB 7200RPM :: Transcend 320GB Portable
      • Graphics Card:
      • Asus 9600GT 512MB
      • Display:
      • Asus ML239H 23'' IPS Panel
      • Sound Card:
      • Asus Xonar Essence STX
      • Speakers/HPs:
      • Beyerdynamic DT990 Pro 250ohm :: Creative Aurvana Live! :: Creative FATAL1TY HS-800
      • Keyboard:
      • Logitech K120
      • Mouse:
      • A4tech X7-747H 3600dpi :: SS QCK Mass
      • Controller:
      • Never Interested :-/
      • Power Supply:
      • Thermaltake ToughPower XT 675W
      • Optical Drive:
      • Asus 18X DVD RW
      • UPS:
      • RahimAfrooz 1000VA
      • Operating System:
      • Win7, Linux Mint-- 'VMware'ing a few more when needed
      • Comment:
      • Not half-bad.
      • ISP:
      • Qubee
      • Download Speed:
      • 30KBps
      • Upload Speed:
      • 7KBps
    Mahfuz's Avatar
    Join Date
    May 2010
    Location
    মনে নাই
    Posts
    450

    Default

    If memory serves me right, a Relay operates based on electrical magnetism by making a piece of metal into a temporary magnet when powered up. There is however, a tiny yet could be vital problem lying with this basis. By the natural rules of magnetism, the more a metal piece come into conduction with a magnet, the more it prone to get itself become a magnet as well. A Relay is no exception. Thus, using this Relay for extended period of time might cause the metal piece wrapping around with coils turns into a permanent magnet in one day. In order to preventing such scenario, all it takes to place a diode in between of 3 and 4. It will begin demagnetize each time the Relay turned off so that the piece of metal within Relay won't get magnetized no matter how much you fire up the Relay.

    This apart, a short yet excellent guide it is

    By applying the similar basis, this could be even controlled from a pc with the aid of a parallel port, a nPn transistor and a mere few lines of codes in Visual Basic.

  3. #3
    Moderator
    • minitt's Gadgets
      • Motherboard:
      • Asus Sabertooth Z170 S
      • CPU:
      • Intel Core i7 6700K
      • RAM:
      • Corsair Vengence 3200mhz White Led
      • Hard Drive:
      • Samsung 830 (128GB) +1TB HDD
      • Graphics Card:
      • GTX 780 With Titan HS
      • Display:
      • Samsung KS8000 55"
      • Sound Card:
      • On board
      • Speakers/HPs:
      • Yamaha Reference Monitor
      • Keyboard:
      • Logitech G710+
      • Mouse:
      • Logitech G900 Chaos Spectrum
      • Power Supply:
      • Antec HCG-620M Modular
      • Optical Drive:
      • Nai
      • UPS:
      • dont need 1
      • Operating System:
      • Genuine Windows 10
      • ISP:
      • Shaw Cable
      • Download Speed:
      • 94Mbps
      • Upload Speed:
      • 20mbps
    minitt's Avatar
    Join Date
    Feb 2008
    Location
    dhaka
    Posts
    4,055

    Default

    Quote Originally Posted by Mahfuz View Post
    If memory serves me right, a Relay operates based on electrical magnetism by making a piece of metal into a temporary magnet when powered up. There is however, a tiny yet could be vital problem lying with this basis. By the natural rules of magnetism, the more a metal piece come into conduction with a magnet, the more it prone to get itself become a magnet as well. A Relay is no exception. Thus, using this Relay for extended period of time might cause the metal piece wrapping around with coils turns into a permanent magnet in one day. In order to preventing such scenario, all it takes to place a diode in between of 3 and 4. It will begin demagnetize each time the Relay turned off so that the piece of metal within Relay won't get magnetized no matter how much you fire up the Relay.

    This apart, a short yet excellent guide it is

    By applying the similar basis, this could be even controlled from a pc with the aid of a parallel port, a nPn transistor and a mere few lines of codes in Visual Basic.
    lol I have that covered too but kept it off to make it simple to understand.
    http://banglagamer.com/attachment.ph...7&d=1239858935
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	DIODE small.JPG 
Views:	24 
Size:	29.3 KB 
ID:	20629  
    Last edited by minitt; March 9th, 2012 at 18:06.

  4. #4
    Member
    • MaDDy's Gadgets
      • Motherboard:
      • AsRock Z77 Pro3
      • CPU:
      • Intel i5 2500k
      • RAM:
      • Team Elite DDR3 1333Mhz 8GB
      • Hard Drive:
      • Crucial M4 128gb SSD + Hitachi 500Gb Sata2
      • Graphics Card:
      • Evga GTX580
      • Display:
      • Asus MS228H 21.5" L.E.D
      • Sound Card:
      • Built In
      • Speakers/HPs:
      • Microlab TMN-3 (2:1)
      • Keyboard:
      • Mercury Multimedia Keyboard
      • Mouse:
      • Microsoft Intellimouse 3.0
      • Controller:
      • N/A
      • Power Supply:
      • Gigabyte SuperB 720w
      • Optical Drive:
      • Asus 24x DvD RW
      • USB Devices:
      • Silicon Power 8GB + Corsair Voyager Slider 32GB USB3
      • UPS:
      • None
      • Operating System:
      • Windows 8 Pro (x64)
      • ISP:
      • Qubee 512 sky**
      • Download Speed:
      • 64 Kbps
      • Upload Speed:
      • 15 Kbps
    MaDDy's Avatar
    Join Date
    Dec 2009
    Location
    Dhaka
    Posts
    854

    Default

    ITS GOOD!!! But amr jnno simple direct line e use kora valo. ETO GULA CABLE MANAGEMENT r WIRING korte ichha kortesena!! As am a lazy 1!!

  5. #5
    Moderator
    • minitt's Gadgets
      • Motherboard:
      • Asus Sabertooth Z170 S
      • CPU:
      • Intel Core i7 6700K
      • RAM:
      • Corsair Vengence 3200mhz White Led
      • Hard Drive:
      • Samsung 830 (128GB) +1TB HDD
      • Graphics Card:
      • GTX 780 With Titan HS
      • Display:
      • Samsung KS8000 55"
      • Sound Card:
      • On board
      • Speakers/HPs:
      • Yamaha Reference Monitor
      • Keyboard:
      • Logitech G710+
      • Mouse:
      • Logitech G900 Chaos Spectrum
      • Power Supply:
      • Antec HCG-620M Modular
      • Optical Drive:
      • Nai
      • UPS:
      • dont need 1
      • Operating System:
      • Genuine Windows 10
      • ISP:
      • Shaw Cable
      • Download Speed:
      • 94Mbps
      • Upload Speed:
      • 20mbps
    minitt's Avatar
    Join Date
    Feb 2008
    Location
    dhaka
    Posts
    4,055

    Default

    Quote Originally Posted by Mahfuz View Post
    If memory serves me right, a Relay operates based on electrical magnetism by making a piece of metal into a temporary magnet when powered up. There is however, a tiny yet could be vital problem lying with this basis. By the natural rules of magnetism, the more a metal piece come into conduction with a magnet, the more it prone to get itself become a magnet as well. A Relay is no exception. Thus, using this Relay for extended period of time might cause the metal piece wrapping around with coils turns into a permanent magnet in one day. In order to preventing such scenario, all it takes to place a diode in between of 3 and 4. It will begin demagnetize each time the Relay turned off so that the piece of metal within Relay won't get magnetized no matter how much you fire up the Relay.

    This apart, a short yet excellent guide it is

    By applying the similar basis, this could be even controlled from a pc with the aid of a parallel port, a nPn transistor and a mere few lines of codes in Visual Basic.
    Try to make a DIY guide. So that people can actually do it in real life. At least I'll be the 1 who will give it a shot.

    As for ur concern which should've been about the fact that when relay coil looses power it fires back at its source with reversed polarity and a Diode is place to counter that back fire voltage. ur concern is mostly invalid for modern relays since those are well insulated and mostly based on copper.
    Last edited by minitt; March 9th, 2012 at 19:04.

  6. #6
    Member
    • Badhon_raj's Gadgets
      • Motherboard:
      • G1.Sniper B6 / B75 D3H
      • CPU:
      • i5 4460 / i5 3470
      • RAM:
      • 2x4GB Corsair Vengeance 1600 / 3x4GB corsair XMS
      • Hard Drive:
      • 500GB Toshiba + 2TB WD Red / 1TB WD blue
      • Graphics Card:
      • HD 7770 GHz / R7 370
      • Display:
      • Philips 17'' 1440x900/ Samsung S22B300B
      • Sound Card:
      • on board / Asus Xonar DGX
      • Speakers/HPs:
      • Panasonic RP-HTF600 / Sony MH1c / Sony XB500
      • Keyboard:
      • Logitech MK520 / K350
      • Mouse:
      • M510 / M570 + G400s
      • Controller:
      • Sony DualShock 4
      • Power Supply:
      • Delta 500W / TT ToughPower 500w
      • Optical Drive:
      • DVD RW
      • UPS:
      • Generic 650VA
      • Operating System:
      • Windows 8.1 / Win 10
      • ISP:
      • SB Internet
      • Download Speed:
      • 512
      • Upload Speed:
      • 512
    Badhon_raj's Avatar
    Join Date
    Mar 2011
    Location
    Dhaka
    Posts
    2,139

    Default

    Quote Originally Posted by Mahfuz View Post
    ...
    By applying the similar basis, this could be even controlled from a pc with the aid of a parallel port, a nPn transistor and a mere few lines of codes in Visual Basic.
    bro, can you please give us some guide on how to do that?

  7. #7
    Member
    • Mahfuz's Gadgets
      • Motherboard:
      • Asus Sabertooth P67 accommodated by Thermaltake Spedo Advance Package Chassis
      • CPU:
      • Intel i5 2500k 3.3GHz :: Prolimatech Megahalem Rev.B :: Shin-Etsu X23-7783D
      • RAM:
      • 2x 4GB G.Skill Ripjaws X DDR3 1600MHz Dual Channel
      • Hard Drive:
      • Crucial M4 64GB Sata III MLC :: Hitachi 1TB 7200RPM :: Transcend 320GB Portable
      • Graphics Card:
      • Asus 9600GT 512MB
      • Display:
      • Asus ML239H 23'' IPS Panel
      • Sound Card:
      • Asus Xonar Essence STX
      • Speakers/HPs:
      • Beyerdynamic DT990 Pro 250ohm :: Creative Aurvana Live! :: Creative FATAL1TY HS-800
      • Keyboard:
      • Logitech K120
      • Mouse:
      • A4tech X7-747H 3600dpi :: SS QCK Mass
      • Controller:
      • Never Interested :-/
      • Power Supply:
      • Thermaltake ToughPower XT 675W
      • Optical Drive:
      • Asus 18X DVD RW
      • UPS:
      • RahimAfrooz 1000VA
      • Operating System:
      • Win7, Linux Mint-- 'VMware'ing a few more when needed
      • Comment:
      • Not half-bad.
      • ISP:
      • Qubee
      • Download Speed:
      • 30KBps
      • Upload Speed:
      • 7KBps
    Mahfuz's Avatar
    Join Date
    May 2010
    Location
    মনে নাই
    Posts
    450

    Default

    Quote Originally Posted by Badhon_raj View Post
    bro, can you please give us some guide on how to do that?
    Sure. But it'd be really helpful to grasp the whole concept if you've some basic knowledge regarding parallel port pin configuration, transistor and VB. A parallel port has 25-pins. From that, 2-9 alias D0-D9 are data pins. You can use any of them for read/write data from/to another device. In the circuit that has been proposed in this thread, the yellow cable supplies the necessary +12v to drive the relay. Put a npn transistor collector side with the +12v yellow line and connect the Emitter side to relay. Now there is only Base side left. Plug this side to any of the data pin that parallel port offers. Say, its D0 means the 2no. pin.

    The main idea is, the npn transistor will act as a switch for relay here. Transistor itself become activated if it gets +5v in the Base. Remember we connect the PSU +12v line to the Collector? When transistor gets +5v in the Base it'll let the power to reach all the way to relay through Emitter. The data ports by default send +5v when its set on high. Hence, if we write something in our D0 port then it'll instantly send +5v to the transistor whereby the transistor become turns on and you'll get your necessary power to activate the relay too.

    Rest of the part is simple. Open up the VB, take a Form, drag a button and write down the below codes,
    Private Sub Command1_Click()
    DlPortWritePortUchar Val(888), 1
    End Sub
    That's it. Click the button and see if its work.

    Yes, I know, this guide seems vague at some points. If you're really interested, start working and don't hesitate to ask me anything via pm if you stuck in somewhere. I'll try utmost to help you out.

    If I get adequate time I'll try to open a thread about this later on.
    Last edited by Mahfuz; March 9th, 2012 at 22:40.

  8. #8
    Member
    • TheNutKicker's Gadgets
      • Motherboard:
      • Intergated
      • CPU:
      • Intel Core 2 Duo T6500
      • RAM:
      • 4GB DDR2
      • Hard Drive:
      • 320 GB 5400 RPM
      • Graphics Card:
      • ATI Mobility Radeon 4650 1GB
      • Display:
      • 1600x900
      • Mouse:
      • Keypad
      • USB Devices:
      • 4GB Flash Drive,1GB Flash Drive
      • Operating System:
      • Genuine Vista 64 Bit
      • Comment:
      • A Medium End Laptop,Nuff said
      • ISP:
      • Banglalion
      • Download Speed:
      • 60
      • Upload Speed:
      • 10
      • Console:
      • 138
    TheNutKicker's Avatar
    Join Date
    Apr 2011
    Location
    Dhaka
    Posts
    1,331

    Default

    This thread is for Physicsists.

Similar Threads

  1. USB or external dial-up modem
    By REVx in forum Help - General Shopping
    Replies: 0
    Last Post: February 7th, 2012, 18:43
  2. Wireless Router for Banglalion USB Modem
    By rezanur in forum WiMAX
    Replies: 5
    Last Post: November 27th, 2011, 00:45
  3. Replies: 5
    Last Post: July 14th, 2011, 07:57
  4. Turn your laptop into a WIFI router
    By dhUro in forum Software
    Replies: 30
    Last Post: May 27th, 2011, 15:39
  5. Cannot Access Modem after connecting Router
    By faisal.amir.bd in forum BTCL
    Replies: 12
    Last Post: January 31st, 2011, 20:41

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 0.23149 seconds with 15 queries.