How Can I Detect SCART Aspect Ratios Using a Serial Port?

  • Thread starter Thread starter MikeA
  • Start date Start date
  • Tags Tags
    Ratio
Click For Summary
SUMMARY

This discussion focuses on detecting SCART aspect ratios using a serial port (RS232) in a homebrew PVR setup. The 8th pin of the SCART cable transmits aspect ratio information, with approximately 6V indicating widescreen and 12V indicating 4:3. A recommended solution involves using the TLV1805 IC comparator from Texas Instruments, which can handle RS232 voltage levels and is cost-effective. The circuit design utilizes the DTR and RTS pins from the RS232 connector to power the comparator if necessary.

PREREQUISITES
  • Understanding of SCART cable pinout and functionality
  • Familiarity with RS232 serial communication standards
  • Basic knowledge of electronic components, specifically IC comparators
  • Experience with circuit design and voltage specifications
NEXT STEPS
  • Research the TLV1805 IC comparator specifications and applications
  • Learn about SCART cable wiring and signal transmission
  • Explore RS232 communication protocols and pin configurations
  • Investigate circuit design techniques for voltage level shifting
USEFUL FOR

Electronics hobbyists, developers building custom PVR solutions, and engineers interested in interfacing SCART connections with serial communication systems.

MikeA
Messages
1
Reaction score
0
I'm in the process of making a homebrew PVR and have a cable STB connected via a SCART->composite cable to a WinTV-PVR 350. This therefore loses the ability to know if the TV picture being sent is in widescreen or 4:3. I was looking into making some form of circuit/device that allowed the computer with the TV card into detect what type of TV picture was being sent via the cable. I know that the 8th pin in a SCART cable is used to send this info (~6v for widescreen, ~12v for 4:3).

This is where I become stuck :smile:. I was hoping someone here could recommend a circuit that would be able to connect to a serial port (RS232) and allow me to find out if the SCART cable was sending a widescreen or 4:3 picture.

(PS. I hope this in the correct sub forum :smile:)
 
Engineering news on Phys.org
For a 9-pin serial RS232 connector on a computer you have:
Pin . . . . Signal
=============
4. . . . . . .DTR (Data Terminal Ready) (Output)
5. . . . . . .Signal Gnd
6. . . . . . .DSR (Data Set ready) (Input)
7. . . . . . .RTS (Request To Send) (Output)

On Terminal equipment (the computer) DSR is an input and can be read from the serial board Status Port. That's the easy part.

The voltage specs for an RS232 receiver is:
Binary 0 (Space or On): between +3V and +13V
Binary 1 (Mark or Off): between -3V and -13V

With your signal swing always being above the 3V threshold and varying only 6V, both signal gain and offset is needed.

The simplest approach I could come up with was an IC comparator with hysteresis. I finally found one that could handle the RS232 voltage levels and cost less than US $1, the TLV1805 by Texas Instruments. the data sheet is at:
HTTP://WWW.TI.COM/LIT/DS/SYMLINK/TLV1805.PDF

The chip itself is available at the usual online suppliers such as digikey and mouser.

Here is a marked-up circuit from pg19 of the data sheet showing use of the +12V and -12V computer power supplies and a rough guess of resistor values. The resistors are chosen for operation approx. at 9V input with a deadband (hysteresis) around 1 or 2 Volts.
Comparator.png

If it is a real problem getting the +-12V computer voltages, you could use the serial port DTR and RTS (pins 4 and 7) to supply the circuit. However the actual voltages available at those pins is unknown and the needed resistor values would likely change.

Have fun! And please keep us updated on the project.

Cheers,
Tom
 
  • Informative
Likes   Reactions: anorlunda

Similar threads

Replies
1
Views
3K
  • · Replies 19 ·
Replies
19
Views
7K
Replies
4
Views
4K
  • · Replies 7 ·
Replies
7
Views
25K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
4
Views
20K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K