# Using a Mini PAL/NTSC Display with a Raspberry Pi

## Overview

An often neglected feature of the Raspberry Pi is that it actually has two types of video output. The high quality, high resolution HDMI output and the yellow RCA jack that outputs composite video at a much lower quality. Miniature displays are readily available for this composite format, and are often used for things like CCTV security and pocket TVs.

![](https://cdn-learn.adafruit.com/assets/assets/000/003/821/medium800/raspberry_pi_overview.jpg?1396802135)

In this tutorial, you will learn how to attach a miniature display to your Raspberry Pi and to adjust the Pi's settings to reduce the resolution sufficiently to read the screen.

# Using a Mini PAL/NTSC Display with a Raspberry Pi

## Parts

To use a mini PAL / NTSC display, you will need the following parts.

- A Raspberry Pi
- A PAL / NTSC Mini display, such as Adafruit products 910, 911, 913 or 947
- RCA Coupler Male to Male
- Female DC Power adaptor (unless your display has a DC barrel socket)
- 12V 1A power supply (unless included with the display)
- Raspberry Pi Console lead or SSH access to your Pi

# Using a Mini PAL/NTSC Display with a Raspberry Pi

## Connecting the Display

Even the smallest of these displays will use enough power to warrant its own power adapter, especially as they generally do not use the 5V that the raspberry Pi uses. Often, they are designed to operate at 12V but will be happy at a range of voltages.

Check when you buy the display, what voltage it operates from. For some displays, a power adaptor will be included.

As an example, in this tutorial, we will use the [Adafruit 3.5 inch display](https://www.adafruit.com/products/913).

![](https://cdn-learn.adafruit.com/assets/assets/000/003/822/medium800/raspberry_pi_screen_and_bits.jpg?1396802157)

This display actually comes with two inputs (AV1 and AV2), I simply cut one of them off, to neaten up the leads. You do not have to do this, and you can use either lead when connecting to the Pi. Most only have one AV connection.

The unit comes in two parts, a control PCB and the display itself. They are quite delicate, especially the plastic ribbon that connects the two together, so handle with care.

I glued the control board to the back of the display, to make a single unit. If you decide to do this, just remember that if you need to separate them again, there is a good chance of breaking it.

The unit has a black and a red lead to supply the power. This can be between 6 and 12V. To make it possible to connect the bare leads to a power supply with a standard 2.1mm DC power plug, I used a [Female DC power adapter](https://www.adafruit.com/products/368). You can just pop the leads into the screw terminals, tighten them up and then use a regular DC power supply. Be very careful that the red lead goes to the terminal marked with a +.

The display I used has RCA sockets, as they are intended to be connected to a video source such as a camera or in this case the Raspberry Pi via a cable. As you are probably going to have the display right next to the Pi, you do not really need a cable, and an [RCA Male to Male adapter](https://www.adafruit.com/products/951) will allow you to connect it to the yellow socket on the Pi.

# Using a Mini PAL/NTSC Display with a Raspberry Pi

## Configure and Test

Turn on the power to the display and then power up your Pi. You should see the Pi start to boot up on the display. You will notice that the writing is pretty tiny and a little fuzzy.

We need to change the screen resolution so that we can see what is going on.

The native resolution of the display I used, is just 320 x 240 pixels.

To adjust the resolution, you need to edit the file **/boot/config.txt**

![](https://cdn-learn.adafruit.com/assets/assets/000/003/823/medium800/raspberry_pi_config1.png?1396802195)

You can edit **config.txt** on the Pi itself by running **sudo nano /boot/config.txt** or you can safely shut down the Pi, remove the SD card and put it a computer, the **config.txt** file is on the 60MB partion that should appear when you insert the card

If you are trying to edit it directly on the Pi, this may present a bit of a problem, if the whole reason for changing the screen resolution is to be able to read the text. You can either attempt to edit the file using the mini display, or [connect remotely to your Raspberry Pi from another computer using SSH](http://learn.adafruit.com/adafruits-raspberry-pi-lesson-6-using-ssh "Link: http://learn.adafruit.com/adafruits-raspberry-pi-lesson-6-using-ssh") or, as I did here, [using a console cable](http://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable).

To edit the file, issue the command

```auto
sudo nano /boot/config.txt
```

Find the lines that say:

```auto
#framebuffer_width=1280
#framebuffer_height=720
```

You need to remove the # from the start of each of the two lines, to make the setting active and then change the two values, so that the two lines are like this:

```auto
framebuffer_width=320
framebuffer_height=240
```

Save and exit the editor by pressing CTRL-x then Y.

Restart the Pi and you should find that all the text is bigger and clearer.

![](https://cdn-learn.adafruit.com/assets/assets/000/003/824/medium800/raspberry_pi_better_res_big_border.jpg?1396802212)

Now, you will have noticed that there is quite a wide border around the visible area of the screen. Since we have so little screen to play with, we really need to expand this as much as possible.

Fortunately, there is another set of settings that we can change to reduce this as much as possible.

Edit /boot/config.txt again and this time, remove the # from the four lines that start with #overscan.

Change the numbers to be negative (makes the screen wider and taller). I found changing them to the figures shown below, used most of the screen vertically, however I could not get the screen any wider after about -25.

![](https://cdn-learn.adafruit.com/assets/assets/000/003/825/medium800/raspberry_pi_config3.png?1396802248)

You will find that a bit of trial and error will be required to get the right settings for your display.

With the overscan adjusted, the resulting screen is now looking pretty good.

![](https://cdn-learn.adafruit.com/assets/assets/000/003/826/medium800/raspberry_pi_better_res_small_border.jpg?1396802269)

Starting a Terminal session, the text is now quite easy to read.

![](https://cdn-learn.adafruit.com/assets/assets/000/003/827/medium800/raspberry_pi_better_res_term.jpg?1396802290)

These changes to the settings will also affect (for the worse) the display if you connect up using the HDMI adaptor. To reverse the changes, just add a # character in front of each of the 6 lines that you changed earlier.


## Featured Products

### Budget Pack for Raspberry Pi 1 Model B (Doesn't include RasPi)

[Budget Pack for Raspberry Pi 1 Model B (Doesn't include RasPi)](https://www.adafruit.com/product/965)
An optimized collection of parts and pieces to experiment with Raspberry Pi at home, school or work. Great for students and those that want to get their feet wet, no soldering required! **THIS PACK DOES NOT INCLUDE A RASPBERRY PI 1 MODEL B and is NOT compatible with Model B+ or Raspberry Pi...**

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/965)
[Related Guides to the Product](https://learn.adafruit.com/products/965/guides)
### NTSC/PAL (Television) TFT Display - 7" Diagonal

[NTSC/PAL (Television) TFT Display - 7" Diagonal](https://www.adafruit.com/product/947)
Yes, this is an adorable small television! The visible display measures only 7" (17.8cm) diagonal, the TFT comes with a NTSC/PAL driver board, enclosure and stand. The display is very easy to use - simply connect the included 12VDC adapter to the 2.1mm center-positive DC jack, then...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/947)
[Related Guides to the Product](https://learn.adafruit.com/products/947/guides)
### NTSC/PAL (Television) TFT Display - 4.3" Diagonal

[NTSC/PAL (Television) TFT Display - 4.3" Diagonal](https://www.adafruit.com/product/946)
Yes, this is an adorable small television! The visible display measures only 4.3" (11cm) diagonal, the TFT comes with a NTSC/PAL driver board, enclosure and stand. The display is very easy to use - simply connect 12VDC to the 2.1mm center-positive DC jack (or use the cable and connect to...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/946)
[Related Guides to the Product](https://learn.adafruit.com/products/946/guides)
### NTSC/PAL (Television) TFT Display - 3.5" Diagonal

[NTSC/PAL (Television) TFT Display - 3.5" Diagonal](https://www.adafruit.com/product/913)
Yes, this is an adorable small television! The visible display measures only 3.5" (8.9cm) diagonal, the TFT comes with a NTSC/PAL driver board. The display is very easy to use - simply connect 6-12VDC to the red (+) and black (-) wires, then connect a composite video source to the RCA...

In Stock
[Buy Now](https://www.adafruit.com/product/913)
[Related Guides to the Product](https://learn.adafruit.com/products/913/guides)
### NTSC/PAL (Television) TFT Display - 2.5" Diagonal

[NTSC/PAL (Television) TFT Display - 2.5" Diagonal](https://www.adafruit.com/product/912)
Yes, this is an adorable small television! The visible display measures only 2.5" (6.35cm) diagonal, the TFT comes with a NTSC/PAL driver board. The display is very easy to use - simply connect 6-12VDC to the red and black wires, then connect a composite video source to the yellow and...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/912)
[Related Guides to the Product](https://learn.adafruit.com/products/912/guides)
### NTSC/PAL (Television) TFT Display - 2.0" Diagonal

[NTSC/PAL (Television) TFT Display - 2.0" Diagonal](https://www.adafruit.com/product/911)
Yes, this is an adorable miniature television! The visible display measures only 2" diagonal, the TFT comes with a NTSC/PAL driver board. The display is very easy to use - simply connect 6-12VDC to the red and black wires, then connect a composite video source to the RCA connector. Voila,...

Out of Stock
[Buy Now](https://www.adafruit.com/product/911)
[Related Guides to the Product](https://learn.adafruit.com/products/911/guides)
### NTSC/PAL (Television) TFT Display - 1.5" Diagonal

[NTSC/PAL (Television) TFT Display - 1.5" Diagonal](https://www.adafruit.com/product/910)
Yes, this is an adorable miniature television! The visible display measures only 1.5" diagonal, the TFT comes with a NTSC/PAL driver board. The display is very easy to use - simply connect 6-12VDC to the red and black wires, then connect a composite video source to the RCA connector....

In Stock
[Buy Now](https://www.adafruit.com/product/910)
[Related Guides to the Product](https://learn.adafruit.com/products/910/guides)
### RCA coupler - Male to Male

[RCA coupler - Male to Male](https://www.adafruit.com/product/951)
This coupler is kind of like a really short RCA cable. We think its perfect for use with our NTSC/PAL displays since they already have a cable. So instead of a long cable from the display to something like the Raspberry Pi, just pop one of these in between!

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/951)
[Related Guides to the Product](https://learn.adafruit.com/products/951/guides)

## Related Guides

- [apt.adafruit.com](https://learn.adafruit.com/apt-adafruit-com.md)
- [Adafruit Joy Bonnet for Raspberry Pi](https://learn.adafruit.com/adafruit-joy-bonnet-for-raspberry-pi.md)
- [Adafruit 1.3" Color TFT Bonnet for Raspberry Pi](https://learn.adafruit.com/adafruit-1-3-color-tft-bonnet-for-raspberry-pi.md)
- [PyPortal Quarantine Clock](https://learn.adafruit.com/pyportal-quarantine-clock.md)
- [Pi-Top Assembly ](https://learn.adafruit.com/pi-top-assembly.md)
- [Run an X-Carve CNC Machine Wirelessly with a Raspberry Pi](https://learn.adafruit.com/control-an-xcarve-cnc-machine-wirelessly-with-a-raspberry-pi.md)
- [CustomEyesation: DIY Monster M4SK Graphics](https://learn.adafruit.com/customeyesation-diy-monster-m4sk-graphics.md)
- [Mini Raspberry Pi Handheld Notebook](https://learn.adafruit.com/mini-raspberry-pi-handheld-notebook-palmtop.md)
- [Adafruit 128x64 OLED Bonnet for Raspberry Pi](https://learn.adafruit.com/adafruit-128x64-oled-bonnet-for-raspberry-pi.md)
- [Adafruit IO Connected Animated GIF Display](https://learn.adafruit.com/adafruit-io-connected-animated-gif-display.md)
- [Running Minecraft on a Raspberry Pi](https://learn.adafruit.com/running-minecraft-on-a-raspberry-pi.md)
- [Kali Linux on the Raspberry Pi with the PiTFT](https://learn.adafruit.com/kali-linux-on-the-raspberry-pi-with-the-pitft.md)
- [2.8" TFT Touchscreen](https://learn.adafruit.com/2-8-tft-touchscreen.md)
- [Raspberry Pi radio player with touchscreen](https://learn.adafruit.com/raspberry-pi-radio-player-with-touchscreen.md)
- [PyPortal Halloween Countdown](https://learn.adafruit.com/pyportal-halloween-countdown.md)
