Archive for the ‘diy’ Category

Christmas Lights

Friday, December 4th, 2009

Take a look at my last year’s Christmas Lights display and controlling them posting to Home Automation discussion group. You can find many links to videos and information on computer controlled Christmas Lights displays.

ChristmasLights004

Passive Ethernet Tap

Monday, November 16th, 2009

Construction and Use of a Passive Ethernet Tap article provides straightforward instructions on how to construct and use a passive Ethernet tap. It allows you to monitor Ethernet traffic on with any hub or switch and any operating system. A passive Ethernet tap is useful when installing an intrusion detection system (IDS) sensor or when snooping Ethernet traffic. I have used this passive Ethernet Tap for successfully monitoring 10 Mbit/s and 100 Mbit/s Ethernet traffic.

This circuit is a widely used hack. It is a hack in a sense that it is not technically up to the specifications an Ethernet device should need, but it is simple and works pretty well in most cases. The simple construction method used in this circuit creates impedance mismatches to the communications line, which are not good for the communications. But because Ethernet is pretty robust technology this “not so good” system works well enough when we are not using the Ethernet up to it’s extreme limits. The Ethernet communications is designed to work up to 100 meters cable length when properly wired. When you use considerably shorter cables, there is more room for different kind of imperfections on the communications line, for example imperfections like this passive tap. When I have kept the main communications line cables less than 10 meters in length and the tap cables 2-3 meters long everything has worked well.

passive_fig_2

Digital audio isolation

Friday, October 2nd, 2009

Isolator for digital audio is needed in cases where coaxial S/PDIF digital audio link forms a ground loop in your audio system. Typically in coaxial S/PDIF connections the coaxial cable shield is connected to equipment cases. This arrangement easily creates ground loops which can cause noise problems in various places in audio system. A suitable transformer can be used to isolate the coaxial S/PDIF signal and avoid ground loop problems (other option is to use optical connection instead of coax). Here is the circuit of the S/PDIF signal isolator I have used:

audio_isolator

ELFA catalogue product 56-550-55 “PE65612 Trafo dig.siirt.” is a tranformer suitable for isolating S/PDIF digital audio signal. The manufacturer for this product is Pulse Engineering and their product code is PE-65612.

Ratio: 1:1
Bandwidth: 100 kHz-55 MHz ±3 dB

PE65612

Here is a picture of the S/PDIF signal isoltor I built (box open):

spdifisiolator

spdif_isolator

More information on S/PDIF and related circuits can be found on my SPDIF document.

Build a Ground Loop Detector

Thursday, September 24th, 2009

Ground loops are a common problem in many experimental setups. A ground loop is an un-
wanted closed loop of cables in the setup, most often through the ground system. Those ground loops are often hard to find and debug. A Ground Loop Detector document describes how to build and test a simple system to detect ground loops in experimental setups. The two circuits used are from article “Simple system for locating ground loops” by P. M. Bellan. The ideas used on those articles are used in commercial product Loop Slooth. The idea in those circuits is to induce the test signal (100 kHz) into the ground system and then detect the amplitude of that signal in different parts of the setup with help of Rogowski coil based detector circuit. The basic idea in this circuit looks very promising. I have not yet tested the presented circuits, but at some laboratory tests the basic idea behind this circuit seems to work.

Gndloopexciter

Gndloopdetector

Power Everything with USB

Wednesday, September 23rd, 2009

9 Kick-Ass DIY Projects to Get Your Hack On article on maximumpc.com web site starts with instructions how to alter a non-USB gadget so that it can be run off of USB power from your computer. The article shows you how to use USB to power a desk fan and book-light lamp.

3-c-USB_power_3_405

Build video isolator

Tuesday, September 15th, 2009

Video isolation transformers are primarily used in CCTV application in fields of security, manufacturing, avionics and display. The video isolation transformer is an extremely broad bandpass 1:1 isolation transformer. Its hum isolation is very good and it can sustain very high noise voltages without degradation. Isolation decreases with increasing noise frequency.

Video signals can transformer isolated in many applications. Most video signal transport paths are AC coupled, so this kind of signal can pass through a suitable transformer. Video isolation transformers are used CCTV applications where they solve ground loop problems or protect system against ground potential differences between different locations.

audio_isolator

