Assembling Portsdown

From BATC Wiki
Jump to: navigation, search

This section will describe in detail how to assemble your Portsdown transmitter - to begin, you need to have bought or built all the components listed in the hardware description.

This page describes how to build the complete transmitter assembly but you can run the Portsdown as an experiment in "Ugly Mode", currently labelled in the Menu as QPSKRF. That does not require you to wire anything together.

Mechanical Design

First of all, decide on your mechanical design. You are going to need to have the RPi firmly mounted, with the Micro-SD card slot accessible (to change the card if required) and the power, network and USB connectors available. Then you will need to stack a GPIO extender on top of the RPi.

The most difficult part will be to mount the Touchscreen display. It can either be stacked on top of the RPi, or you can connect it by a short multiway lead and mount it on the front panel of your housing - an example is here:

f you have a 3D printer you could try make up one of these housing

You will then need to consider mounting the ADF4351 Synthesizer, any LO filters and then the Filter/modulator board. Other things to think about might be a 5V power supply, a relay/PTT switching board and any dongles (EasyCap, Sound or RTL-SDR).

The block diagram of what you are trying to achieve is below. Note that you will need an additional filter between the synthesizer and the filter/modulator board for 437 MHz and 146 MHz. It is not required for 1255 MHz, and the unit will work on the other bands for testing without it.

1-1 Block Diagram.jpg

An example layout is here

In the box.jpg

Interconnecting the modules

The following diagram shows the interconnects between the various modules - all wire can be non screened (except the Local oscillator feed to the Filter modulator board) but should be kept as short as possible.

Portsdown interconnects.JPG

Higher resolution pdf is available here File:Portsdwon interconnect v2.pdf

Or a picture might help...


BATC GPIO breakout card

The GPIO breakout card is where all the signals and power for Portsdown interconnect and we recommend that you buy the blank PCB from the BATC and make up the breakcard using either connectors or hard wiring to the other boards.

For more details see

Screw t.jpg

Willow components breakout card (If you have bought the BATC GPIO breakout card you DO NOT NEED to read this section)

Powering the ADF4351

The ADF4351 module needs between 5 and 9 volts on its power connector. You can either buy a suitable (small barrel) connector or solder the wires to the underside of the board. The 5V supply can be taken from the ADF4351 connector on the BATC GPIO breakout card, or from any other 5V supply. It does not need to be very clean. DO NOT try to put 3.3V into the marked pin on the data connector on the module; this is a low current output, not an input.

RF Wiring

Use short flexible SMA cables to connect the ADF4351 (through filters if necessary) to the filter/modulator board. Use another cable to take the output to a panel connector or subsequent filters and power amplifiers.

You may also want to extend the input of any RTL-SDR to be accessible from a panel connector.

Power Wiring

You should power the RPi through the Micro-USB power connector to take advantage of the input protection provided. Use a very short USB cable to your power supply as most of these cables are of very poor quality and cause significant voltage drop. For best results, cut the USB cable 5cm from the connector and run "real" wiring from there to your power supply.

A lot of strange problems, such as the Portsdown running very slowly or intermittent/noisy streaming, can be caused by poor PSU volts - the RPi3 is actually specced for 5.1 volts, make sure your PSU delivers enough volts and current. See this post on the BATC forum for a real user experience!

If you see a "Lightning Flash" symbol at the top right of your LCD display it means that the voltage at the RPi is too low. You can measure the voltage between the GPIO connector pins 4 and 6.


You can check if there are any problems by running the command

vcgencmd get_throttled

from the command line. You should get the response "throttled=0x0" which means that all is well. The response "throttled=0x50000" means that the voltage has dropped below the safe level at least once since boot-up; the response "throttled=0x50005" means that the voltage is currently below the safe level. Other responses might mean that your RPi is overheating.

An eBay buck regulator capable of supplying at least 4A continuous at 5.2V is recommended to power the RPi, an EasyCap, an RTL-SDR and the ADF4351. Consumer-grade RPi power supplies with consumer grade USB cables have rarely proved to be capable of supplying this high demand without causing dropouts.

The filter/modulator board needs a clean 5V at 250 mA and the on-board linear regulator supplies this, but can get warm at higher input voltages. The linear regulator needs at least 7V to operate properly.

Network and USB Wiring

Consider bringing the network connector and one of the USB connectors out to the panel for easy access and mechanical stability.

Camera Wiring

The RPi camera gives excellent results, but only comes with a short ribbon cable to connect it to the RPi.

It is possible to use some higher quality HDMI leads (the ground connections all need to be made) to extend the camera lead - this does NOT mean the signal out of the camera is HDMI, it is actually "Camera Serial Interface Type 2 (CSI-2)". We are just using HDMI cable as a useful extension lead. The modification described here allows the use of lower quality HDMI cables.

Kits are available to connect a female HDMI connector to the RPi camera connector, and another female to the camera, allowing the use of domestic 1, 2 and 3m HDMI leads. The Pi camera HDMI Lead Extension Kit is available from here