1. Introduction
Over the past decade, the development and implementation of software-defined radio (SDR) systems have revolutionized wireless communications. Unlike traditional radio systems, SDR offers unprecedented flexibility and adaptability by enabling software-controlled modification of radio-frequency parameters—such as carrier frequency, bandwidth, and modulation—rather than hardware. This technological advancement has applications in many areas, from radio astronomy to spectrum monitoring [
1,
2]. Concurrently, the popularity of high-performance, low-cost computing platforms, such as the Raspberry Pi, has grown exponentially. These devices have proven to be computationally robust tools for implementing complex embedded systems, such as air quality monitoring, facial recognition door locks, and satellite tracking stations, due to their processing power, compact size, and low energy consumption [
3,
4]. The combination of SDR and Raspberry Pi presents an opportunity to develop affordable spectrum analysis systems for researchers, hobbyists, and professionals.
A spectrum analyzer is a versatile instrument for observing frequency-domain signals. It measures essential parameters such as frequency, power, gain, and noise in transmitters and investigates energy distribution across the frequency spectrum of known electromagnetic signals. In this context, this investigation provides valuable insights into bandwidth, modulation effects, and spurious-signal generation, thereby benefiting radio-frequency planning and testing. This paper aims to use SDR and Raspberry Pi to build and implement a low-cost, high-performance spectrum analyzer prototype. The suggested solution combines a Raspberry Pi that processes and displays the spectrum data in real time with a wideband SDR that records radio frequency signals over the 1 MHz to 6 GHz frequency range. This study is critical because it could make spectrum analysis tools more accessible to everyone, providing a low-cost, easy-to-use platform for wireless communications research. Additionally, the prototype has many real-world applications, including implementing adaptive communication systems, detecting communications in crowded radio-frequency environments, and monitoring the radio spectrum to identify interference and support frequency management.
Despite commercially available spectrum analyzers offering high-precision measurements, advanced dynamic ranges (in some cases exceeding 6 GHz), and calibration and operational certifications, acquisition costs typically range from several thousand to tens of thousands of US dollars (e.g., over USD 10,000) [
5], depending on the instrument’s features and frequency ranges. This economic gap restricts their adoption in small universities, emerging laboratories, small businesses, and portable field deployments, particularly in resource-limited settings. Recent advances in SDR, open-source signal processing, and open-hardware embedded computing have enabled practical, low-cost solutions. In response, the proposed system is implemented at a total hardware cost of approximately USD 246, including the HackRF One, Raspberry Pi 4B+, and touchscreen interface, while maintaining essential real-time spectrum-monitoring capabilities across 1 MHz to 6 GHz. This cost reduction of over 95% compared to typical commercial-grade alternatives positions the proposed platform as a viable option for rapid signal diagnostics, field measurements, and educational scenarios in which theoretical or simulation-based frequency-spectrum analysis is sufficient.
Appendix A Table A1 shows a comparison between representative commercial sub-6 GHz spectrum analyzers and the proposed low-cost prototype.
Several studies have shown that low-cost SDR-based communication systems (in transmission, reception, or both) are feasible for educational use [
6]. Most digital signal processing is performed in MATLAB [
7] or in GNU Radio [
8], with the latter preferred for its open-source nature [
9]. For hardware, researchers use commercial platforms such as the USRP [
8,
10], which support transmission and reception at GHz frequencies [
11], or more affordable platforms such as the RTL-SDR, which is receive-only and operates up to a few MHz [
7]. On the other hand, recent approaches integrate artificial intelligence into SDR systems to perform spectrum sensing tasks and improve adaptivity in dynamic wireless scenarios. For example, Deep reinforcement learning (DRL) has been used for intelligent interference and jamming environments [
12]. In [
12], the authors proposed a dual-intelligence framework for satellite networks in which terminals and satellites employ DRL to mitigate jamming. Building on this, the authors in [
13] introduce a DRL-based anti-jamming technique that employs transfer learning, thereby enhancing adaptability across a range of interference levels. While these studies focus on communication reliability and spectrum access optimization, our work complements them by proposing an SDR-based spectrum-monitoring solution with AI-driven interaction on a portable, low-cost platform.
Academic efforts in SDR-based spectrum analysis have demonstrated the feasibility of integrating SDR hardware with GNU Radio and establishing open-source frameworks for exploring the RF Spectrum in specific bands. For example, Costa et al. developed a spectrum analyzer operating in the 2.3–2.7 GHz band that uses a USRP, MATLAB, and GNU Radio [
14]. Their proposal, related to cognitive radio, focuses on spectrum sensing and introduces an approach to reconstructing a broader spectral view from partial measurements. They provide experimental validation and concisely address implementation details. While this work serves as a starting point, it does not fully address the level of standalone operation, integration, or accessibility targeted here.
Other works have employed low-cost SDR-based implementations on embedded platforms. For example, in [
15], the authors proposed a GNU Radio-based spectrum analyzer using a Raspberry Pi 2 and an RTL-SDR dongle, enabling standalone operation. However, this work is oriented only to analog radio reception for educational purposes, and the prototype presented operates in the range from 30 MHz to 1.7 GHz. In a similar vein, the authors in [
16] describe the development of a portable analyzer focused on digital terrestrial television and FM bands. While they considered portability and accurate visualization, this approach remains focused on broadcast services. Additionally, Harianto et al. in [
17] performed SDR-based measurements against a commercial analyzer in a narrow frequency range, demonstrating accurate results under controlled conditions, but not in real-world deployments. In contrast to these earlier studies, more recent work by Perotoni and dos Santos in [
18] analyzes wideband monitoring, dynamic range, and sensitivity using a HackRF One platform and a PC-based architecture. Furthermore, to address the need for portability, the work in [
19] presents a HackRF- and Raspberry Pi-based system for RF-EMF assessment that includes georeferencing and database integration. Finally, building on these advancements, the authors in [
20] presents an even more modern approach, proposing an embedded SDR analyzer using the USRP N210 and Raspberry Pi 5 for constrained FM-band analysis.
Table 1 presents a comparison of representative SDR platforms used in spectrum analysis applications. High-performance platforms such as the USRP N210 provide high resolution and wide sampling rates, enabling accurate measurements at the cost of increased system complexity and hardware cost. Mid-range platforms such as bladeRF offer improved bandwidth and full-duplex capability, although they may introduce spurious artifacts due to RF front-end limitations. Low-cost solutions such as RTL-SDR and HackRF One provide accessible alternatives, but their reduced ADC resolution and higher noise floor limit sensitivity and measurement accuracy.
Despite progress in aspects such as analog broadcast analysis, laboratory validation, educational platforms, cognitive radio sensing, and RF-EMF, previous contributions remain limited. Their shortcomings include a limited operating range, limited information on system integration, limited implementation details, dependence on external computers, reduced interaction capabilities, limited field portability, and reproducibility issues. In some cases, the information is brief, focused only on experimental results, or presented at a high level. In contrast, the spectrum analyzer proposed in this paper is fully integrated. It includes a detailed hardware description and justification, is battery-powered and portable, and features a 10.1-inch touchscreen for tactile use. The device operates from 1 MHz to 6 GHz, supports AI-driven voice interaction, and runs independently on a Raspberry Pi. We experimentally compare it against commercial hardware. These features position our proposal as a low-cost, open-source alternative and a practical, replicable platform for teaching, research, and field measurements in current and future 5G/6G-focused scenarios.
Table A2 compares existing proposals with the spectrum analyzer prototype presented in this paper. In summary, the main contribution of this paper is an integrated intelligent spectrum analyzer prototype that combines low-cost SDR hardware, real-time GNU Radio signal processing, standalone embedded operation, open-hardware reproducibility, and multimodal human–machine interaction. Unlike other SDR-based analyzers that focused on narrowband reception or signal visualization, the proposed platform presents a battery-backed portability, tactile operation, AI-assisted natural language control, and experimental comparison against a commercial device, thereby extending the use of low-cost SDR systems to feasible modern field-monitoring and educational sub 6 GHz with applicability ti 5G/6G scenarios.
The contributions of this paper are as follows:
Design of a low-cost, battery-powered, portable, and tactile SDR-based spectrum analyzer operating from 1 MHz up to 6 GHz.
Integrating GNU Radio signal processing with computing on a Raspberry Pi for standalone operation.
Implementation of an AI-driven voice interaction interface enabling hands-free operation and configuration of the signal analyzed parameters.
Development of a full reproducible open hardware prototype, including mechanical design, system integration, and parameter configuration.
Experimental validation based on measurements, a comparative analysis with a commercial spectrum analyzer.
1.1. Background
1.1.1. Radio-Electric Spectrum
The radio-electric spectrum comprises electromagnetic waves that propagate through space without a guide and is used in various fields such as telecommunications, radio, television, security, transportation, emergencies, and research [
22]. The use of different radio frequency bands is regulated by the International Telecommunication Union (ITU), which oversees the global management of the shared spectrum. The ITU’s radiocommunication regulations define various radio technologies and applications [
23]. A radio frequency band, a contiguous and small section of the radio-electric spectrum frequencies, is typically used or reserved in this frequency range. Different applications are assigned to non-overlapping frequency ranges, as shown in
Figure 1. The ITU’s role in establishing plans for each band and governing their use and sharing is crucial for preventing interference and defining protocols to ensure compatibility between transmitters and receivers, thereby ensuring system reliability [
24].
1.1.2. Spectrum Analyzer
An electrical signal can be examined from two distinct perspectives: (i) in the time domain or (ii) in the frequency domain. While an oscilloscope facilitates the observation of instantaneous voltage values in the time domain, a spectrum analyzer does so in the frequency domain. Understanding these tools is crucial for anyone working in electrical engineering. Unlike an oscilloscope, which displays the sum of frequencies and harmonics on a digital screen, a spectrum analyzer shows individual frequencies and their amplitudes. The main types of analyzers are described below.
Vectorial Spectrum Analyzer: This device operates based on the heterodyne principle, which states that two signals with similar frequencies can combine to create a new signal called the beat frequency. The vector spectrum analyzer then uses this beat frequency to determine the amplitude, phase, and other characteristics of the original signal, providing a comprehensive analysis of the signal’s properties [
26].
Swept Spectrum Analyzer: The swept spectrum analyzer operates with a systematic approach, measuring the response of the system being tested at each frequency. This is achieved by moving a sinusoidal signal across an RF spectrum. The process involves combining the signal from a local oscillator with the analyzer’s input, then filtering and amplifying the resultant signal. A linear scale for frequency and a logarithmic scale for amplitude are used to depict the results [
26].
Fast Fourier Transform Spectrum Analyzer: Through a mathematical process that separates the signal into frequency blocks, a Fast Fourier Transform (FFT) spectrum analyzer calculates the intensity of signals at different frequencies [
27]. The block diagram of this spectrum analyzer is shown in
Figure 2.
Real-Time Spectrum Analyzer (RSA): This equipment, utilizing an FFT, seamlessly converts between the time and frequency domains, accurately measuring signal frequency and intensity [
28]. Its continuous waveform-capture feature enables comprehensive analysis in a single view. The equipment’s exceptional sensitivity ensures the identification of weak signals. Moreover, it provides reliable, prompt responses to pulses by adjusting the trigger level and time window. A visual graph that effectively displays the results identifies issues such as distortion or noise, reassuring the audience about the equipment’s reliability [
26].
Identification of the signal’s frequency, power, bandwidth, amplitude, and phase is among the spectrum analyzer’s primary test functions [
29]. Furthermore, factors such as central frequency, analysis span, reference level, and bandwidth resolution are crucial to the operation of a spectrum analyzer.
Figure 3 shows a comparison between the types of spectrum analyzers described above.
1.1.3. Software-Defined Radio
An SDR platform eliminates the need for hardware changes as technology advances by having software-defined parts or all of the physical-layer functions. This feature indicates that the radio system or device uses software to perform operational tasks, except for control tasks [
30,
31].
Figure 4 shows a timeline of the most significant events in the evolution and history of SDR.
The concept of SDR has changed over time, but the progress achieved has primarily stemmed from the same basic structure shown in
Figure 5. SDR’s main functional components include:
Radio Frequency (RF) section: Often referred to as the RF Front-End, it is responsible for sending and receiving RF signals, converting them to intermediate frequencies (IF) upon reception, or amplifying and modulating IF signals for wireless transmission.
IF Section: During reception, this section converts the IF signal to baseband and digitizes it. During transmission, it converts the baseband signal to IF and performs analog-to-digital (ADC) or digital-to-analog (DAC) signal conversion, which is managed by the ADC/DAC modules.
Baseband Section: This portion handles all baseband signal processing, including bit timing management, equalization, frequency hopping, and session formation. In certain situations, it is also responsible for implementing link-layer protocols within the OSI model.
Currently, there are a variety of SDR platforms available for experimentation and prototyping, including RTL-SDR, HackRF One, USRP, PlutoSDR, LimeSDR, and BladeRF [
36]. Several software alternatives exist for controlling the hardware [
36]; relevant examples are listed in
Table 2. For the development of this prototype, HackRF One was used as the hardware platform and GNU Radio as the SDR software platform. This choice was made due to the RF operating-frequency requirement (below 6 GHz) and the software’s open-source nature, which provides flexibility for software development.
3. Results
Immediately after the device powers on, the GNU Radio script begins to execute. To visualize the desired signal, the user must enter its central frequency and select the corresponding options, as shown in
Figure 21. The graphical interface options are indicated below.
- 1.
Central Frequency: A central frequency value is entered, considering that the SDR module operates from 1 MHz to 6 GHz and the attached antenna covers a frequency range from 40 MHz to 6 GHz.
- 2.
Gain: A recommended predefined configuration is established to start in the “osmocom Source” block: (i) RF deactivated, (ii) IF gain at 16 dB, and (iii) baseband gain at 16 dB. In the GUI, IF gain controls can be adjusted to find the optimal configuration for the situation. If the gain is set to a low value (less than 5 dB), the signal may be masked by noise. Conversely, if the value is too high (close to 40 dB), distortion appears, manifesting as unexpected frequencies when increasing the gain, or the noise level being amplified more than the signal.
- 3.
Bandwidth: This value is the bandwidth applied to the spectrum visualization process to smooth the signal and reduce noise. A wider bandwidth can reduce spectrum update time and yield a smoother spectrum, whereas a narrower bandwidth can provide more detailed but slower visualization.
- 4.
Average: Calculates the average value of the received signal, and this average can be adjusted as required by the application.
- 5.
Frequency Display: A graphical representation showing how the amplitude of a signal varies as a function of frequency. In this visualization, the horizontal axis represents frequency, and the vertical axis shows the signal’s amplitude or power at each frequency.
- 6.
Waterfall Display: A graphical representation of signals where the horizontal axis shows frequency, the vertical axis shows time, and color or intensity represents the amplitude or power of the signal at each point. This feature allows the user to observe how the signal changes over time and to identify patterns or anomalies.
- 7.
Time Domain Display: This visual representation is used to observe and analyze signals as they evolve. It helps view a signal’s waveform, detect patterns, verify synchronization, and explore its modulation or temporal content.
3.1. Functions and Characteristics of the Prototype
Table 16 shows the detailed cost of each component (imported from Ecuador) used for the development of the spectrum analyzer prototype, demonstrating its economic viability compared to commercial solutions (e.g., Deviser E8000A, Tianjin Deviser Electronics Instrument Co., Ltd., Tianjin, China, spectrum analyzer), which costs thousands of dollars [
41].
Table 17 presents a comparison between the commercial equipment available in the Wireless Communications Laboratory at Escuela Politécnica Nacional, the Spectrum Analyzer Deviser E8000A, and the developed prototype. Both similarities and differences are highlighted with respect to functionality and features, emphasizing the prototype’s characteristics relative to a commercial model.
3.2. Receiver Sensitivity Considerations
One limitation of SDR-based spectrum analyzer implementations is the reduced receiver sensitivity compared to dedicated commercial spectrum analyzers such as the Deviser E8000A. This difference is primarily due to the higher noise figure of the SDR front-end, the limited number of analog filtering stages, and the absence of an integrated low-noise preamplifier. In addition, the dynamic range of low-cost SDR platforms is limited by the analog-to-digital converter resolution, thereby reducing the ability to detect low-power signals near the noise floor.
As a result, weak signals located close to the noise floor may be more difficult to observe compared to high-performance commercial instruments. This limitation is inherent to low-cost SDR platforms and should be considered when performing measurements in low-signal environments. Despite this limitation, the proposed solution remains suitable for educational environments, laboratory measurements, and short-range signal characterization, where signal levels are typically sufficient for reliable detection.
3.3. Measurement and Comparison
The measurements were conducted using different antennas depending on the frequency band under evaluation. A telescopic antenna covering the VHF band from 30 MHz to 300 MHz was used for FM and analog TV measurements. For the Wi-Fi band, a monopole antenna with a typical gain of 3 dBi and an omnidirectional radiation pattern was used. The antennas were directly connected to the SDR-based spectrum analyzer front-end. Finally, for the 5G-like OFDM signal measurements, a log-periodic antenna covering the frequency range from 850 MHz to 6500 MHz was utilized.
3.3.1. FM Radio Signals
For comparison purposes, measurements of FM radio stations from 88 MHz to 108 MHz were performed using the Deviser E8000A spectrum analyzer [
41]. These results are compared with the signals and data obtained with our spectrum analyzer prototype. The comparison is shown in
Table 18 and
Figure 22.
3.3.2. TV Signals
The frequency ranges of several television channels have also been analyzed. These results are presented in
Table 19 and in
Figure 23.
3.3.3. Wi-Fi Signals
Subsequently, tests were conducted with a Wi-Fi network, yielding the signal power values shown in
Figure 24 and
Table 20.
3.3.4. Mobile Telephony Signals
Bandwidth measurements of the 3G downlink and uplink cellular telephony signals were performed, and the results are shown in
Table 21. The reference downlink signal from the DEVISER E8000A is shown in
Figure 25, along with the information from our prototype’s signal.
3.3.5. Applicability to 5G and 6G Networks in the Sub-6 GHz Spectrum
Although the evolution towards 5G and 6G networks often highlights the use of millimeter-wave and terahertz frequencies to achieve extreme data rates, the sub-6 GHz spectrum remains valuable in these mobile telephony generations [
45]. Thus, the proposed spectrum analyzer prototype, operating from 1 MHz to 6 GHz, is directly applicable to current 5G deployments and future 6G networks, as supported by the following information.
Relevance in 5G New Radio (NR): The 3rd Generation Partnership Project defines two frequency ranges for 5G NR: (i) frequency range 1 (FR1) and (ii) frequency range 2 (FR2). FR1, commonly known as “Sub-6 GHz”, covers frequencies from 410 MHz to 7.125 GHz [
46]. This range is crucial because it balances capacity with propagation characteristics that allow for wide-area coverage and indoor penetration, unlike FR2 (mmWave), which suffers from high attenuation. As shown in
Table 22, the developed spectrum prototype covers most of the core 5G FR1 bands, including the widely deployed C-Band (n77, n78) and the 2.5 GHz band (n41), making it a viable, low-cost tool for monitoring commercial 5G signals.
Role in 6G Networks: While 6G research focuses on the sub-THz spectrum (90–300 GHz) for short-range communication, the sub-6 GHz spectrum will remain essential for the “Coverage Layer” of 6G networks. According to the Global Mobile Suppliers Association and recent vision papers for IMT-2030 (6G), frequencies below 7 GHz will be re-allocated to ensure ubiquitous connectivity and to support control channels in higher-frequency bands [
47,
48]. Therefore, this prototype is not only capable of analyzing current 5G signals but also future-proof for monitoring the refarming of legacy bands (2G/3G/4G) into 6G coverage bands, validating its applicability to the transition towards IMT-2030 standards.
Table 22.
Relationship between the prototype’s operating range and key 5G/6G bands [
46,
47].
Table 22.
Relationship between the prototype’s operating range and key 5G/6G bands [
46,
47].
| Band | Frequency Range | Application in 5G/6G | Prototype Coverage |
|---|
| n71 | 617–698 MHz | 5G Wide Area Coverage | Full |
| n28 | 703–803 MHz | 5G/6G Indoor Penetration | Full |
| n41 | 2496–2690 MHz | 5G Capacity Layer (TDD) | Full |
| n78 | 3300–3800 MHz | Core 5G Band (C-Band) | Full |
| n77 | 3300–4200 MHz | 5G/6G Capacity | Full |
| n79 | 4400–5000 MHz | 5G High Capacity | Full |
| Re-allocation | <3 GHz | Legacy bands migrating to 6G | Full |
To further evaluate the applicability of the proposed solution to 5G scenarios, additional experimental validation was performed using a 10 MHz OFDM signal representative of Sub-6 GHz 5G New Radio transmissions. Since commercial 5G deployments are not currently available in Ecuador, a controlled laboratory setup was implemented as shown in
Figure 26. A NI USRP-2943R software-defined radio platform was used to generate an OFDM waveform with bandwidth and spectral characteristics similar to those employed in 5G NR systems. The SDR transmitter was configured with a 30 dB gain and positioned 1 m from the measurement devices. The generated signal was then measured using both the proposed spectrum analyzer and a reference commercial instrument, the Deviser N8000A, as shown in
Figure 27.
Prior to the comparison, both instruments were configured using identical measurement settings, including center frequency, span, resolution bandwidth (RBW), and detector mode. The SDR-based analyzer frequency axis was calibrated using a known OFDM signal generated with a predefined center frequency and bandwidth.
The proposed spectrum analyzer gain was set to 20 dB to avoid saturation while maintaining sufficient sensitivity for weak-signal detection. The captured IQ samples were processed using FFT-based spectrum estimation with averaging to reduce noise-floor variations.
The measurements obtained from both systems exhibit similar spectral behavior, particularly in terms of center frequency and occupied bandwidth. For this measurement, the central frequency of the OFMD signal is 2.593 GHz, consistent with measurements from the Deviser E8000A and the proposed spectrum analyzer. This agreement validates the accuracy of the proposed solution for characterizing wideband OFDM signals. Furthermore, to generate the results presented in
Figure 27a, the raw data obtained from the spectrum analyzer were exported and post-processed using additional Python-based signal processing routines. This processing enabled consistent visualization and direct comparison of the proposed solution with the reference instrument measurements.
Phase noise characterization was performed using the captured complex IQ samples. The instantaneous phase was extracted and processed to estimate phase noise as a function of offset frequency. The results shown in
Figure 28 demonstrate that the proposed system can evaluate oscillator stability for wideband OFDM signals.
The comparison was repeated for several signals to demonstrate consistency of the proposed solution across different frequency ranges, as shown in
Table 23.
Although the proposed SDR-based spectrum analyzer provides a flexible and low-cost solution for signal visualization and educational measurements, several technical limitations must be considered when comparing its performance with professional commercial spectrum analyzers. One of the main limitations is related to the analog-to-digital converter (ADC) resolution. The HackRF One employs an 8-bit ADC, which constrains the achievable dynamic range. The theoretical dynamic range of an 8-bit converter is approximately 50 dB, significantly lower than that of commercial spectrum analyzers. This limited dynamic range reduces the ability to simultaneously observe weak signals in the presence of strong interferers and increases quantization noise. As a result, low-level signals close to the noise floor may be masked by stronger spectral components.
Receiver sensitivity is also limited compared to commercial spectrum analyzers. The HackRF One front-end lacks a calibrated low-noise preamplifier, and its gain stages are not optimized for precision measurements. The available gain controls (LNA, VGA, and baseband gain) provide flexibility but do not guarantee calibrated amplitude response. This results in a higher displayed noise floor and reduced capability to detect weak signals. During the comparison with the Deviser E8000A analyzer, this behavior was observed as improved weak-signal visibility in the commercial instrument.
Amplitude accuracy is another limitation of the HackRF-based implementation. Since the HackRF One is not factory-calibrated for power measurements, absolute amplitude values depend on gain configuration, antenna characteristics, cable losses, and front-end nonlinearities. Therefore, the proposed analyzer is primarily suitable for relative spectral analysis rather than absolute power measurements. In contrast, commercial spectrum analyzers provide calibrated amplitude measurements and specified measurement uncertainty.
3.4. Experimental Validation and Error Analysis
The experimental validation of the proposed SDR-based spectrum analyzer was performed using multiple real-world signals, including FM broadcasting, Wi-Fi transmissions, television signals, and OFDM-based cellular signals. These measurements allow evaluation of the system across different frequency bands, bandwidths, and modulation schemes. Frequency calibration was carried out using signals with known center frequencies. The measured center frequency
was obtained from the peak of the spectrum and compared with the reference value
. The frequency deviation was computed as:
Bandwidth estimation was performed by measuring the occupied bandwidth of the signal, and the corresponding error was calculated as:
Table 23 summarizes the quantitative results obtained across different frequency bands. The results show that frequency deviations remain within a small margin, mainly limited by FFT resolution and bin quantization effects. Bandwidth estimation errors were also found to be low, indicating consistent performance across different signal conditions.
The proposed system was also compared with a commercial spectrum analyzer (Deviser E8000A) under similar measurement conditions. The comparison shows good agreement in center frequency and bandwidth estimation for all evaluated signals. However, the commercial analyzer exhibited a lower noise floor and improved detection of weak signals.
These differences are attributed to the hardware limitations of the HackRF One, including its 8-bit ADC resolution, higher effective noise floor, and lack of preselection filtering and calibrated gain stages. These factors impact sensitivity and measurement precision, particularly for low-power signals. It is important to note that the validation focuses on frequency-domain accuracy; amplitude calibration and a complete uncertainty analysis are not included and are considered future work. Despite these limitations, the results demonstrate that the proposed system provides reliable spectral characterization across multiple wireless technologies.
3.5. Performance of the AI-Driven Voice Control System
The integration of the artificial intelligence module provided a seamless hands-free interface for controlling the spectrum analyzer’s hardware parameters, allowing users to configure key parameters (e.g., center frequency, gain, and bandwidth) without direct touchscreen interaction. This is particularly useful in scenarios where manual interaction is inconvenient or limited, such as field measurements, mobile deployments, or situations requiring continuous monitoring. Experimental results confirmed that the system accurately interprets natural-language commands and translates them into real-time adjustments within the signal-processing flowgraph. The voice recognition pipeline maintained high reliability during the testing phase, successfully executing complex configuration tasks without manual intervention. The following specific results were obtained during the functional validation of the AI assistant:
Automated Standard Selection: The AI module demonstrated the ability to identify and apply parameters for common wireless standards. When prompted to display Wi-Fi Channel 10, the system automatically tuned the center frequency to GHz with a 20 MHz bandwidth. Similarly, a command for the full Bluetooth spectrum resulted in a configuration centered at GHz with an 85 MHz span.
Precision in Manual Tuning: Direct adjustment of RF parameters showed high responsiveness. Verbal commands to set the center frequency to 100 MHz and the RF gain to 25 dB were processed successfully, with the graphical user interface reflecting the changes instantaneously. This confirms the robustness of the Python-based interface layer in managing the hardware’s operational limits.
Data Management and Connectivity: The voice-triggered capture system proved efficient for both local and remote monitoring. The “Local Capture” command successfully stored high-resolution screenshots in the internal storage directory with standardized timestamps. Furthermore, the “Online Capture” mode successfully interfaced with the Telegram Bot API, transmitting real-time spectral data to a remote chat, which validates the prototype’s utility for remote diagnostic applications.
Audio and Feedback Systems: The text-to-speech (TTS) engine provided clear auditory confirmation for every successful parameter update. During FM radio tests, the system accurately tuned to specific channels, such as MHz with 200 kHz bandwidth, while simultaneously allowing the user to control the demodulation volume via voice commands.
A summary of the AI-driven voice assistant module’s operation is presented in the video available at [
49]. Furthermore, for details on the prototype project, see the corresponding
GitHub repository [
50].
3.6. Limitations of the Proposed Prototype
While the proposed prototype demonstrates the feasibility of implementing a portable, low-cost, and practical SDR-based spectrum analyzer for sub-6 GHz monitoring, there are several technical constraints and limitations, which are described below:
Dynamic Range and ADC Resolution: The SDR hardware used in the prototype, the HackRF One, uses an 8-bit ADC [
51], which limits the maximum dynamic range and increases quantization noise compared to laboratory-grade spectrum analyzers (e.g., the Deviser E8000A [
41]). This hardware condition reduces the ability to accurately detect weak signals in the presence of potential interferers.
Receiver Sensitivity and Noise Floor: The prototype exhibits lower sensitivity than commercial instruments due to the lack of low-noise amplification stages or high-selective preselection filters. In practical deployments, this limitation can be mitigated by incorporating external band-selective filters and low-noise amplifiers.
Amplitude Calibration and Accuracy: The proposed prototype lacks factory-calibrated absolute power measurements. Therefore, amplitude levels may be affected by antenna features, cable losses, front-end nonlinearities, and gain factors. For these reasons, our proposal is suited for preliminary spectral analysis rather than precision RF metrology applications.
Resolution Bandwidth and Spectral Purity: In the proposed prototype, the achieved RBW, spurious-free dynamic range, and phase-noise characteristics are primarily determined by hardware limitations and software-defined processing rather than by calibrated, dedicated instrumentation-grade analog architectures. Therefore, although the prototype enables flexible real-time visualization, it cannot replace high-end analyzers in rigorous laboratory testing scenarios.
Computational Scalability: The capabilities of the Raspberry Pi 4B+ platform constrain the use of larger FFT sizes, broader bandwidths, and advanced real-time AI processing. Future scalability for more demanding applications may require higher computational capacity (e.g., using edge-computing platforms).
Battery Autonomy and Field Deployment: The battery module supports autonomous and portable operation; however, its operational lifetime depends on factors such as CPU load, software-defined radio (SDR) activity, screen brightness, and speaker usage. This limitation may constrain outdoor campaigns or long-term monitoring unless larger battery units are implemented, which would necessitate new mechanical hardware. Additionally, the current mechanical design lacks waterproofing, dust protection (e.g., IP68 certification), and fall protection.
Frequency-range Limitations: The proposed SDR-based implementation cannot directly analyze millimeter-wave bands relevant to 5G Frequency Range 2 (FR2) and prospective 6G systems without integrating additional up- or down-conversion hardware or specialized millimeter-wave front-ends.
Scope of the AI Module: The AI component is primarily designed for voice-based human–machine interaction and hands-free parameter configuration. However, it currently lacks capabilities for automatic spectrum interpretation, anomaly detection, and signal or modulation classification and recognition. These functionalities represent potential avenues for future research.
Dependence on Cloud Services: The current voice assistant implementation relies on external APIs. While this approach improves usability, it also relies on third-party services and Internet connectivity, which can introduce communication latency. Developing a fully local, proprietary, and custom AI solution could provide greater operational autonomy and enhanced privacy.
Although these limitations exist, they are consistent with the prototype’s low-cost design philosophy and do not reduce its effectiveness as an accessible platform for research experimentation, rapid diagnostics, field surveys, practical sub-6 GHz spectrum analysis, and educational purposes.
4. Conclusions
This paper presents the detailed implementation of a spectrum analyzer prototype that uses the HackRF One platform, the Raspberry Pi 4B+, a portable battery, and a touch screen for an interactive user interface. The Raspberry Pi runs GNU Radio, which allows real-time signal processing and visualization. This spectrum analyzer prototype is portable, enabling the analysis and visualization of electromagnetic signals from 1 MHz to 6 GHz, with potential applicability to 5G and forthcoming 6G networks. Furthermore, the proposed prototype features an intuitive graphical interface and an AI-driven voice assistant that enable easy access to key functions, including frequency selection, bandwidth adjustment, real-time visualization, and hands-free operation if needed.
The development of the spectrum analyzer prototype has required a total investment of USD 246, underscoring its economic viability relative to commercial spectrum analyzers and making the prototype on display almost 11 times less expensive than laboratory equipment. This comparison highlights the effectiveness of using open-source tools and affordable hardware to create radio spectrum analysis solutions that can compete with high-cost commercial equipment in terms of basic functionality.
The spectrum analyzer prototype has proven effective for analyzing a wide range of telecommunications signals, including FM radio, television, 3G networks, and Wi-Fi. Owing to its wide operating frequency range, spanning 1 MHz to 6 GHz, the prototype enables monitoring and evaluation of most telecommunications services across the radio spectrum, including 5G and 6G networks. This ability to cover multiple frequency bands not only underscores the device’s versatility and utility but also highlights its potential for applications across contexts, from research and education to implementation in specific telecommunications network monitoring and diagnostic projects.
The prototype is equipped with a 10,000 mAh battery, enabling approximately 2 h of autonomous operation, powering the touchscreen, the HackRF One module, and the RPi. This stand-alone operation capability makes it an ideal tool for field use, allowing users to perform radio spectrum analysis in various environments without an external power source, making it highly portable and operationally autonomous. Furthermore, thanks to the AI-driven voice assistant, the proposed prototype can be used by people with disabilities and by those with a basic or no background in operating such devices.
Integrating an AI-driven voice assistant is particularly useful when manual interaction is limited or impractical. While this paper demonstrates the feasibility of natural-language control for real-time spectrum analysis, a more comprehensive evaluation of accessibility and usability is still needed. Future work might include a formal, user-centered study to assess the effectiveness of the voice interface across multiple scenarios and conditions, including user factors (e.g., varying levels of technical expertise or different accessibility limitations), as a contribution to achieving more inclusive SDR-based communication systems.
Several research directions can be pursued to enhance the proposed prototype further. The next hardware steps are to adopt higher-resolution SDR platforms, integrate 12–16-bit ADCs, incorporate calibrated RF front-ends, and include low-noise amplification stages. These improvements should enhance dynamic range, sensitivity, and fidelity, thereby narrowing the gap to professional-grade spectrum analyzers. For signal processing, future work can integrate advanced artificial intelligence techniques such as reinforcement learning to enable signal classification, adaptive spectrum sensing, and interference analysis. Further steps may include federated learning, which enables multiple devices to collaboratively learn spectrum patterns in a distributed manner, thereby enhancing scalability while maintaining data privacy. Another research direction is to integrate this device into unmanned aerial vehicles to enable mobile interference analysis of gNodeB and beamforming. This integration is under current investigation by the authors as part of ongoing work.