Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 3 1 2 3 >
Topic Options
#307826 - 03/03/2008 13:54 Rube Goldberg strikes again (or how I watch TVO)
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
smile


Attachments
1.jpg

Description: So elegant in appearance.. not!



Top
#307829 - 03/03/2008 14:21 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
TVO? What's TVO?
_________________________
Bitt Faulk

Top
#307830 - 03/03/2008 14:28 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: wfaulk]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Wouldn't it have been easier to take the antenna switch apart and wire it up to a relay or something....

Top
#307833 - 03/03/2008 14:56 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: tman]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
Originally Posted By: tman
Wouldn't it have been easier to take the antenna switch apart and wire it up to a relay or something....


But where would be the fun in that?

The rube goldberg device is just so elegant.
_________________________
Tony Fabris

Top
#307834 - 03/03/2008 15:10 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: wfaulk]
hybrid8
carpal tunnel

Registered: 12/11/2001
Posts: 7738
Loc: Toronto, CANADA
TVOntario is abbreviated as "TVO" here in... Ontario. smile I'm not sure why Mark would wire up such a fancy little contraption for a single channel though.

_________________________
Bruno
Twisted Melon : Fine Mac OS Software

Top
#307835 - 03/03/2008 15:43 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: hybrid8]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Okay, why does it need a separate input for the one channel? Does Mark have cable and it's only broadcast? Does he need an antenna pointing in a different direction than for the other channels?
_________________________
Bitt Faulk

Top
#307836 - 03/03/2008 16:48 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: wfaulk]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: wfaulk
Okay, why does it need a separate input for the one channel? ... Does he need an antenna pointing in a different direction than for the other channels?

Bingo!

We refuse to pay monthly fees for television signals when they are free over the air here (including some HD channels). So we have a small tower with three antennas on it:
  • one home-made dipole, aligned to receive nearly all local analog channels, as well as the CBC-HD channels.
  • one very large/fancy array pointed at the nearest distant PBS station, soon to be rotated towards a PBS-HD signal instead.
  • one UHF antenna pointed specifically at the nearest transmitter for TV-Ontario (TVO).

Our Myth PVR has two HD tuners, and two NTSC (analog) tuners. The latter are normally wired to a combo feed from the first two antennas. The third antenna is not normally connected, because it degrades the other signals when combined with them.

So, we've been using a manual switch box to select antennas for the second NTSC tuner in the Myth box. But we don't always remember to flip the switch in advance of the next recordings.

I've been wanting to automate this for some time now, and so began the effort with a simple relay kit that I found in Toronto for about $15.

At first, I tried wiring the RF coax directly into the relay, but this resulted in more noise and ghosting, and was deemed unacceptable (our reception is normally near crystal clear on all channels, better than some digital cable feeds..).

To keep the signal quality high, we had to stick with a high quality (low loss) sealed-unit RF switch. But how to actuate it? A pair of electromagnets came to mind, but the switch can be somewhat sticky at times.

On Saturday, I stumbled across this geared 5V motor in a local shop, for $7. They also had a nicely mating rubber tyred wheel to fit, for another $5.

And thus the contraption pictured at the top of this thread.

The center contacts of the relays are wired to the two motor poles. The two signal contacts of each relay are wired to GND (normally closed) and +5VDC (normally open). So if both relays are off, the motor is grounded, and nothing happens. If both relays are on, the motor gets +5VDC on both poles, and nothing happens there either. But if a single relay is "on", the motor spins one way or the other, depending upon which relay is "on".

The two relay control inputs are wired to a couple of data lines from the Myth box's parallel port, and the same box's PSU gives +12VDC (for the relay coils), and +5VDC (for the motor) in series with a diode to prevent backflow.

To complete the package, I added an "external channel change script" to Myth for that NTSC tuner. The script just pokes values to the parallel port to turn on one relay, wait 200msec, and turn it off again.

Whirrs like a charm!


Top
#307837 - 03/03/2008 17:09 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Awesome.
_________________________
Bitt Faulk

Top
#307838 - 03/03/2008 17:54 Rube Goldberg over USB ? [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
On a related note..

I've been looking for some time for a nice, simple, USB-to-GPIO interface solution to control projects like this one, since parallel ports are soon to be extinct.

One of the links from the motor suppliers led me to this USB to serial / bitbang device.

It looks like it could be quite useful, and there may be other suppliers with pricing better than the $33/unit from there.

Cheers

Top
#307840 - 03/03/2008 18:57 Re: Rube Goldberg over USB ? [Re: mlord]
pca
old hand

