Rube Goldberg strikes again (or how I watch TVO)

Posted by: mlord

Rube Goldberg strikes again (or how I watch TVO) - 03/03/2008 13:54

smile
Posted by: wfaulk

Re: Rube Goldberg strikes again (or how I watch TVO) - 03/03/2008 14:21

TVO? What's TVO?
Posted by: tman

Re: Rube Goldberg strikes again (or how I watch TVO) - 03/03/2008 14:28

Wouldn't it have been easier to take the antenna switch apart and wire it up to a relay or something....
Posted by: tfabris

Re: Rube Goldberg strikes again (or how I watch TVO) - 03/03/2008 14:56

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.
Posted by: hybrid8

Re: Rube Goldberg strikes again (or how I watch TVO) - 03/03/2008 15:10

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.

Posted by: wfaulk

Re: Rube Goldberg strikes again (or how I watch TVO) - 03/03/2008 15:43

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?
Posted by: mlord

Re: Rube Goldberg strikes again (or how I watch TVO) - 03/03/2008 16:48

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!

Posted by: wfaulk

Re: Rube Goldberg strikes again (or how I watch TVO) - 03/03/2008 17:09

Awesome.
Posted by: mlord

Rube Goldberg over USB ? - 03/03/2008 17:54

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
Posted by: pca

Re: Rube Goldberg over USB ? - 03/03/2008 18:57

How about this?

pca
Posted by: andym

Re: Rube Goldberg over USB ? - 03/03/2008 19:15

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.
Posted by: Dignan

Re: Rube Goldberg over USB ? - 03/03/2008 19:23

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!
Posted by: mlord

Re: Rube Goldberg over USB ? - 03/03/2008 19:40

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..
Posted by: mlord

Re: Rube Goldberg over USB ? - 03/03/2008 19:46

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.
Posted by: BAKup

Re: Rube Goldberg over USB ? - 03/03/2008 23:18

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)

Posted by: mlord

Re: Rube Goldberg over USB ? - 04/03/2008 02:03

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!
Posted by: mlord

Re: Rube Goldberg over USB ? - 04/03/2008 02:16

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
Posted by: mlord

Re: Rube Goldberg over USB ? - 04/03/2008 03:27

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!
Posted by: BAKup

Re: Rube Goldberg over USB ? - 04/03/2008 14:15

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.



Posted by: mlord

Re: Rube Goldberg over USB ? - 04/03/2008 15:28

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!

Posted by: tman

Re: Rube Goldberg over USB ? - 04/03/2008 15:33

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.
Posted by: BAKup

Re: Rube Goldberg over USB ? - 04/03/2008 17:08

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/
Posted by: andym

Re: Rube Goldberg over USB ? - 04/03/2008 20:42

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.
Posted by: BAKup

Re: Rube Goldberg over USB ? - 04/03/2008 23:42

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.
Posted by: gbeer

Re: Rube Goldberg over USB ? - 05/03/2008 00:24

Didn't you mean to link to this .
Posted by: mlord

Re: Rube Goldberg over USB ? - 05/03/2008 01:45

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
Posted by: gbeer

Re: Rube Goldberg over USB ? - 06/03/2008 00:59

I guess I was confused by the lack of GPIO being mentioned in the linked item.
Posted by: mlord

Re: Rube Goldberg over USB ? - 06/03/2008 02:28

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
Posted by: gbeer

Re: Rube Goldberg over USB ? - 07/03/2008 01:23

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.
Posted by: mlord

Re: Rube Goldberg over USB ? - 07/03/2008 02:35

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
Posted by: BAKup

Re: Rube Goldberg over USB ? - 07/03/2008 04:31

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!
Posted by: mlord

Re: Rube Goldberg over USB ? - 07/03/2008 12:26

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
Posted by: tfabris

Re: Rube Goldberg over USB ? - 07/03/2008 13:50

You need to hook up a tiny little Jacob's Ladder to the thing. :-)

It's alive! ALIVE!
Posted by: Folsom

Re: Rube Goldberg strikes again (or how I watch TVO) - 15/03/2008 23:11

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.
Posted by: mlord

Re: Rube Goldberg strikes again (or how I watch TVO) - 16/03/2008 01:17

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
Posted by: mlord

Re: Rube Goldberg strikes again (or how I watch TVO) - 16/03/2008 01:44

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
Posted by: Ross Wellington

Re: Rube Goldberg strikes again (or how I watch TVO) - 16/03/2008 03:38

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
Posted by: Folsom

Re: Rube Goldberg strikes again (or how I watch TVO) - 16/03/2008 11:48

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.
Posted by: mlord

Re: Rube Goldberg strikes again (or how I watch TVO) - 16/03/2008 13:38

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
Posted by: mlord

Frankenswitch v2. - 29/11/2008 04:38

Frankenswitch v2.
Posted by: andym

Re: Frankenswitch v2. - 29/11/2008 13:54

Wow, I'm so glad I get all of my terrestrial TV from one transmitter.
Posted by: mlord

Re: Frankenswitch v2. - 29/11/2008 14:58

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
Posted by: tanstaafl.

Re: Frankenswitch v2. - 29/11/2008 15:52

Mark, maybe you and this guy should get together. Your minds seem to go in similar directions!

tanstaafl.
Posted by: mlord

Re: Frankenswitch v2. - 29/11/2008 16:27

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
Posted by: andy

Re: Frankenswitch v2. - 29/11/2008 18:55

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...
Posted by: mlord

Re: Frankenswitch v2. - 30/11/2008 04:02

Yeah, but I swore years ago to only use those powers for Good.. smile
Posted by: Folsom

Re: Frankenswitch v2. - 30/11/2008 23:17

Did you ever try the experiment to see if 25dB isolation was good enough? The solid state switch would be a lot cleaner solution.
Posted by: mlord

Re: Frankenswitch v2. - 01/12/2008 13:46

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
Posted by: peter

Re: Frankenswitch v2. - 01/12/2008 14:07

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
Posted by: andym

Re: Frankenswitch v2. - 01/12/2008 15:47

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!
Posted by: canuckInOR

Re: Frankenswitch v2. - 01/12/2008 16:15

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.
Posted by: mlord

Re: Frankenswitch v2. - 01/12/2008 16:42

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.
Posted by: andym

Re: Frankenswitch v2. - 01/12/2008 18:53

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.
Posted by: mlord

Re: Frankenswitch v2. - 01/12/2008 20:42

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
Posted by: LittleBlueThing

Re: Frankenswitch v2. - 02/12/2008 13:41

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.
Posted by: andym

Re: Frankenswitch v2. - 02/12/2008 15:56

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.
Posted by: mlord

Re: Frankenswitch v2. - 02/12/2008 16:49

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
Posted by: Folsom

Re: Frankenswitch v2. - 03/12/2008 17:07

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.
Posted by: mlord

Re: Frankenswitch v2. - 03/12/2008 20:38

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.
Posted by: mlord

Re: Rube Goldberg strikes again (or how I watch TVO) - 12/02/2009 13:51

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.

Posted by: Folsom

Re: Rube Goldberg strikes again (or how I watch TVO) - 12/02/2009 23:53

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.
Posted by: Folsom

Re: Rube Goldberg strikes again (or how I watch TVO) - 13/02/2009 00:20

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.
Posted by: mlord

Re: Rube Goldberg strikes again (or how I watch TVO) - 13/02/2009 11:28

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
Posted by: mlord

Re: Frankenswitch v2. - 14/02/2009 22:04

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!
Posted by: Folsom

Re: Rube Goldberg strikes again (or how I watch TVO) - 14/02/2009 22:37

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.