The design of a high bandwidth transformer which can go to very low and very frequencies is very hard. Video signal can have significant signal components from 50 Hz up to 6 MHz. Unfortunately in practical transformers you have to always make some compromises on low and high frequency responses (highest components of composite video can be attenuated even few dB). Signal amplitude at low frequencies is limited by core saturation and coil inductance. High frequency response is limited by leakage inductance and winding capacitance. Many video isolation transformers are only designed for CCTV other not so demanding applications application, where more signal distortion is accepted than in broadcast industry.

Lundahl LL1575 is a high bandwidth video isolation transformer designed for CCTV (closed circuit television) applications. I have used that transformer successfull to build video video isolators. That transformer has 20 Hz – 11 MHz +0 /- 3 dB frequency response (possible with special bifilar winding technique and special core construction). That transformer gives 2 kV rms isolation between primary and secondary windings.

The LL1575 datasheet recommends that if DC current is present, the transformer must be decoupled (with large capacitor). Because in many video circuits there can some DC present especially in video outputs, I thought that it would be a good idea to include suitable DC blocking capacitor to the circuit input side (on the left, connected to video signal source output). A suitable capacitor value should be 1000 uF or higher (practically demands using electrolytic capacitor) and have good high frequency characteristics (electrolytic capacitors are not good at this, ceramic etc.. would be much better here). The capacitor I used was built from 4700 uF electrolytic capacitor (gives capacitance) wired in parallel with 100 nF ceramic capacitor (handles the high frequencies where electrolytic capacitor is not good at). 25V or higher voltage rating is suitable for the application (you normally see 1Vpp video signal plus maybe few volts DC).

videoisolator_smaller

The circuit is best constructed to a small plastic box with suitable connectors. For professional applications I recommend to use BNC connectors. If all your equipment use RCA for video signal, then use those connectors if they are easier for you. Plastic box is easiest for the construction because in this way it is easy to guarantee good electrical isolation between input and output side connectors (in metal box needed isolation could be hard to do reliably).

Here ia picture of the video isolator I have built:

Videoisolator1

How to build cheap cloud storage

Sunday, September 13th, 2009

Petabytes on a budget: How to build cheap cloud storage tells how to store hundreds of petabytes of customer data in a reliable, scalable way—and keep costs low. Backblaze decided to build their own custom Backblaze Storage Pods: 67 terabyte 4U servers for $7,867. Petabytes on a budget: How to build cheap cloud storage article shows how to make one of these storage pods, and you’re welcome to use this design.

backblaze-cheap-cloud-server-storage2

A Backblaze Storage Pod is a self-contained unit that puts storage online. It’s made up of a custom metal case with commodity hardware inside. Specifically, one pod contains one Intel Motherboard with four SATA cards plugged into it. The nine SATA cables run from the cards to nine port multiplier backplanes that each have five hard drives plugged directly into them (45 hard drives in total).

Backblaze decided to build their own server because the price of off-the-shelf storage solutions was 10 times as much (or more) than the raw hard drives. Here’s a comparison chart of the price for one petabyte from various venders:

cost-of-a-petabyte-chart

Build Your Own Server

Thursday, September 10th, 2009

Why pay somebody to do it for you when you can build it yourself! Build Your Own Server web page gives you instructions how to build your own file server. This server is based on normal PC hardware runs using Ubuntu Linux operating system.

Build humbugging transformer

Sunday, September 6th, 2009

Ground loop elimination in video systems does not always ask for a complete isolation of the grounds. There are passive hum suppressor transformers that will very effectively remove the hum from the video signal, but do not affect the video signal otherwise. Those special transformers act like a common mode coils, which stop the annoying ground loop currents on the shield of the coaxial cable, but provide a straight path for the signal inside the cable. This type of device is capable of passing the signals from DC to tens of MHz without problems. The hum suppressor transformer both reduces the current flowing on the cable shield and compensated the voltage differences that would otherwise be between cable ends and eventually get to the signal.

The humbugging transformer/coil consists just of many (tens to hundreds) turns of 75-ohm miniature video coaxial cable wind on a suitable transformer core. The aim is to have a coil that has high enough inductance to keep the cable shield current low and still withstand the voltages/currents it gets exposed to in typical applications without saturation. This kind of hum reduction coil works by mutual inductance. The coax cable is wound around a transformer core so that both the inner and shield of the cable become inductors. The tight coupling ensures that any voltages/currents flowing on the cable shield, caused by variations in earth potential differences, are transformed into the inner conductor. This type of transformer is typically constructed to a specially selected toroid transformer core.