Registered: 20/07/1999
Posts: 1102
Loc: UK
How about this?

pca
_________________________
Experience is what you get just after it would have helped...

Top
#307843 - 03/03/2008 19:15 Re: Rube Goldberg over USB ? [Re: pca]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
Originally Posted By: pca
How about this?

pca


It's a good board that one, although you should buy it as a kit for added fun. The linux drivers work well too.
_________________________
Cheers,

Andy M

Top
#307844 - 03/03/2008 19:23 Re: Rube Goldberg over USB ? [Re: andym]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
Very cool setup. At my folks house, before they got locals over satellite, they got them all over antenna. The problem was that the major networks were all located in or around DC, while the local PBS station was dozens of miles south of the city. My folks are about 8 miles west southwest of the city, so their antenna wouldn't pick up any of the PBS channels. The only option our satellite installer (not DirecTV-provided - a local guy) gave us was to install a motor that would turn the antenna, but we decided not to go with that due to the equipment being very expensive.

I like your solution a lot, but I'm glad I can get all my local channels over fiber. Thank goodness for FIOS!
_________________________
Matt

Top
#307846 - 03/03/2008 19:40 Re: Rube Goldberg over USB ? [Re: andym]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: andym
Originally Posted By: pca
How about this?
pca

It's a good board that one, although you should buy it as a kit for added fun. The linux drivers work well too.


Ahh.. that's all good to know, thanks guys.

I did notice one in kit form at our local shop, but there was
too little tech info for me to decide whether or not it would
be easily usable on Linux.

It is perhaps a tad expensive and large for one-of uses,
but fun to play with otherwise.

Along the same vein, here is an electronic replacement
for the relay board I used.

And here is a nice, cheap real-world relay interface kit
that works over serial (or USB if one adds a USB-serial converter).

EDIT: And, ooooh.. remote control of stuff via the telephone,
and reasonably priced, too. I can't think of how many times
I've wanted something like this, to reset or power-on a box
while I've been far far away..


Edited by mlord (03/03/2008 22:31)

Top
#307848 - 03/03/2008 19:46 Re: Rube Goldberg over USB ? [Re: Dignan]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: Dignan
Very cool setup. At my folks house, before they got locals over satellite, they got them all over antenna. The problem was that the major networks were all located in or around DC, while the local PBS station was dozens of miles south of the city.


I had a friend here, who installed a largish antenna + rotor on a tall tower for television reception. In his location, half the channels where one way, and the other half were about 90 degrees rotation from there.

His rotor master box used a hand-held IR remote control to directly dial in degree settings.. so we wired up an IR blaster (IR LED connected to a serial port) on his Myth box so that Myth could automatically rotate the antenna as needed.

Very cool.

Top
#307851 - 03/03/2008 23:18 Re: Rube Goldberg over USB ? [Re: mlord]
BAKup
addict

Registered: 11/11/2001
Posts: 552
Loc: Houston, TX
How about using an Arduino to control it? The newest ones have a USB to Serial interface on the board, and they are easy to program.

http://www.arduino.cc/

