logo
background
 Home and Links
 Your PC and Security
 Server NAS
 Wargames
 Astronomy
 PhotoStory
 DVD making
 Raspberry Pi
 PIC projects
 Other projects
 Next >>

Notes index links

Links to all my notes (includes mini-projects and source code etc)

(+) 0001 How do I change the Pi System partition size ?

(+) 0100 Device tree settings

(+) 0201 Power over Ethernet - (PoE)

(+) 0202 Solar Power - (with WiFi)

(+) 0203 Power Bank pass through

(+) 0400 Accessing the SDHC card system image

(+) 0401 Accessing PC shares from the Pi

(+) 0402 Installing samba - (the Pi as a Network Share on your PC)

(+) 0900 Can this approach be scaled up to a PC UPS ?

(+) 1001 Pandora Spotify on the Pi

(+) 1002 Playing movies on the Pi

(+) 1003 Getting VGA from the HDMI socket



(-) 1004 Using the RCA socket


Using the 'TV out' AV/RCA socket

The hobbyist might think they can run 2 displays from the PI (one digital, one analogue) at the same time, however the GPU display driver is configured solely to drive EITHER the RCA Video Out OR the HDMI (the 'switch' between the two is automatic when the driver 'senses' a HDMI cable is inserted, although you can 'force select' the output path to one or the other manually)

Since Feb 2014, when it become possible to change the GPU drivers, at least one GPU-VGA design has appeared (at 6 bits per colour channel see here, or Google 'Pi 666 VGA display', although 'dual monitor support' is still 'TBA' (as of Dec 2015)

So, if you can't use the RCA for video at the same time as the HDMI, what can you use it for ?

The answer, to the annoyance of the average hobbyist, is 'almost nothing' = the GPU pin that drives the analogue RCA socket is used for 'Video output only' and only when HDMI is not in use

If only the RCA socket could be used as a composite analogue video input, the Pi could (maybe) have supported input from older CCD cameras (common in the 'CCTV' industry, as well as used by Astronomers).

Another obvious alternative use for the RCA socket would be to use it to support S/PDIF output, thus allowing AC3 or Dolby ProLogic II audio to drive the older Home Cinema systems since (as discussed later) the Stereo socket is indirectly wired to the GPIO pins via a 'low pass filter' circuit (which turns DPLII into trash).

Needless to say, the actual track to the RCA socket is inaccessible from the surface of the PCB (so the Hobbyist can't even make use of the physical socket by cutting the track and wiring the socket to some other i/o pin) although it might be possible to 'drill it out' by following the trace from the 'Gerber' (PCB layout)

From the Pi circuit diagram (page 2), the RCA output is connected direct to BCM2835 'DAC_TERM' pin N15, and also, via R44 (15R), to 'VID_DAC' pin P14. Diode D4 (BAV99) which protects the pin from reverse voltage (Gnd connect) and over-voltage (2.5v connect) and allows it to 'float' between 0v and (approx) 1v (the AV standard). In sort, it's wired as as analogue output, and that's that.

However the RCA socket does come into it's own when you want to use the Pi + Pi Camera as a stand-alone, remote 'CCTV' device. The RCA socket can deliver an uncompressed AV ('Audio Visual') data stream 'direct' (via the GPU) from the camera which is exactly what CCTV systems expect. It is thus rather important to discover exactly what you can get out of the RCA socket

In CONFIG.TXT you can :-

Set the 'standard', SDTV_MODE
 0 NTSC (default), 1 Japanese NTSC, 2 PAL, 3 Brazilian PAL (525/60 instead of 625/50)

Set the aspect ratio, SDTV_ASPECT
 1 4:3 (default), 2 14:9, 3 16:9

Set a flag (sdtv_disable_colourburst) to force monochrome mode
 0 enable color (default), 1 disable

Set the display pixel width x height
 framebuffer_width=1280 (default for HDMI, applies to RCA as well)
 framebuffer_height=720 (default for HDMI, applies to RCA as well)

Set the amount of 'black space' border added to the video
 overscan_left=  (-ve values allowed)
 overscan_right= (-ve values allowed)
 overscan_top= (-ve values allowed)
 overscan_bottom= (-ve values allowed)framebuffer_depth = 16 (default), 24 (has issues), 32 (needs framebuffer_ignore_alpha=1)
 framebuffer_ignore_alpha 0 (default), 1 (needed when using 32bit frame buffer) 
(It does not appear to be possible to disable 'interlace' ...)

This note last modified: 17th Sep 2016 08:10.

[top]

(+) 1005 Using the Pi RS232 serial links

(+) 1006 Using the GPIO pins

(+) 1007 Controlling the Pi Zero ACT LED

(+) 1200 List of standard camera modes

(+) 1300 Auto file names

(+) 6500 How to make the System partition read only ?

(+) 6501 Minimising SDHC corruption on power down

(+) 9000 diode switch

(+) 9001 Auto shut down

(+) 9001 MOSFET switch

(+) C201 High speed photos

(+) Dec 1969 (no desc)

(+) a000 Display setup - (for PhotoFrame)

(+) a001 go photoframe - (how it works)

(+) a002 set photo - (select for display)

(+) a003 go button script - (photoframe pause control)

(+) a005 get photos - (fetch resize)

(+) a00x Other display utilities

(+) c000 CCTV UPS requirements

(+) c001 countering low speed motion detect

(+) c002 Pi Overclocking

(+) c203 Pi ram disk - (tmpfs)

(+) c901 iR illumination

(+) c902 Viewing a video stream

(+) c905 Image anotation

(+) Dec 1969 (no desc)

(+) raspicamdocs.txt (no desc)

(+) s010 Elevation sensing

Next subject :- index

[top]