Showing posts with label computer-internet. Show all posts
Showing posts with label computer-internet. Show all posts
Saturday, September 21, 2013
Computer Off Switch
How often does it happen that you close down Windows and then forget to turn off the computer? This circuit does that automatically. After Windows is shut down there is a ‘click’ a second later and the PC is disconnected from the mains. Surprisingly enough, this switch fits in some older computer cases. If the circuit doesn’t fit then it will have to be housed in a separate enclosure. That is why a supply voltage of 5 V was selected. This voltage can be obtained from a USB port when the circuit has to be on the outside of the PC case.
It is best to solder the mains wires straight onto the switch and to insulate them with heat shrink sleeving. C8 is charged via D1. This is how the power supply voltage for IC1 is obtained. A square wave oscillator is built around IC1a, R1 and C9, which drives inverters IC1c to f. The frequency is about 50 kHz. The four inverters in parallel power the voltage multiplier, which has a multiplication of 3, and is built from C1 to C3 and D2 to D5. This is used to charge C5 to C7 to a voltage of about 9 V.
The generated voltage is clearly lower than the theoretical 3x4.8=14.4 V, because some voltage is lost across the PN-junctions of the diodes. C5 to C7 form the buffer that powers the coil of the switch when switching off. The capacitors charge up in about two seconds after switching on. The circuit is now ready for use. When Windows is closed down, the 5-V power supply voltage disappears. C4 is discharged via R2 and this results in a ‘0’ at the input of inverter IC1b. The output then becomes a ‘1’, which causes T1 to turn on.
A voltage is now applied to the coil in the mains switch and the power supply of the PC is turned off. T1 is a type BSS295 because the resistance of the coil is only 24R. When the PC is switched on, the circuit draws a peak current of about 200 mA, after which the current consumption drops to about 300 µA. The current when switching on could be higher because this is strongly dependent on the characteristics of the 5-V power supply and the supply rails in the PC. There isn’t much to say about the construction of the circuit itself.
The only things to take care with are the mains wires to the switch. The mains voltage may not appear at the connections to the coil. That is why there has to be a distance of at least 6 mm between the conductors that are connected to the mains and the conductors that are connected to the low-voltage part of the circuit.
Continue[...]
It is best to solder the mains wires straight onto the switch and to insulate them with heat shrink sleeving. C8 is charged via D1. This is how the power supply voltage for IC1 is obtained. A square wave oscillator is built around IC1a, R1 and C9, which drives inverters IC1c to f. The frequency is about 50 kHz. The four inverters in parallel power the voltage multiplier, which has a multiplication of 3, and is built from C1 to C3 and D2 to D5. This is used to charge C5 to C7 to a voltage of about 9 V.
The generated voltage is clearly lower than the theoretical 3x4.8=14.4 V, because some voltage is lost across the PN-junctions of the diodes. C5 to C7 form the buffer that powers the coil of the switch when switching off. The capacitors charge up in about two seconds after switching on. The circuit is now ready for use. When Windows is closed down, the 5-V power supply voltage disappears. C4 is discharged via R2 and this results in a ‘0’ at the input of inverter IC1b. The output then becomes a ‘1’, which causes T1 to turn on.
A voltage is now applied to the coil in the mains switch and the power supply of the PC is turned off. T1 is a type BSS295 because the resistance of the coil is only 24R. When the PC is switched on, the circuit draws a peak current of about 200 mA, after which the current consumption drops to about 300 µA. The current when switching on could be higher because this is strongly dependent on the characteristics of the 5-V power supply and the supply rails in the PC. There isn’t much to say about the construction of the circuit itself.
The only things to take care with are the mains wires to the switch. The mains voltage may not appear at the connections to the coil. That is why there has to be a distance of at least 6 mm between the conductors that are connected to the mains and the conductors that are connected to the low-voltage part of the circuit.
Sunday, October 24, 2010
Keyboard/Mouse Switch Unit
Unplugging or re-connecting equipment to the serial COM or PS2 connector always gives problems if the PC is running. Even if you only need to swap a mouse or changeover from a graphics keyboard to a standard keyboard. The chances are that the connected equipment will not communicate with the PC, it will always be necessary to re-boot. If you are really unlucky you may have damaged the PC or the peripheral device. In order to switch equipment successfully it is necessary to follow a sequence. The clock and data lines need to be disconnected from the device before the power line is removed. And likewise the power line must be connected first to the new device before the clock and data lines are re-connected.
This sequence is also used by the USB connector but achieved rather more simply by using different length pins in the connector. The circuit shown here in Figure 1 performs the switching sequence electronically. The clock and data lines from the PC are connected via the N.C. contacts of relay RE2 through the bistable relay RE1 to connector K3. Pressing push-button S1 will activate relay RE2 thereby disconnecting the data and clock lines also while S1 is held down the semiconductor switch IC1B will be opened, allowing the voltage on C4 to charge up through R4. After approximately 0.2 s the voltage level on C4 will be high enough to switch on IC1A, this in turn will switch on T1 energizing one of the coils of the bistable relay RE1 and routing the clock, data and power to connector K2.
When S1 is released relay RE2 will switch the data and clock lines through to the PC via connector K1. It should be noted that the push-button must be pressed for about 0.5s otherwise the circuit will not operate correctly. Switching back over to connector K3 is achieved similarly by pressing S2. The current required to switch the relays is relatively large for the serial interface to cope with so the energy necessary is stored in two relatively large capacitors (C2 and C3) and these are charged through resistors R1 and R6 respectively. The disadvantage is that the circuit needs approximately 0.5 minute between switch-overs to ensure these capacitors have sufficient charge.
The current consumption of the entire circuit however is reduced to just a few milliamps. The PCB is designed to accept PS2 style connectors but if you are using an older PC that needs 9 pin sub D connectors then these will need to be connected to the PCB via flying leads. In this case the mouse driver software configures pin 9 as the clock, pin 1 as the data, pin 8 (CTS) as the voltage supply pin and pin 5 as earth.
Resistors:
R1 = 2kΩ2
R2 = 47kΩ
R3 = 10kΩ
R4 = 4kΩ7
R5 = 1kΩ
R6 = 1kΩ2
Capacitors:
C1 = 10µF 10V radial
C2 = 1000µF 10V radial
C3 = 2200µF 10V radial
C4 = 2µF2 10V radial
Semiconductors:
D1-D5 = 1N4148
T1 = BC547
IC1 = 4066 or 74HCT4066
Miscellaneous:
RE1 = bistable relay 4 c/o contacts
RE2 = monostable relay 2 c/o contacts
K1,K2,K3 = 6-way Mini-DIN socket (pins at 240°, PCB mount
S1,S2 = push-button (ITTD6-R)
Continue[...]
This sequence is also used by the USB connector but achieved rather more simply by using different length pins in the connector. The circuit shown here in Figure 1 performs the switching sequence electronically. The clock and data lines from the PC are connected via the N.C. contacts of relay RE2 through the bistable relay RE1 to connector K3. Pressing push-button S1 will activate relay RE2 thereby disconnecting the data and clock lines also while S1 is held down the semiconductor switch IC1B will be opened, allowing the voltage on C4 to charge up through R4. After approximately 0.2 s the voltage level on C4 will be high enough to switch on IC1A, this in turn will switch on T1 energizing one of the coils of the bistable relay RE1 and routing the clock, data and power to connector K2.
When S1 is released relay RE2 will switch the data and clock lines through to the PC via connector K1. It should be noted that the push-button must be pressed for about 0.5s otherwise the circuit will not operate correctly. Switching back over to connector K3 is achieved similarly by pressing S2. The current required to switch the relays is relatively large for the serial interface to cope with so the energy necessary is stored in two relatively large capacitors (C2 and C3) and these are charged through resistors R1 and R6 respectively. The disadvantage is that the circuit needs approximately 0.5 minute between switch-overs to ensure these capacitors have sufficient charge.
The current consumption of the entire circuit however is reduced to just a few milliamps. The PCB is designed to accept PS2 style connectors but if you are using an older PC that needs 9 pin sub D connectors then these will need to be connected to the PCB via flying leads. In this case the mouse driver software configures pin 9 as the clock, pin 1 as the data, pin 8 (CTS) as the voltage supply pin and pin 5 as earth.
Resistors:
R1 = 2kΩ2
R2 = 47kΩ
R3 = 10kΩ
R4 = 4kΩ7
R5 = 1kΩ
R6 = 1kΩ2
Capacitors:
C1 = 10µF 10V radial
C2 = 1000µF 10V radial
C3 = 2200µF 10V radial
C4 = 2µF2 10V radial
Semiconductors:
D1-D5 = 1N4148
T1 = BC547
IC1 = 4066 or 74HCT4066
Miscellaneous:
RE1 = bistable relay 4 c/o contacts
RE2 = monostable relay 2 c/o contacts
K1,K2,K3 = 6-way Mini-DIN socket (pins at 240°, PCB mount
S1,S2 = push-button (ITTD6-R)
Wednesday, October 6, 2010
CD-Rom Drive as Digital-Audio CD Player
A CD-ROM drive can be used as a stand-alone unit for playing digital audio CDs without interfacing with a computer. The stereo output of CD player available at the audio jack can be amplified using audio input facility which is normally available on a tape-deck/tape-recorder or a stereo amplifier. Audio socket on front/rear of the CD-ROM drive is capable of driving headphones or speakers of less than 500mW. Proper stereo jacks for interconnection between CD-ROM drive and tape deck are available from computer/tape recorder spares vendors. The principle of operation is illustrated here with the help of block diagram. The 4-pin power supply socket available at the rear of a CD-ROM player is meant for +5V, ground (two middle pins) and +12V inputs. The power supply can be easily derived using a conventional power supply circuit as shown in the figure. If you have an external CD-ROM drive, it can be simply plugged into the mains since it has self-contained power supply circuit inside.
While there may be minor differences amongst the available CD-ROM drives’ external controls, a typical drive’s controls are shown in the figure here. Please ensure that a proper power supply connector available from computer spare parts vendor is used for connection to CD-ROM drive. To identify +5V and +12V pins on the drive connector, please note that in the computer +12V is routed using a yellow wire and for +5V a red wire is used, while for ground black wires are used with the supply connector. Once the power supply has been connected correctly, you will notice that LED indicator on the drive starts flashing. Now the digital audio CD can be loaded after pushing the eject button. A second push of the same button causes retraction of CD carriage into the drive. One can change the track (song) on the CD using play switch on the CD-ROM drive.
Continue[...]
While there may be minor differences amongst the available CD-ROM drives’ external controls, a typical drive’s controls are shown in the figure here. Please ensure that a proper power supply connector available from computer spare parts vendor is used for connection to CD-ROM drive. To identify +5V and +12V pins on the drive connector, please note that in the computer +12V is routed using a yellow wire and for +5V a red wire is used, while for ground black wires are used with the supply connector. Once the power supply has been connected correctly, you will notice that LED indicator on the drive starts flashing. Now the digital audio CD can be loaded after pushing the eject button. A second push of the same button causes retraction of CD carriage into the drive. One can change the track (song) on the CD using play switch on the CD-ROM drive.Saturday, July 31, 2010
Serial To Parallel Converter
This converter may help if just the serial port on a personal computer is free, whereas the printer needs a parallel (Centronics) port. It converts a serial 2400 baud signal into a parallel signal. The TxD line, pin 3, CTS line, pin 8 and the DSR line, pin 6, of the serial port are used - see diagram. The CTS and DSR signals enable handshaking to be implemented. Since the computer needs real RS232 levels, an adaptation from TTL to RS232 is provided in the converter by a MAX232. This is an integrated level converter that transforms the single +5V supply into a symmetrical ±12V one.
The serial-to-parallel conversion is effected by IC1. This is essentially a programmed PIC controller that produces a Centronics compatible signal from a 2400 baud serial signal (eight data bits, no parity, one stop bit). The IC also generates the requisite control signals. If there is a delay on the Centronics port, the RS232 bitstream from the computer may be stopped via the Flow signal (pin 17). This ensures that no data is lost. The controller needs a 4 MHz ceramic resonator, X1.
Continue[...]
The serial-to-parallel conversion is effected by IC1. This is essentially a programmed PIC controller that produces a Centronics compatible signal from a 2400 baud serial signal (eight data bits, no parity, one stop bit). The IC also generates the requisite control signals. If there is a delay on the Centronics port, the RS232 bitstream from the computer may be stopped via the Flow signal (pin 17). This ensures that no data is lost. The controller needs a 4 MHz ceramic resonator, X1.Monday, July 12, 2010
Automatic Mains Disconnect
Downloading and CD-burning programs usually provide the option of automatically shutting down the PC on completion of their tasks. However, this energy-saving feature is of little benefit if even after the PC has been switched off, all of the peripheral equipment remains connected to the mains and happily consumes watt-hours. The circuit shown here provides a solution to this dilemma. It is connected ahead of the power strip and connects or disconnects mains power for all of the equipment via a power relay. A connection to a 12-V PC fan (which may be the processor fan or the fan for the chipset, if the latter is present) indicates whether the PC is switched on.
If you are certain that the 12-V power supply voltage is switched off when the PC is in the sleep mode, you can use this connection instead. To switch everything on, press the Start button to cause the power relay to be energized and provide mains voltage to all of the equipment. If the PC has an ATX board, its Power switch must be pressed at the same time to cause the PC to start up. When the PC fan starts to run, low-power relay Re1 engages and takes over the function of the Start switch, which can then be released. This state is stable. If the PC switches to the sleep state, the 12-V voltage drops out.
The electrolytic capacitor ensures that Re1 remains engaged for a short time, after which it drops out, followed by the power relay. D1 prevents the electrolytic capacitor from discharging through the connected fan, and D2 is the usual freewheeling diode. The system is disconnected from both mains leads and is thus completely de-energized. Be sure to select components that are suitable for their tasks. Naturally, the contacts of Re2 should be rated to handle the total current drawn by all of the peripheral equipment and the PC, and the relay coil must be suitable for use with mains voltage (6 mm minimum separation between coil and contacts).
A low-power 12-V relay that can switch mains voltage is adequate for Re2. The Start pushbutton switch is connected to the mains voltage, so a 230-V type must be used. The circuit board layout and enclosure must also be designed in accordance with safety regulations. A separation of at least 6 mm must be maintained between all components carrying mains voltage and the low-voltage components, and the enclosure must be completely free of risk of electrical shock. With a bit of skill, the circuit can be fitted into a power bar with a built-in switch, if the switch is replaced by a pushbutton switch having the same mounting dimensions.
Note:
Continue[...]
If you are certain that the 12-V power supply voltage is switched off when the PC is in the sleep mode, you can use this connection instead. To switch everything on, press the Start button to cause the power relay to be energized and provide mains voltage to all of the equipment. If the PC has an ATX board, its Power switch must be pressed at the same time to cause the PC to start up. When the PC fan starts to run, low-power relay Re1 engages and takes over the function of the Start switch, which can then be released. This state is stable. If the PC switches to the sleep state, the 12-V voltage drops out.
The electrolytic capacitor ensures that Re1 remains engaged for a short time, after which it drops out, followed by the power relay. D1 prevents the electrolytic capacitor from discharging through the connected fan, and D2 is the usual freewheeling diode. The system is disconnected from both mains leads and is thus completely de-energized. Be sure to select components that are suitable for their tasks. Naturally, the contacts of Re2 should be rated to handle the total current drawn by all of the peripheral equipment and the PC, and the relay coil must be suitable for use with mains voltage (6 mm minimum separation between coil and contacts).A low-power 12-V relay that can switch mains voltage is adequate for Re2. The Start pushbutton switch is connected to the mains voltage, so a 230-V type must be used. The circuit board layout and enclosure must also be designed in accordance with safety regulations. A separation of at least 6 mm must be maintained between all components carrying mains voltage and the low-voltage components, and the enclosure must be completely free of risk of electrical shock. With a bit of skill, the circuit can be fitted into a power bar with a built-in switch, if the switch is replaced by a pushbutton switch having the same mounting dimensions.
Note:
- The circuit is not suitable for use with deskjet printers that can only be switched on and off by a front panel button.
Case Modding
The aesthetics of ‘case modding’ (modifying a PC’s enclosure) offer plenty of scope for debate and plenty of scope for original circuits. Low current LED indicators are usually fitted in PC enclosures. Although this certainly saves energy, the LEDs do not light particularly brightly. It is not completely straightforward to replace the low-current types with high-brightness types since the latter draw a current of 20 mA rather than 2 mA. This can - whatever people might tell you to the contrary - in some instances lead to excessive load on the LED drivers on the motherboard.
The problem can be solved using a small external driver stage: two resistors and a transistor mounted on a small piece of perforated board, connected in place of the original LED. The new high-brightness LED is then connected between the output of the current source and a spare motherboard ground connection (for example on the infrared port) or to a grounded screw in the enclosure. R1 is responsible for the constant current. High-brightness red LEDs are driven at 20 mA (R1 = 150 Ω), whereas high-brightness blue LEDs require 10 mA (R1 = 75 Ω). In view of the large number of different PC motherboards available, it is not certain that this driver can be used in every PC. It is easy to check whether the circuit will work: use a DC voltmeter to measure the voltage between the positive connection on the LED (generally a red wire or a pin marked with an arrow on the LED connector) and ground (not the other pin of the connector). If this reads +5 V independent of whether the LED is on or not, then the driver can be used.
Continue[...]
The problem can be solved using a small external driver stage: two resistors and a transistor mounted on a small piece of perforated board, connected in place of the original LED. The new high-brightness LED is then connected between the output of the current source and a spare motherboard ground connection (for example on the infrared port) or to a grounded screw in the enclosure. R1 is responsible for the constant current. High-brightness red LEDs are driven at 20 mA (R1 = 150 Ω), whereas high-brightness blue LEDs require 10 mA (R1 = 75 Ω). In view of the large number of different PC motherboards available, it is not certain that this driver can be used in every PC. It is easy to check whether the circuit will work: use a DC voltmeter to measure the voltage between the positive connection on the LED (generally a red wire or a pin marked with an arrow on the LED connector) and ground (not the other pin of the connector). If this reads +5 V independent of whether the LED is on or not, then the driver can be used.Processor Fan Control
Fans in PCs can be objectionably loud. In many cases, the amount of noise produced by the fan can be considerably reduced by lowering its speed. Although this will decrease the amount of cooling, this need not be a problem as long as you don’t go overboard with slowing down the fan. Particularly with older-model processors, which consume quite a bit less power than the latest models, this trick can be used without any problems. This circuit is anyhow intended to be used with relatively old PCs, since more recent models generally have a fan control circuit already integrated into the motherboard. These controllers ensure that the amount of cooling is increased if the processor becomes too warm and decreased if the processor temperature is relatively low.
The circuit described here consists of only a handful of components, which you will probably already have in a drawer some-where. Transistors T1 and T2 are driven into conduction by the base current flowing to the fan via P1 and D1. There will always be a current flowing through R1, and it will be approximately 120 times as large as the current through R2. R3 has been added to prevent the base current of T2 from becoming too large when P2 is set to its minimum resistance. D1 ensures that even at this extreme setting, the voltage on the base-emitter junction of T3 will still be large enough to allow it to conduct.
Continue[...]
The circuit described here consists of only a handful of components, which you will probably already have in a drawer some-where. Transistors T1 and T2 are driven into conduction by the base current flowing to the fan via P1 and D1. There will always be a current flowing through R1, and it will be approximately 120 times as large as the current through R2. R3 has been added to prevent the base current of T2 from becoming too large when P2 is set to its minimum resistance. D1 ensures that even at this extreme setting, the voltage on the base-emitter junction of T3 will still be large enough to allow it to conduct.Tuesday, July 6, 2010
IrDA Interface
Many modern motherboards are equipped with an infrared data interface compliant with the IrDA standard, but this interface not very often used. However, it is not difficult to build a data transmission module and connect it to the corresponding header. As can readily be seen from the schematic diagram, this doesn’t exactly involve a large array of ICs. This is because transceiver ICs are available for the IrDA standard, so only a few passive components have to be added to obtain an operational circuit. The author has successfully built this circuit many times using the TFDU5102 from Vishay Semiconductors (formerly Telefunken). If this IrDA transceiver is no longer available (it has been officially discontinued), the largely pin- and function-compatible TFDU6102 can be used without any problems.
This IC is faster and meets the latest IrDA specification. The TFDU6102 low-power receiver IC supports IrDA at data rates up to 4 Mbit/s (FIR), HP-SIR, Sharp ASK, and carrier-based remote control modes up to 2 MHz. The IC contains a photo-diode, an infrared emitter and CMOS control logic. The IC also has internal protection against electromagnetic immissions and emissions, so no external screening is necessary. The IC works with a supply voltage of 2.7–5.5 V, so it is suitable for use in desktop PCs, notebooks, palmtops, and PDAs. It is also used in digital still and video cameras, printers, fax machines, copiers, projectors, and many other types of equipment.

The author has designed a printed circuit board for the IrDA module that is only 20 × 20 mm square. Of course, this means that all of the components are SMD types. The TFDU6102 in the ‘babyface’ package is available in upright and flat versions. Here the upright version (suffix ‘TR3’) is used. Thanks to its small size, the assembled circuit board can easily be placed behind a drive bay cover or the like. It is connected to the motherboard by a five-way flat cable. The pin assignments for header X1 must match the mating connector on the motherboard. After you have fitted the module, you may have to edit the BIOS settings to activate the UART for IrDA operation. These settings enable the (Windows) operating system to boot the new device and automatically install it. You may have to briefly insert the Windows CD to modify the settings. There is an abundance of free programs on the Internet that use the IrDA interface.
Resistors:
R1 = 7Ω5 (shape 1210)
R2 = 47 Ω (shape 1206)
R3 = 100 k (shape 1206)
Capacitors:
C1 = 100nF (shape 1206)
C2 = 4µF7 (shape 1210)
Semiconductors:
IC1 = TFDU6102TR3 (Vishay) (Farnell)
Miscellaneous:
X1 = 5-way SIL pinheader
Continue[...]
The author has designed a printed circuit board for the IrDA module that is only 20 × 20 mm square. Of course, this means that all of the components are SMD types. The TFDU6102 in the ‘babyface’ package is available in upright and flat versions. Here the upright version (suffix ‘TR3’) is used. Thanks to its small size, the assembled circuit board can easily be placed behind a drive bay cover or the like. It is connected to the motherboard by a five-way flat cable. The pin assignments for header X1 must match the mating connector on the motherboard. After you have fitted the module, you may have to edit the BIOS settings to activate the UART for IrDA operation. These settings enable the (Windows) operating system to boot the new device and automatically install it. You may have to briefly insert the Windows CD to modify the settings. There is an abundance of free programs on the Internet that use the IrDA interface.
Resistors:
R1 = 7Ω5 (shape 1210)
R2 = 47 Ω (shape 1206)
R3 = 100 k (shape 1206)
Capacitors:
C1 = 100nF (shape 1206)
C2 = 4µF7 (shape 1210)
Semiconductors:
IC1 = TFDU6102TR3 (Vishay) (Farnell)
Miscellaneous:
X1 = 5-way SIL pinheader
Thursday, July 1, 2010
Modem Off Indicator
The modem off indicator is intended especially for serious Internet surfers. It will be seen that the circuit of the indicator cannot be much simpler, or there might be nothing left. In spite of its simplicity, it may prove to be a cost-saving device, since it shows at a glance whether the telephone line is free again after the modem has been used. This obviates high telephone charges in case for some reason the modem continues to operate. The circuit depends on the fact that there is a potential of about 40 V on the telephone line when it is not busy. This voltage drops sharply when a telephone call is being made. If, therefore, the circuit is linked to telephone terminals a and b, the lighting of the green LED shows that the line is not busy in error.
The bridge rectifier ensures that the polarity of the line voltage is of no consequence. This has the additional benefit that polarity protection for the LED is not necessary. To make sure that the telephone line is not loaded unnecessarily, the LED is a high efficiency type. This type lights at a current as low as 2 mA, and this is, therefore the current arranged through it by resistor R1.
WARNING.
In spite of the liberal age we live in, it is highly probable that in many countries it is not allowed to connect the indicator across the telephone lines. Seek advice of your local telephone company that owns or operates the telephone network.
Continue[...]
WARNING.
In spite of the liberal age we live in, it is highly probable that in many countries it is not allowed to connect the indicator across the telephone lines. Seek advice of your local telephone company that owns or operates the telephone network.
Saturday, June 26, 2010
Home Network for ADSL
The increased availability of fast ADSL Internet connections has made it more attractive to install a small RJ45 Ethernet network in the home. Not only can you exchange files between computers, you will also have fast Internet access for everybody! This does of course require an ADSL modem with a router. It’s not possible to use a simple USB modem on its own. For laptops we recommend wireless Ethernet connections. If you find the laying of cables too difficult or inconvenient you can also add wireless capabilities to ‘ordinary’ PCs. You should bear in mind that the range of wireless connections could sometimes be disappointing. When a network is set up round a router you should use a star configuration for the cabling. This means that only a single PC is connected to each router socket.
The connecting cable may have a maximum length of 90 m and usually terminates at a connection box. You should use a CAT5 cable with 8 conductors for this, which is suitable for speeds up to 100 Mb/s. The 8 conductors are arranged in 4 pairs, with each pair twisted along the length of the cable. It is extremely important that the wires of each pair are kept together and that they are kept twisted as much as possible. At the connector ends you should therefore make sure that the non-twisted sections of the cable are kept as short as possible, at most a few centimetres. Should you fail to do this you may find that the network won’t operate at the full rated speed or possibly cause interference. The wiring itself is very simple. Connect the plugs to the cables such that each pin connects to the corresponding pin at the other end.
So pin 1 to 1, 2 tot 2 and so on. This also applies to all patch leads between the connection boxes and PCs (or if you prefer, the cable can go directly to the PC, without a connection box). It is only when two computers are connected directly together without a router that a crossover cable is required. The plugs are attached to the cable using a special crimping tool. It is also possible without the tool, using just a screwdriver, but this isn’t easy and we don’t recommend that you try it. The wires in the cable have different colours and there are no official standards in Europe how you use them (EN50173). However, the colour code in the American T568B standard is often used:
If you use patch cables it helps to keep things organised by using coloured cables. Blue for Ethernet (red for a crossover cable), yellow for analogue telephones and green for ISDN. Sticky labels or coloured cable markers can also be used for identification when you can’t get hold of coloured cables. A new standard has recently been introduced, although you probably won’t use it in the home for a while. Since around two years ago you can also use a GG45 connector, which is compatible with RJ45. This has 4 extra contacts and is suitable for speeds up to 600 Mb/s (Category 7/Class F).
Continue[...]
- orange/white
- orange
- green/white
- blue
- blue/white
- green
- brown/white
- brown
How To Connect Two Computers Using Modems
Have you ever connected two PCs together via modems using a twisted pair cable and nothing happened? That’s because the modems are expecting a phone line with all the signals and voltages supplied by the local telephone exchange. This circuit simulates the DC power and signal isolation but not the "dial tone" or the "ring signal". It suffices to connect two PCs together to communicate and exchange files using HyperTerminal. The circuit is self-explanatory and needs only one power supply for both modem lines. Although 50V DC is the usual exchange line voltage, this circuit should operate down to 20V. A 600O line transformer (eg. Jaycar cat. MM-1900) provides signal isolation, while the resistors provide current limiting and keep the lines as balanced as possible.
When using this set-up with Hyper Terminal, you should not select a Windows modem driver in the "Connect To" dialog. Instead, connect directly to the relevant COM port. Next, verify that the modems are working by sending information commands such as "ATI1" or "ATI3". If you don’t get a response using these commands, try resetting the modem(s) using the "AT&Z" command. Assuming you do get a response, set one in originate mode using the "ATD" command and the other in answer mode with the "ATA" command. If all is well, you should now be able to type in one terminal window and see the results echoed in the second PC’s terminal window. To return to control mode, type "+++". The advantage of using modems instead of a serial cable between COM ports is that the two PCs can be kilometres apart instead of a few metres. For example, you could connect the house PC to the workshop PC on the other side of the farm.
Continue[...]
When using this set-up with Hyper Terminal, you should not select a Windows modem driver in the "Connect To" dialog. Instead, connect directly to the relevant COM port. Next, verify that the modems are working by sending information commands such as "ATI1" or "ATI3". If you don’t get a response using these commands, try resetting the modem(s) using the "AT&Z" command. Assuming you do get a response, set one in originate mode using the "ATD" command and the other in answer mode with the "ATA" command. If all is well, you should now be able to type in one terminal window and see the results echoed in the second PC’s terminal window. To return to control mode, type "+++". The advantage of using modems instead of a serial cable between COM ports is that the two PCs can be kilometres apart instead of a few metres. For example, you could connect the house PC to the workshop PC on the other side of the farm.Saturday, June 19, 2010
Monitor Life Extender
This circuit was designed to protect a computer monitor from overheating. It is recommended to attach this circuit to power users’ monitors! Most computer monitors of the CRT type fail owing to over-heating. After one or two hours of use, the rear of a monitor may become as hot as 45 degrees C, or 20 degrees above ambient temperature. Most heat comes from the VGA gun drivers, the horizontal circuit, vertical circuit and power supply. The best possible way to extract heat and so prolong monitor life (and save the environment) is to add a brushless fan, which is lighter, energy-wiser and more efficient than a normal fan.
In the diagram, diodes D2, D3 and D4 sense the monitor’s temperature. These diodes have a total negative temperature coefficient of 6 mV per degree Celsius. To eliminate noise, shielded wire should be used for the connection of the temperature sensor to the circuit sensor. The +12-V supply voltage is borrowed from the computer’s power supply. Alternatively, a mains adapter with an output of 12 VDC may be used. C1 and C2 are decoupling capacitors to eliminate the ripple developed by switching or oscillation. R1 provides bias current to D1, a 6-V zener diode acting as a reference on the non-inverting pin of opamp IC2.B.
IC1, a ‘precision shunt regulator’ raises the sensor diodes’ voltage to just over 6 V depending on the adjustment of P1. C4 is the decoupling capacitor with the sensor network. Integrator network R4-C5 provides a delay of about 3 seconds, transforming the on/off output signal of IC2.B into an exponentially decreasing or increasing voltage. This voltage is fed to pin 3 of the second opamp, IC2.A. The hard on/off technique would produce a good amount of noise whenever the load is switched, hence an alternative had to be found. IC3, a TLC555, is used as an astable multivibrator with R5 and C6 controlling the charging network that creates a sawtooth voltage with a frequency of about 170 Hz.
This sawtooth is coupled to pin 2 of IC2.A, which compares the two voltages at its input pins and produces a PWM (pulse-width modulated) output voltage. The sawtooth wave is essential to the PWM signal fed to power output driver T1 by way of stopper resistor R6. The power FET will switch the fan on and off fan according to the PWM drive signal. The back emf pulses that occur when T1 switches on and off are clamped by a high-speed diode, D7. Initially, turn P1 to maximum resistance. Blow hot air from a hair dryer onto the sensor-diodes for a minute or so, then get the temperature meter near the sensor diodes and adjust P1 slowly towards the minimum resistance position with a digital meter hooked up on pin 7 of IC2.B. Roughly calibrate the temperature to 40 degrees C. At this temperature, the meter will show approximately 12V. The circuit will draw about 120mA from its 12-V supply.
Continue[...]
In the diagram, diodes D2, D3 and D4 sense the monitor’s temperature. These diodes have a total negative temperature coefficient of 6 mV per degree Celsius. To eliminate noise, shielded wire should be used for the connection of the temperature sensor to the circuit sensor. The +12-V supply voltage is borrowed from the computer’s power supply. Alternatively, a mains adapter with an output of 12 VDC may be used. C1 and C2 are decoupling capacitors to eliminate the ripple developed by switching or oscillation. R1 provides bias current to D1, a 6-V zener diode acting as a reference on the non-inverting pin of opamp IC2.B.
IC1, a ‘precision shunt regulator’ raises the sensor diodes’ voltage to just over 6 V depending on the adjustment of P1. C4 is the decoupling capacitor with the sensor network. Integrator network R4-C5 provides a delay of about 3 seconds, transforming the on/off output signal of IC2.B into an exponentially decreasing or increasing voltage. This voltage is fed to pin 3 of the second opamp, IC2.A. The hard on/off technique would produce a good amount of noise whenever the load is switched, hence an alternative had to be found. IC3, a TLC555, is used as an astable multivibrator with R5 and C6 controlling the charging network that creates a sawtooth voltage with a frequency of about 170 Hz.
This sawtooth is coupled to pin 2 of IC2.A, which compares the two voltages at its input pins and produces a PWM (pulse-width modulated) output voltage. The sawtooth wave is essential to the PWM signal fed to power output driver T1 by way of stopper resistor R6. The power FET will switch the fan on and off fan according to the PWM drive signal. The back emf pulses that occur when T1 switches on and off are clamped by a high-speed diode, D7. Initially, turn P1 to maximum resistance. Blow hot air from a hair dryer onto the sensor-diodes for a minute or so, then get the temperature meter near the sensor diodes and adjust P1 slowly towards the minimum resistance position with a digital meter hooked up on pin 7 of IC2.B. Roughly calibrate the temperature to 40 degrees C. At this temperature, the meter will show approximately 12V. The circuit will draw about 120mA from its 12-V supply.
Digital Isolation up to 100 Mbits
When it is necessary to send a digital signal between two electrically isolated circuits you would normally choose an optoisolator or some form of transformer coupling. Neither of these solutions is ideal; optocouplers run out of steam beyond about 10 MHz and transformers do not have a good low frequency (in the region of Hertz) response. The company NVE Corporation (www.nve.com) produces a range of coupler devices using an innovative ‘IsoLoop’ technology allowing data rates up to 110 Mbaud. The example shown here uses the IL715 type coupler providing four TTL or CMOS compatible channels with a data rate of 100 Mbit/s. Inputs and outputs are compatible with 3.3 V or 5 V systems. The maximum isolation voltage is 2.5 kV and the device can cope with input transients up to 20 kV/µs.
The company produce many other configurations including bidirectional versions that would be suitable for RS485 interfacing. The IsoLoop coupler is based on relatively new GMR (GiantMagnetoResistive) technology. The input signal produces a current in a planar coil. This current generates a magnetic field that produces a change in resistance of the GMR material. This material is isolated from the planar coil by a thin film high voltage insulating layer. The change in resistance is amplified and fed to a comparator to produce a digital output signal. Differences in the ground potential of either the input or output stage will not produce any current flow in the planar coil and therefore no magnetic field changes to affect the GMR material. Altogether the circuit provides a good electrical isolation between input and output and also protects against input signal transients (EMV).
Continue[...]
The company produce many other configurations including bidirectional versions that would be suitable for RS485 interfacing. The IsoLoop coupler is based on relatively new GMR (GiantMagnetoResistive) technology. The input signal produces a current in a planar coil. This current generates a magnetic field that produces a change in resistance of the GMR material. This material is isolated from the planar coil by a thin film high voltage insulating layer. The change in resistance is amplified and fed to a comparator to produce a digital output signal. Differences in the ground potential of either the input or output stage will not produce any current flow in the planar coil and therefore no magnetic field changes to affect the GMR material. Altogether the circuit provides a good electrical isolation between input and output and also protects against input signal transients (EMV).
Sunday, June 13, 2010
Speaker-Headphone Switch For Computers
If you need to use a headset with your PC, then you will know how frustrating it is continuously swapping over speaker and microphone cables. This is even worse if the PC is parked in a dark corner and the hard-to-read writing on the sound card sockets is covered in dust. This simple switch box eliminates all these problems. It sits on top of the desk and connects to the PC with stereo one-to-one cables. On the rear of the box are sockets for the PC speaker and microphone connections and the existing speakers. On the front of the box are the sockets for the headset microphone and headphones, an input for an external microphone and two switches. One switch is used to direct the sound card output from the PC to either the existing speakers or the headphones.
The second switch connects either the headset microphone or the external microphone to the input socket of the PC sound card. The switches used were 3 position 4 pole rotary switches with the last pole unused and adjusted for 2-position operation. All sockets were stereo 3.5mm types. This multiple switching arrangement is very flexible and is especially handy if you want to use an external microphone while monitoring with headphones. The ground wire as well as the left and right wires are all switched to prevent noise that could otherwise be induced into the microphone input through joining separate earths. For the same reason, a plastic case is used so that the earths of the sockets are not shorted together as would happen with a metal case. You will require two additional short stereo extension cables to connect the box to the PC.
Continue[...]
The second switch connects either the headset microphone or the external microphone to the input socket of the PC sound card. The switches used were 3 position 4 pole rotary switches with the last pole unused and adjusted for 2-position operation. All sockets were stereo 3.5mm types. This multiple switching arrangement is very flexible and is especially handy if you want to use an external microphone while monitoring with headphones. The ground wire as well as the left and right wires are all switched to prevent noise that could otherwise be induced into the microphone input through joining separate earths. For the same reason, a plastic case is used so that the earths of the sockets are not shorted together as would happen with a metal case. You will require two additional short stereo extension cables to connect the box to the PC.
Subscribe to:
Posts (Atom)