(I've been playing with these for a bit, and like how easy they are to work with)

_________________________
--Ben
78GB MkIIa, Dead tuner.

Top
#307858 - 04/03/2008 02:03 Re: Rube Goldberg over USB ? [Re: BAKup]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: BAKup
How about using an Arduino to control it?


Ahh.. good. Another brand/source for this kind of stuff. These ones look a little less turn-key than some of the others, but in the same ballpark for price.

Thanks!

Top
#307860 - 04/03/2008 02:16 Re: Rube Goldberg over USB ? [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: mlord
Originally Posted By: BAKup
How about using an Arduino to control it?


Ahh.. good. Another brand/source for this kind of stuff. These ones look a little less turn-key than some of the others, but in the same ballpark for price.


Ahh! Now we'er talking: $15 USB to serial/GPIO board!!

Woo-hoo! Gotta order me a dozen of these!

Cheers

Top
#307862 - 04/03/2008 03:27 Re: Rube Goldberg over USB ? [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: mlord
Ahh! Now we'er talking: $15 USB to serial/GPIO board!!

Woo-hoo! Gotta order me a dozen of these!


Well, okay, two of them anyway. Plus a motor controller!
And it's in Canada (cheap shipping!) and in Canadian currency!!

Woo-hoo!!

Thanks for the pointers!

Top
#307877 - 04/03/2008 14:15 Re: Rube Goldberg over USB ? [Re: mlord]
BAKup
addict

Registered: 11/11/2001
Posts: 552
Loc: Houston, TX
Originally Posted By: mlord
Originally Posted By: BAKup
How about using an Arduino to control it?


Ahh.. good. Another brand/source for this kind of stuff. These ones look a little less turn-key than some of the others, but in the same ballpark for price.

Thanks!


The Arduino is all open hardware/open source, so of course it'll be a little rough around the edges wink There are a lot of people using them for little projects just because it is so easy to work with.

Also since you're looking at just a USB->Serial with some GPIO pins, take a look at this http://www.gridconnect.com/xportdirect.html
It is a Ethernet to Serial interface also with some GPIO pins.

I'm using one of those hooked into the Arduino I've got so it can talk to the network directly without needing a computer.



_________________________
--Ben
78GB MkIIa, Dead tuner.

Top
#307880 - 04/03/2008 15:28 Re: Rube Goldberg over USB ? [Re: BAKup]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: BAKup
Originally Posted By: mlord
Originally Posted By: BAKup
How about using an Arduino to control it?

Ahh.. good. Another brand/source for this kind of stuff. These ones look a little less turn-key than some of the others, but in the same ballpark for price.

The Arduino is all open hardware/open source, so of course it'll be a little rough around the edges wink


That's not rough, but, rather, more flexible! smile

Originally Posted By: BAKup
Also since you're looking at just a USB->Serial with some GPIO pins, take a look at this http://www.gridconnect.com/xportdirect.html
It is a Ethernet to Serial interface also with some GPIO pins.

Mmm.. only two GPIO pins, and a surprising lack of information about the product -- not even a pin-out description. How not to sell something on the web.

But it could be useful in combination with the Serial Relay control box.. smile

Thanks!


Top
#307881 - 04/03/2008 15:33 Re: Rube Goldberg over USB ? [Re: mlord]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
You need to go the manufacturer's site to actually get the info. Gridconnect is just a reseller. I've used a few of their smaller XPort modules before and they work well if a little lacking in GPIO.

Top
#307883 - 04/03/2008 17:08 Re: Rube Goldberg over USB ? [Re: mlord]
BAKup
addict

Registered: 11/11/2001
Posts: 552
Loc: Houston, TX
Yes, I only pointed you to a reseller of it, Tman's link is to the people who make the thing, and they have all the documentation there.

And yes, the Arduino is very flexable smile

http://blog.makezine.com/archive/arduino/
_________________________
--Ben
78GB MkIIa, Dead tuner.

Top
#307893 - 04/03/2008 20:42 Re: Rube Goldberg over USB ? [Re: BAKup]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
Originally Posted By: BAKup
The Arduino is all open hardware/open source, so of course it'll be a little rough around the edges wink There are a lot of people using them for little projects just because it is so easy to work with.


I'd hardly say it was rough round the edges. Compared to commercial products like Picaxe it runs rings round them.
_________________________
Cheers,

Andy M

Top
#307903 - 04/03/2008 23:42 Re: Rube Goldberg over USB ? [Re: andym]
BAKup
addict

Registered: 11/11/2001
Posts: 552
Loc: Houston, TX
Originally Posted By: andym
Originally Posted By: BAKup
The Arduino is all open hardware/open source, so of course it'll be a little rough around the edges wink There are a lot of people using them for little projects just because it is so easy to work with.


I'd hardly say it was rough round the edges. Compared to commercial products like Picaxe it runs rings round them.


I haven't worked with too many other development systems, so I don't have a good baseline to work with. I will say that working with the Arduino is getting easier with all the new info coming out every day.
_________________________
--Ben
78GB MkIIa, Dead tuner.

Top
#307904 - 05/03/2008 00:24 Re: Rube Goldberg over USB ? [Re: mlord]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
Didn't you mean to link to this .
_________________________
Glenn

Top
#307909 - 05/03/2008 01:45 Re: Rube Goldberg over USB ? [Re: gbeer]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: gbeer
Didn't you mean to link to this .


No, the other one I did link to was only about 2/3 of the price of that one, and has a mini-USB-B connector instead of the more bulky full-size B connector. It also seems to have quite versatile I/O capabilities.

But there are several appealing alternatives there, including the one you linked to.

Cheers

Top
#307948 - 06/03/2008 00:59 Re: Rube Goldberg over USB ? [Re: mlord]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
I guess I was confused by the lack of GPIO being mentioned in the linked item.
_________________________
Glenn

Top
#307957 - 06/03/2008 02:28 Re: Rube Goldberg over USB ? [Re: gbeer]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: gbeer
I guess I was confused by the lack of GPIO being mentioned in the linked item.


Yeah, it's all described in the full datasheet for the chip.

Cheers

Top
#308008 - 07/03/2008 01:23 Re: Rube Goldberg over USB ? [Re: mlord]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
So getting back to the original post.

I dub thee Frankenswitch.

But, is it really difficult to build a composite antenna. Ok call it a Frankentenna. Where several directional antenna are combined and present via a single feed.
_________________________
Glenn

Top
#308011 - 07/03/2008 02:35 Re: Rube Goldberg over USB ? [Re: gbeer]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: gbeer
I dub thee Frankenswitch.


Now, there's a good USB Device string I could use for the next version of it!

I've got my new solid state motor controller PCB (just a chip, really), and the USB-to-Serial-and-GPIO converters.

I'm going to combine one USB converter with the motor controller and motor, into a simpler bus-powered Frankenswitch device. This takes 3 GPIO pins: one for "clockwise", one for "anti-clockwise", and another for "idle" mode.

That still leaves many more pins, and a full serial interface unused.. mmmm...

Cheers

Top
#308012 - 07/03/2008 04:31 Re: Rube Goldberg over USB ? [Re: BAKup]
BAKup
addict

Registered: 11/11/2001
Posts: 552
Loc: Houston, TX
Originally Posted By: BAKup
Originally Posted By: andym
Originally Posted By: BAKup
The Arduino is all open hardware/open source, so of course it'll be a little rough around the edges wink There are a lot of people using them for little projects just because it is so easy to work with.


I'd hardly say it was rough round the edges. Compared to commercial products like Picaxe it runs rings round them.


I haven't worked with too many other development systems, so I don't have a good baseline to work with. I will say that working with the Arduino is getting easier with all the new info coming out every day.


Ok, now after spending time pulling hair out workng with the BIPOM MINI-MAX/ARM-E board and its very lousy documentation, I will have to say the Arduino is a dream to work with.

I do love the Frankenswitch, nice work there Mark!
_________________________
--Ben
78GB MkIIa, Dead tuner.

Top
#308014 - 07/03/2008 12:26 Re: Rube Goldberg over USB ? [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: mlord
I've got my new solid state motor controller PCB (just a chip, really), and the USB-to-Serial-and-GPIO converters.


Mmm.. the next version of this may truly be deserved of the title Frankenswitch!

I'm thinking of making up a new platform with two motors/switches, controlled from a single USB converter. The second switch would give us more flexibility before next February. That's when the antennas will need to be rearranged, as the analog PBS transmitter goes off-air permanently then.

There's a newer, digital HD, PBS station we can receive in place of that, but only with a different antenna configuration that conflicts somewhat with the existing setup of splitters and combiners.

Mmm.. I wonder if four switches might be even better.. ?

Cheers

Top
#308017 - 07/03/2008 13:50 Re: Rube Goldberg over USB ? [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
You need to hook up a tiny little Jacob's Ladder to the thing. :-)

It's alive! ALIVE!
_________________________
Tony Fabris

Top
#308268 - 15/03/2008 23:11 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: mlord]
Folsom
member

Registered: 12/08/2001
Posts: 175
Loc: Atlanta
Instead of all these electromechannical switches, have you looked at some solid state SP2T or higher switches. Digikey has some switches that could be used. How about something like the NJG1519KC1-TE3CT-ND ?

About 0.5dB insertion loss up to 1GHz, 22dB isolation worst case. This switch is rated for 50 ohms, but the insertion loss is low enough to work in a 75 ohm system.

Easiest way to prototype this is to turn it upside down and bend the ground leads to touch a ground layer on a PCB. Then solder 1000pF SMT caps on the control lines to ground. Cut 5 coaxes as pigtails and use 1000pF SMT caps as DC blocks to connect the coax to the RF inputs/outputs. The performance should work well enough as a TV switch. If a PCB is needed then just follow the example in the datasheet.

Top
#308270 - 16/03/2008 01:17 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: Folsom]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: Folsom
Instead of all these electromechannical switches, have you looked at some solid state SP2T or higher switches.


Yeah, the thought has occurred to me, but apparently I'm not very good with my EMI/EMC stuff! smile

And this thing would definitely need to be very good to avoid degrading the excellent picture quality we enjoy here!

The one you linked to has only 24dB isolation, whereas the sealed mechanical switches I'm using here have 60dB+. There are probably better semiconductors to use, though, but I'm not yet advanced enough to lay them out and isolate things well enough.

However.. one of my next projects is to try building a low noise RF preamp for masthead applications. There are $2 /$4.50 chips from Digikey that quote < 0.5dB noise figures for this purpose, and with a bit of luck I might keep the total figure under 1.0dB.

Off-the-shelf pre-amps generally score noise of 3-4dB or higher, so this could be quite useful if I can pull it off. A commercial product with that kind of figure costs >$200 or so (I know, I have one of them here..).

Cheers

Top
#308272 - 16/03/2008 01:44 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Mmmm.. still, it was rather nice of JRC to include a full PCB layout in that datasheet.. and it's not difficult to transfer that to some copper and etch it out.. Mmmm..

Cheers

Top
#308274 - 16/03/2008 03:38 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: mlord]
Ross Wellington
enthusiast

Registered: 21/02/2006
Posts: 325
Hi,

One way around the isolation challenge with semiconductor switches and PIN switches is to use them in a double pole configuration where you have a common "well decoupled from each other - as in series ferrite bead, series resistor, and parallel capacitor" on the RF switches. Each control line on the switch has this isolation filter. The output of one is fed to the input of the other arm of the switch, think of it as a DPST switch configuration from 2 SPST switches. Don't count on 2X isolation though, more like 35 dB + 35 dB = 55 to 60 dB maybe.


Some of the common design problems with semiconductor type of switches that result in much leakage and isolation degradation occurs due to:

1) Mis-managing the switch control decoupling (as FOLSOM mentioned)

