Posts

Showing posts from July, 2025

ADALM-PLUTO Python RSSI band scope

Image
import adi import iio import serial import pandas as pd import matplotlib.pyplot as plt import csv from datetime import datetime sdr = adi.Pluto('ip:192.168.2.1') ctx = iio.Context('ip:192.168.2.1') phy = sdr.ctx.find_device("ad9361-phy") print(f"Product ID: {hex(phy.reg_read(0x37))}") data = [] log_data = [] cols = ['Frequency', 'RSSI', 'Timestamp'] plt.xlabel("Frequency") plt.ylabel("RSSI") plt.xticks(rotation = 90) plt.ion() start_freq = 446.0e6 # Hz freq = start_freq freq_step = 12500.0 # Hz counter = 0 num_steps = 16 sample_rate = 0.521e6  # Hz Minimum is 521 KSPS num_samples = 2**16 rssi_add = 128 loop = True sdr.rx_lo = int(freq) sdr.gain_control_mode_chan0 = "fast_attack" sdr.sample_rate = int(sample_rate) sdr.rx_rf_bandwidth = int(sample_rate) # filter width, just set it to the same as sample rate for now sdr.rx_buffer_size = num_samples try:     while (loop == True):         rssi = sdr._...

Gatsoo in 720 nm

Image
 

Some C# for processing bin files and some mod ideas for BC_VUP_V3

Visual Studio, dotPeek Do XOR op for the bin file and convert it to hex file   using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace FileBin {     internal class Program     {         static void Main(string[] args)         {             char[] ct = new char[16]             {                 '0',                 '1',                 '2',                 '3',                 '4',                 '5',                 '6',                 '7',       ...

Mods for BC_VUP_V3

Visual Studio 2022 dotPeek C#  After dotPeeking Uniden BC_VUP_V3 to VS solution it is quite easy to do some mods for it, e.g. modifying it to write firmware to file without Uniden radioscanner connected to COM port. Mainform.cs comment out CheckScanner() SelectCom.cs comment out !usscRemote.CanOpen ... replace if and else with code in else section usscRemote.cs TransferPacket, comment out ComPort.WriteLine and ComPort.ReadLine and add e.g. System.IO.File.AppendAllText(..., Packet ... WritingDialogbox.cs TransferFile add return; after analyzefirmware .. analyzefirmware, after while ... add e.g. File.AppendAllText(@..., str + Environment.NewLine, Encoding.ASCII); first case statement, add e.g. File.WriteAllText(@..., checksum.ToString(), Encoding.ASCII); bintostring, add e.g. File.AppendAllText(@..., stringBuilder.ToString(), Encoding.UTF8); analyzefirmwarebin, add e.g. File.AppendAllText(@..., checksum.ToString(), Encoding.ASCII); getstringinfoot add e.g. File.AppendAllText(@..., En...