Maker.io main logo

How to turn a 7-inch Elecrow Pi Terminal into a Standalone SDR Radio

2024-10-28 | By Mirko Pavleski

License: General Public License Software Defined Radio (SDR) Raspberry Pi

Today I received the Pi Terminal-7” IPS HMI CM4 Panel All-In-One Module Raspberry Pi Computer from Elecrow. The package contains:

- 7-inch Pi Terminal with user manual

- Wi-Fi Antenna

- 12V/2A Adapter

- and three Phoenix Type Connectors

ghug

First, I would like to describe some of the features and functions of this small but powerful computer. It is equipped with the powerful Raspberry Pi Compute Module 4 as the main control, with excellent real-time performance, and can quickly respond to and process real-time control and monitoring tasks. It has a 7-inch display with a resolution of 1024 x 600 pixels and a touch screen with 5-point Capacitive Touch. A highlight is the rich industrial interfaces and functional modules, including CAN bus, RS232/RS485, isolated digital IO, differential input ADC, relay control, etc., which fully meet the communication and control needs with various sensors, actuators, and other devices.

b nvb

Communication capability is another highlight of Pi Terminal. It integrates WiFi, BLE, and reserves Mini PCIE interfaces for 4G and LoRa. At the same time, it provides Gigabit Ethernet to ensure high-speed data transmission and remote monitoring between devices. Pi Terminal supports a rich software ecosystem based on Raspberry Pi and is compatible with the Node-RED programming tool, giving users the ability to easily create and manage IoT applications.

bhkjh

Now let's look at the input-output interfaces:

- RS232 port

- UART communication port

- Gigabit Ethernet

- HDMI output

- audio IN/OUT connector

- Two USB-A ports

- On/Off switch

- Micro DS Card slot

- SIM card slot

- LED Indicators

- Four SMA antenna connectors

- 2*20 PIN GPIO

- Two Camera slots

- another GPIO connector

- Relay control

- DO & DI

- and CAN, RS485, and ADS connector

Next, let's briefly look at the inside where the motherboard is located. The board consists of the Raspberry Pi CM4 board cooled by a small fan, relay, speaker connector, and the two PCIE slots in which the LORA and GPS modules are mounted, which I additionally ordered. This time, I want to present you with a simple way to make a portable Software Defined Radio (SDR Radio) that would work independently of a PC. For this purpose, besides this panel display, I will also use a cheap RTLSDR USB dongle.

cfh

A software-defined radio (SDR) is a radio communication system that uses software to process various signals (modulation, demodulation, decoding, etc.). A typical SDR setup involves an RF front-end connected to a computer that will perform the conversions from digital to analog, and vice versa. Because of rapidly developing digital electronics, the capabilities of SDR continue to increase. In this case, the RF front end is the RTLSDR USB dongle, and the signal processing and visual presentation are the tasks of this beautiful display module.

 

In one of my previous videos, I presented a way to make a similar device like this, but then some hardware work and modifications were needed and some more advanced knowledge in this area was required to make it. Unlike then, this time making the device requires almost no knowledge in the field of electronics, and the SDR radio works flawlessly and stably. This time I present to you one of the possible solutions, which is a box that I specially made for this display module, but also the device can be made without a box so that the RTL-SDR dongle can be glued directly to the back with double-sided adhesive and we can use a wireless tuning knob if needed.

vhjh

The complete device is very simple to make and consists of only a few components:

- Display module which is the basis of the project and whose characteristics I presented at the beginning of the video

- small speaker

- Rotary encoder

- RTLSDR USB dongle

- USB Hub

- and a modified PCB from a cheap PC mouse

khj

The modification consists of desoldering the original miniature rotary encoder and soldering a more robust one in its place. The speaker is connected to the appropriate place provided for it on the board of the display module. As you can see, the sides of the display module are open, out of the box so that you can easily put for example an SD card or some other external device. On the outside of the box, I made a socket for a Wi-Fi antenna, although we don't need it for this project.

kljk

Now let's dwell a bit on the software part.

In fact, it is the software that in this case replaces a huge hardware part of the radio and is also highly adaptable and responsible for the professional characteristics of this relatively cheap radio. The display module itself comes with a recorded Raspbian Pi operating system, which starts with a Demo program that describes some of the panel's capabilities.

b nbv

I didn't want to modify this factory-set OS, so I decided to use another cheap micro-SD card to record the whole new setup. To prepare a new operating system we need an SD card with a size of 32GB or more. On the SourceForge site, you can download a Raspbian Pi image with a huge number of programs from the field of HAM radio called "HAM Pi", including SDR Radio software that we will use for the needs of this project.

hji

I will briefly describe the method of preparing the SD card:

First, we need to download Balena Etcher and Ham Pi image from the given pages.

gch

Next, we install and run the Balena Etcher software. Press "Select image" and select the Ham Pi image that we downloaded earlier. Now we connect the SD card to the card reader and to the USB port of the PC. Next, press "Select Drive", and select the drive with the SD card. Finally, press "Flash" and wait for the procedure to finish. With that, the card is ready, and we can mount it on the Display Panel and start it.

The operating system starts immediately, and no special settings are required.

hjkihj

As we can see, all important Ham radio applications are pre-installed on it, and we are especially interested in SDR software, specifically SDR++ and GQRX. GQrx is a well-known Unix software, but at least for me, SDR++ is even better thanks to its low hardware requirements, multi-platform support, and high similarity to sdr#, which is otherwise a commonly used Windows software. For smooth control, I use a miniature Bluetooth keyboard/mouse combination which fits this device perfectly.

b mv

Now I start SDR++, on the left side is the part for setting the receiver functions, and on the right side is a visual presentation of the radio signal. As we see the RTLSDR dongle is detected, which means we can start receiving signals immediately. I will start with the broadcast FM band, because there are many strong active radio stations here and so the possibilities and the way of working with this receiver can be easily presented.

xdf

After starting the software, the majority of functions can be controlled through the rotary encoder and the touch screen, so there is almost no need for a keyboard and mouse. I will avoid commercial music stations for copyright reasons. We can move through the entire displayed range by touching the screen, or more sophisticatedly with the rotary encoder.

kl

We select the movement step by pressing the appropriate digit where the frequency is displayed. We can also use a wireless tuning knob, the making of which I described in one of my previous videos.

ytu

The following is a short demonstration of the receiver's capabilities and operation on different wavebands.

ghui

Just don't forget to mention that I used the RTLSDR dongle as the most suitable variant as far as the price-quality ratio is concerned. Otherwise, we can use many other SDR radios of this type, because the software has support for almost all popular models.

And finally, a short conclusion. First of all, let me tell you that I am really surprised by the construction, possibilities, and stability during the operation of this display terminal. I previously had some experience with this type of device powered by a Raspberry Pi 3B with 2GB RAM, but I can comfortably tell you that the difference is incomparable, starting with the robust and quality build, flawless display and touch panel, and most importantly, stable and fast long-lasting operation without any signs of heating, blocking, lack of power, etc., which were common in my previous project of this kind.

This is just one small project with which I turned this display terminal into a quality SDR radio with professional capabilities and features. In the future, I will try to describe many more simple ways to use this piece of hardware to build other quality devices.

制造商零件编号 DIS01447T
PI TERMINAL-7 1024*600 IPS HMI C
Elecrow
Add all DigiKey Parts to Cart
TechForum

Have questions or comments? Continue the conversation on TechForum, DigiKey's online community and technical resource.

Visit TechForum