2) Poor layout isolation (I've seen the RF input couple to the switch control line and lose 20 dB of isolation).

These switches need to be grounded VERY WELL. This includes the ground pad on the bottom of the IC package (if provided). If there is one, a via field (25 mil vias) to multiple ground planes works well. The device ground pins must go directly to a plane.

Place the decoupling capacitors within 10s of mils of the device. The RF traces take precedence though.

Try to make the traces that enter and exit the device are the same width as the pin to minimize VSWR losses.

If the frequency warrants it, usually above 700 MHz, use straight traces and curved bends (sometimes 45 degree and chamfered corners can be used depending on frequency).

Make sure you have the proper trace width to give 50 Ohm unless your target is 75 or 93 Ohms.

There is always discussion about FR-4, Rogers 4000 series products, G-Tek, Gore Speedboard, etc... Understand the material properties of the PWB, cost, CTE, Er, Loss Tangent, availability. FR-4 may or may not work for your application depending on your environment. The IPC and vendors have worked cooperatively to improve specifying & measuring critical parameters (see IPC-6018).

3) Whether the switch is reflective or absorbtive in operation and what works for your application. Be careful with layout of trans-impedance converters that accompany some RF switches and attenuators too.

4) Poor support from vendors and using their test circuits as "gospel". Many times these boards and stack-up are optimized and when the design is integrated onto a design with other circuit elements like 10MHz PLL Reference Clocks, mixers, attenuators, etc, "well what do you know, it doesn't operate as expected" becuase of other design considerations or circuitry partitioning. Breadboarding more of the circuit such as FOLSOM recommended is a very informed recommendation.