This type of hum suppression transformer has found it’s way to the professional video application (rental companies) and computer video applications (computer to video projector connections). The transformers of this type are usually called “hum bug transformers”, “hum-bucking transformers”, “anti-hum video transformers”, “hum suppressor transformers” or “video isolation chokes”. T The humbugging transformer presents a simple transmission line to the signal, so that its signal amplitude capability is essentially unlimited, and its bandwidth extends from DC to that frequency where line losses become excessive. Isolation increases with increasing noise frequency. The choke provides protection against moderate levels of 60 Hz hum, and protection against very high levels of RF noise. ypical performance figures are 30-40 dB hum level reduction up to 2-10V volt voltage differences at mains voltage frequency (50 Hz or 60 Hz). The maximum voltage the humbugging transformer can handle at low frequencies depends on the transformer specifications, usually limited by transformer core saturation. The humbugging transformer choke is primarily used in Broadcast TV because it passes the DC component of the signal. It is used in studio, and in remote ENG.

Humbugging transformer

This picture shows the inside a commercially sold “video hum bug transformer” sold by Finnish company RGB. The price range of this kind of commercial device is usually 100-200 US dollars range. I had to open this unit to change the BNC connector that was broken on a field use. This device consists of a toroid shape transformer core and around 50 turns of very thin 75-ohm video coaxial cable wrapped around it. You can make your own working similar device by taking he core from a 100-400W toroidal mains power transformer and winding 30-50 turns of thin 75-ohm coaxial cable around it. This will work well but is somewhat larger and heavier than the commercial devices like this. It is possible to optimize the size with careful selection of suitable core material and number of turns.

Here is an inside views of some humbugging video transformer products that I have made. They have performed very well on many video systems to solve ground loop problems.

humstop1

humstop5

Router speed control to light dimmer

Tuesday, August 25th, 2009

More than a year ago I was approached by an independent filmmaker about light dimmers. The problem fo them was how to get affordable light dimmers to control the film lighting. I was told that many independent non-commmercial filmmakers use a HarborFreight router speed control to dim the lights used for moviemaking. The reason is that they are are cheaper and far heavier (15A) than building our own from a 600W house lights dimmer. The problem with these router speed control devices is that they do not dim down enough to turn the lights off. They also don’t quite go to full brightness but that is a minor problem as they have a switch that bypasses the electronics and provides full power.

HarborFeight43060

After some discussion I got one of these units mailed to me to see if there is a way to modify those to work as better light dimmer.First thing I did was to open the device to see how it was built out. Based on what I saw the circuit was pretty close to a traditional light dimmer. And there seemed to be also some adjustment trimmer for some adjustments. Looked promising.

Harbor_dimmer_open

The nest task was to test the device. The problem that those are designed to operate 110-120V AC 60 Hz power has a slight problem to me. In Finland the mains power is 230V AC 50 Hz. Getting real 120V 60Hz power and finding 120V AC light bulbs is hard here where I live. I got one 120V lamp with the router speed control device so I had suitable lamp. Getting real 60 Hz power would involve some expensive power converter or using 12V to 120V AC true sinewave inverter or something similar that I did not have at the moment. So I decided to do my first testing with 110V 50Hz power that I get easily with a suitable voltage conversion transformer (I used fully isolating transformer for safety).

I did some testing. I found that the controller trimmer potentiometer controls how dim the output can go. I was able to get lamp very dim. Here is the picture of the dimmer electronics with a well insulated screwdriver adjusting the trimmer (there is a hole on the circuit board that gives access to the trimmer). Well insulated screwdriver and isolation transformer powering the whole circuit makes it possible to do ajustments with live circuit pretty safely when you know what you are doing. I mailed the results back to person who sent me the router speed control and he tested the results with real 60 Hz power (they worked).

Harbor_dimmer_adjust

The adjustment instructions: Set the potentiometer lowest setting. Then adjust the trimmer so that you get as dim light as possible without noticeable side effects. When you set the trimmer to too low setting, turning potentiometer will cause the output to be completely off (lap turns off). When dimmer reaches this full iff state, the dimmer potentiometer need to be turned quite much (one third or one fouth) until the light turns back on, quite bright already. The ideal setting I think would be that the lowest dimmer potentimeter setting would just set the bulb to be just barely on (lamp filament dark red and does not make much light), so you have always full control range from it to full setting without problems.

In this way a relatively cheap router speed control device is converted to a relatively inexpensive high power light dimmer.