In summary, semiconductor switches can be used with proper attention to design & layout parameters.

Ross
_________________________
In SI, a little termination and attention to layout goes a long way. In EMC, without SI, you'll spend 80% of the effort on the last 3dB.

Top
#308278 - 16/03/2008 11:48 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: mlord]
Folsom
member

Registered: 12/08/2001
Posts: 175
Loc: Atlanta
Originally Posted By: mlord
And this thing would definitely need to be very good to avoid degrading the excellent picture quality we enjoy here!
One way to check if 20-25dB is enough is to combine them together and then put 20-25dB attenuation on the unwanted signal. If the picture quality looks ok with this configuration, then the switch should work OK. You would have to have some attenuators laying around though.

Top
#308280 - 16/03/2008 13:38 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: Folsom]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: Folsom
Originally Posted By: mlord
And this thing would definitely need to be very good to avoid degrading the excellent picture quality we enjoy here!
One way to check if 20-25dB is enough is to combine them together and then put 20-25dB attenuation on the unwanted signal. If the picture quality looks ok with this configuration, then the switch should work OK. You would have to have some attenuators laying around though.


Yeah, that's clever! I don't have any attenuators around at the moment, but those can be simulated (I think) with a couple of 1:4 splitters, with terminators on the unused splitter outs. That stuff is laying around in my bins.

Cheers

Top
#316771 - 29/11/2008 04:38 Frankenswitch v2. [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Frankenswitch v2.


Attachments
z0205719.jpg

Description: Frankenswitch v2. Two 3:1 automated coax switches for my PVR.



Top
#316776 - 29/11/2008 13:54 Re: Frankenswitch v2. [Re: mlord]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
Wow, I'm so glad I get all of my terrestrial TV from one transmitter.
_________________________
Cheers,

Andy M

Top
#316779 - 29/11/2008 14:58 Re: Frankenswitch v2. [Re: andym]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Now admittedly, it is a bit over the top.

We currently get reception from three different vectors: a big tower north of town (about 2/3 of the local stations), another south-east of town (the other 1/3 of the locals), and a very distant station far south-south-east of here (USA PBS station).

So this gizmo has a pair of 3:1 pushbutton switches (one for each analog tuner in the PVR), and six solenoid actuators to press the buttons. An FT232RL USB-serial breakout board provides control (in "bitbang" mode), and a ULN2003A darlington array drives the solenoid coils.

For added complexity, there's a small relay to cut DC power from the solenoid circuitry when idle (for paranoia). But it's kinda redundant now, since I later added a second, solid-state relay to power down the entire AC PSU (a brick which provides +27VDC@600mA) when idle (saves watts since the thing is only rarely active, and only then for brief instants).

It was a fun build! smile


Attachments
1.jpg

Description: The control unit.



Top
#316781 - 29/11/2008 15:52 Re: Frankenswitch v2. [Re: mlord]
tanstaafl.
carpal tunnel

Registered: 08/07/1999
Posts: 5549
Loc: Ajijic, Mexico
Mark, maybe you and this guy should get together. Your minds seem to go in similar directions!

tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"

Top
#316782 - 29/11/2008 16:27 Re: Frankenswitch v2. [Re: tanstaafl.]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Yeah. I think I saw a commercial RFID cat door somewhere in Italy last month.. but without the mouse recognition system that that guy uses!

Cheers

Top
#316784 - 29/11/2008 18:55 Re: Frankenswitch v2. [Re: andym]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5916
Loc: Wivenhoe, Essex, UK
Originally Posted By: andym
Wow, I'm so glad I get all of my terrestrial TV from one transmitter.

I can't help thinking it is a good job Mark doesn't get his TV from a single transmitter. Just think how dangerously effective he'd be if he didn't have things like this to take up is "spare" time...
_________________________
Remind me to change my signature to something more interesting someday

Top
#316789 - 30/11/2008 04:02 Re: Frankenswitch v2. [Re: andy]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Yeah, but I swore years ago to only use those powers for Good.. smile

Top
#316797 - 30/11/2008 23:17 Re: Frankenswitch v2. [Re: mlord]
Folsom
member

Registered: 12/08/2001
Posts: 175
Loc: Atlanta
Did you ever try the experiment to see if 25dB isolation was good enough? The solid state switch would be a lot cleaner solution.


Edited by Folsom (30/11/2008 23:18)

Top
#316805 - 01/12/2008 13:46 Re: Frankenswitch v2. [Re: Folsom]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: Folsom
Did you ever try the experiment to see if 25dB isolation was good enough? The solid state switch would be a lot cleaner solution.

Absolutely agreed -- it would be better, especially with a couple of these switches in series for higher isolation.

I have not tried it because of the difficulty (for me) of building / designing appropriate PCBs for 75ohm impedance with F-connectors (the one in the datasheet is for 50ohm with tiny SMA connectors).

I've figured out how to change the microstrip spacings for 75ohm, but am unsure about the other components and about actually manufacturing such a PCB with two (or more) of these circuits.

Thanks


Edited by mlord (01/12/2008 13:48)

Top
#316808 - 01/12/2008 14:07 Re: Frankenswitch v2. [Re: mlord]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
Originally Posted By: mlord
It was a fun build! smile

While I can only admire any project that goes from USB at one end to MDF at the other, I have to say that if that had been my own TV watching then I'd have just bought however many extra USB TV tuners it took to solve the whole problem in software...

Peter

Top
#316818 - 01/12/2008 15:47 Re: Frankenswitch v2. [Re: peter]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
Originally Posted By: peter
While I can only admire any project that goes from USB at one end to MDF at the other


Tee hee!
_________________________
Cheers,

Andy M

Top
#316821 - 01/12/2008 16:15 Re: Frankenswitch v2. [Re: peter]
canuckInOR
carpal tunnel

Registered: 13/02/2002
Posts: 3212
Loc: Portland, OR
Originally Posted By: peter
Originally Posted By: mlord
It was a fun build! smile

While I can only admire any project that goes from USB at one end to MDF at the other, I have to say that if that had been my own TV watching then I'd have just bought however many extra USB TV tuners it took to solve the whole problem in software...

And here I've been thinking that I can't even find enough TV worth watching on one channel, never mind enough channels to need all those switches.

Top
#316822 - 01/12/2008 16:42 Re: Frankenswitch v2. [Re: canuckInOR]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: canuckInOR
And here I've been thinking that I can't even find enough TV worth watching on one channel, never mind enough channels to need all those switches.

Ahh.. but we don't watch TV, we watch MythTV recordings, with any commercials already stripped away from view.

Mostly from PBS, OntarioTV (like PBS), and CBC. Those are all full of "TV worth watching", as the catchphrase goes.

But also a bit of content from more commercial stations -- mostly movies recorded in the dead of night.

Top
#316834 - 01/12/2008 18:53 Re: Frankenswitch v2. [Re: mlord]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
Originally Posted By: mlord
we watch MythTV recordings, with any commercials already stripped away from view.

How do you find the commercial detection in Myth? I've always found it to be a little hit and miss. Certainly enough to never let it automatically flag and transcode without me checking first.

Sadly my Myth is installation is due to be usurped by a Humax Freesat+ box when somebody finally has some in stock. I want HD but my frontend just isn't up to doing it, and the cost of upgrading the box is as much as buying a Freesat+ box. I'm also partial to the fact I can power down a further two boxes at home and have something that 'claims' to draw less than a watt on standby.
_________________________
Cheers,

Andy M

Top
#316840 - 01/12/2008 20:42 Re: Frankenswitch v2. [Re: andym]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
I don't transcode, so the entire (unstripped) program is always there for me to view. But the commercial stripping in MythTV 0.20 (old version that I run) is VERY GOOD.

It generally only screws up at the end of every single HD program from CBC. CBC has a nasty habit of removing their onscreen logo for the final program segment before the end. This causes Myth to think that the last break continues through the final segment.

Other than that, it's pretty much flawless here.

Cheers


Edited by mlord (01/12/2008 20:43)

Top
#316863 - 02/12/2008 13:41 Re: Frankenswitch v2. [Re: andym]
LittleBlueThing
addict

Registered: 11/01/2002
Posts: 612
Loc: Reading, UK
Are you aware that Myth trunk now supports the new (non-free) NVidia video API - VDPAU.

That means that an FE with a £30 fanless graphics card will do H264 HD with no CPU usage to speak of smile

And my BE uses BIOS wakeup and WoL to stay down and keep power usage down. (Nowhere near as little as consumer electronics but...)

We don't do commercial flagging - we just press 4<right> and we're done.
_________________________
LittleBlueThing Running twin 30's

Top
#316870 - 02/12/2008 15:56 Re: Frankenswitch v2. [Re: LittleBlueThing]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
Oh well, I've found Freesat+ in stock at Argos. So I've got one arriving on Friday. I'd like to have kept on with Myth at home but I never got SWMBO to use it in preference to just watching TV so it was pretty much doomed to failure.

At least I've still got one at work, our journo's actually quite like using it.
_________________________
Cheers,

Andy M

Top
#316872 - 02/12/2008 16:49 Re: Frankenswitch v2. [Re: LittleBlueThing]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: LittleBlueThing
Are you aware that Myth trunk now supports the new (non-free) NVidia video API - VDPAU.

That means that an FE with a £30 fanless graphics card will do H264 HD with no CPU usage to speak of smile


That sounds cool, especially for you DVB-T folks.

Over here, MPEG2 rules the airwaves, and the fanless NVidia card I have doesn't seem to help with much at all -- most of the more useful decoding features fail to bind with the binary driver, so it ends up doing just about everything in software.

I guess the chipset must be too "primitive" or something. smile

So when I rebuild the software over the holidays (coming up), and replace it all with latest Myth SVN, I'm also ditching the NVidia card completely to save a few more watts.

I've got one of those nifty Intel DVI-D adapter cards (the mobo chipset has built-in Intel graphics, but no DVI output) that slips into the PCIe slot. Just a single chip and a few discretes on the card -- shouldn't generate any heat to speak of.

Cheers

Top
#316909 - 03/12/2008 17:07 Re: Frankenswitch v2. [Re: mlord]
Folsom
member

Registered: 12/08/2001
Posts: 175
Loc: Atlanta
Originally Posted By: mlord

I've figured out how to change the microstrip spacings for 75ohm, but am unsure about the other components and about actually manufacturing such a PCB with two (or more) of these circuits.

Thanks

Calculating the microstrip is really only the hard part. The rest of the values don't change.

Let me look at making a schematic that has a SPDT on each port to increase the isolation to about 45dB. I believe Digikey has all the necessary parts (SP4T, SPDT, and right angle F connectors) to make a solid state switch. This will need 4 GPIO and 3.3V to work.

Top
#316933 - 03/12/2008 20:38 Re: Frankenswitch v2. [Re: Folsom]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
The USB dongles I'm using have lots of GPIO, and onboard regulated +3.3V, so there are no issues there. Laying out and etching an SMT circuit board will be far more challenging for me.

Top
#319189 - 12/02/2009 13:51 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: Ross Wellington]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
There's a chap on another forum who's been suggesting PIN diode circuit solutions for this.

Here's the proposed circuit, and his explanation.


Top
#319231 - 12/02/2009 23:53 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: mlord]
Folsom
member

Registered: 12/08/2001
Posts: 175
Loc: Atlanta
Originally Posted By: mlord
There's a chap on another forum who's been suggesting PIN diode circuit solutions for this.

Here's the proposed circuit, and his explanation.

That circuit will need some tweaking to get right. The 30uH (which seems high to me, but maybe needed for VHF) look like high impedance to the PIN diodes, so the layout must be done correctly to ensure that the inductor doesn't load down the signal path.

You would be much better getting a single solid state switch and then putting additional SPDT on each signal path to increase the isolation.

The solid state switch is basically the same as this discrete solution but uses FETs instead of PINs. There will be series and shunt FET on each input. The selected path will turn the series FET on while the other paths will be shorted by the shunt FET.

Top
#319232 - 13/02/2009 00:20 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: Folsom]
Folsom
member

Registered: 12/08/2001
Posts: 175
Loc: Atlanta
Also, have you checked out Mini-Circuits to find ICs for switching? They are kinda expensive, but they are readily available.

For instance, this part has typically 65dB isolation at 1GHz. You would need at least two of them for a SP4T and then maybe a different SPDT to combine them. $15/piece though.

Top
#319252 - 13/02/2009 11:28 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: Folsom]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: Folsom
Also, have you checked out Mini-Circuits to find ICs for switching? They are kinda expensive, but they are readily available.

For instance, this part has typically 65dB isolation at 1GHz. You would need at least two of them for a SP4T and then maybe a different SPDT to combine them. $15/piece though.

Mmm.. those look rather excellent, apart from being the wrong impedance (50 rather than 75 ohms). If I could get them without the cost doubling due to shipping, I would.

Got an easy way to cure the impedance thing? smile

Top
#319300 - 14/02/2009 22:04 Re: Frankenswitch v2. [Re: LittleBlueThing]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: LittleBlueThing
Are you aware that Myth trunk now supports the new (non-free) NVidia video API - VDPAU.

That means that an FE with a £30 fanless graphics card will do H264 HD with no CPU usage to speak of smile


MythTV svn trunk is still a train wreck (too many new features all at once, and a likely multi-year release cycle).

But.. I backported vdpau to 0.21-fixes (the stable stream), and so did several other people! The best backport (which I'm now using) is here.

Seems to work without much fuss on the fanless 8300GS card here, though the GPU on it is too slow to do the best "Advanced" modes at 1080i. But no problem with the "Temporal" de-interlacing modes and it still looks better than the best software method.

When playing back 1080i content, the playback chews up about 10% of a 2.6GHz Core2 CPU. It used to demand 100% with the best software method.

The guy that did this backport even has packages for Mythbuntu, so the average dude(-ess) shouldn't have to fuss about with messy source code and patches.

Cheers!


Edited by mlord (14/02/2009 22:06)

Top
#319301 - 14/02/2009 22:37 Re: Rube Goldberg strikes again (or how I watch TVO) [Re: mlord]
Folsom
member

Registered: 12/08/2001
Posts: 175
Loc: Atlanta
Originally Posted By: mlord

Mmm.. those look rather excellent, apart from being the wrong impedance (50 rather than 75 ohms). If I could get them without the cost doubling due to shipping, I would.

Got an easy way to cure the impedance thing? smile


For a switch, the impedance really doesn't matter. The impedance really only matters when one port is de-selected, and the 75 ohm cable is terminated with 50 ohms. This is still 1.5 VSWR/ 14dB return loss. The extra loss in the series path should be pretty small, probably an extra 0.3dB due to mismatch.

Top
Page 1 of 3 1 2 3 >