Skip to content

Add comprehensive HackRF PortaPack SD card package for drone detection and personal recall#3

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/create-sd-card-package
Draft

Add comprehensive HackRF PortaPack SD card package for drone detection and personal recall#3
Copilot wants to merge 3 commits intomainfrom
copilot/create-sd-card-package

Conversation

Copy link

Copilot AI commented Dec 26, 2025

Implements a complete SD card package for HackRF One + PortaPack H4M providing passive drone detection (always legal) and personal drone recall capabilities (user's own equipment only, with extensive legal compliance framework).

Package Structure

HACKRF_PORTAPACK/SDCARD/ - Ready-to-copy SD card contents:

  • FREQMAN/ - 11 frequency scanner files (217 total frequencies)
    • 7 detection configs: 433MHz, 915MHz, 1.2GHz, 2.4GHz, 5.8GHz, GPS L1, multi-band
    • 4 personal recall templates: FrSky D16, FlySky, ExpressLRS, Crossfire
  • SETTINGS/ - Detection config, alert settings, recall template config
  • CAPTURES/ - Signal capture directory with usage guide
  • REPLAYS/ - Replay directory with comprehensive safety instructions

Documentation (99KB, 3,849 lines)

  • README.md (16KB) - Hardware requirements, features, legal framework, FAQ
  • QUICK_START.md (12KB) - 5-minute setup, first detection in minutes
  • DETECTION_GUIDE.md (24KB) - Scanner configuration, RSSI interpretation, signal analysis, battery optimization
  • PERSONAL_RECALL_SETUP.md (26KB) - Signal capture, protocol-specific guides, testing procedures, safety protocols
  • LEGAL.md (21KB) - FCC/EU/international regulations, legal vs illegal uses, penalties

Frequency Scanner Format

PortaPack Mayhem FREQMAN format with proper parameters:

# DRONE_SCAN_2G4.TXT - 50 channels covering 2.4 GHz ISM band
f=2400000000,m=AM,bw=1000000,d=2.4G ISM Lower
f=2412000000,m=AM,bw=1000000,d=2.412G WiFi Ch1
f=2450000000,m=AM,bw=1000000,d=2.45G ISM Center
...

Personal recall templates include customization instructions:

# PERSONAL_FRSKY_D16.TXT
# WARNING: FOR YOUR OWN DRONES ONLY
f=2405000000,m=AM,bw=1000000,d=FrSky D16 Ch1 [TEMPLATE]
# User must capture and replace with actual frequencies

Legal Compliance

Prominent warnings throughout all files:

  • ✅ Passive detection: Always legal, no restrictions
  • ⚠️ Transmission to own equipment: Legal with compliance verification
  • ❌ Jamming/interference: Federal crime, $10,000+ fines, imprisonment

Legal disclaimers in: all FREQMAN templates, all documentation files, configuration templates, capture/replay READMEs.

Integration

Updated main README.md with:

  • HackRF PortaPack package overview
  • Hardware platform comparison table
  • Quick links to all documentation
  • Legal notice and responsible use guidelines
Original prompt

Create a comprehensive SD card package for HackRF One with PortaPack H4M that provides drone detection and personal drone recall capabilities.

Primary Features

1. Drone Detection & Monitoring (Receive-Only - Always Legal)

Create frequency scanner configurations for common drone frequencies:

  • 433 MHz - RC control signals
  • 915 MHz - RC control and telemetry
  • 1.2 GHz - Some FPV video links
  • 2.4 GHz - DJI/WiFi control signals
  • 5.8 GHz - FPV video downlinks
  • 1575 MHz - GPS L1 monitoring (receive-only)

Features:

  • RSSI monitoring and real-time signal strength display
  • Audio/visual alerts when drone activity detected
  • Activity logging with timestamps
  • Pattern recognition for common drone protocols
  • Multi-frequency scanning modes

2. Personal Drone Recall System (For User's Own Equipment Only)

Create template configurations for controlling the user's personal drones:

Supported Protocols:

  • FrSky (D8, D16)
  • FlySky (AFHDS, AFHDS2A)
  • ExpressLRS
  • Crossfire
  • Generic PPM/PWM
  • DSM2/DSMX

Features:

  • Return-to-home (RTH) command templates
  • Failsafe trigger configurations
  • Emergency recall button mapping
  • Signal capture tools for user's own drone
  • Replay configurations for personal equipment
  • Range testing tools

Legal Disclaimer Integration:

  • Clear "FOR YOUR OWN DRONES ONLY" warnings throughout
  • Step-by-step guide for capturing personal drone signals
  • Instructions for customizing templates to user's specific equipment

3. Signal Analysis Tools

  • Protocol identification helpers
  • Signal capture and replay configurations
  • Modulation analysis setups
  • Timing analysis tools
  • Waveform viewers

Directory Structure

Create a new directory: HACKRF_PORTAPACK/ with the following structure:

HACKRF_PORTAPACK/
├── README.md
├── DETECTION_GUIDE.md
├── PERSONAL_RECALL_SETUP.md
├── LEGAL.md
├── SDCARD/
│   ├── FREQMAN/
│   │   ├── DRONE_SCAN_433.TXT
│   │   ├── DRONE_SCAN_915.TXT
│   │   ├── DRONE_SCAN_1G2.TXT
│   │   ├── DRONE_SCAN_2G4.TXT
│   │   ├── DRONE_SCAN_5G8.TXT
│   │   ├── DRONE_SCAN_GPS.TXT
│   │   ├── DRONE_SCAN_ALL.TXT
│   │   ├── PERSONAL_FRSKY_D16.TXT
│   │   ├── PERSONAL_FLYSKY.TXT
│   │   ├── PERSONAL_ELRS.TXT
│   │   └── PERSONAL_CROSSFIRE.TXT
│   ├── SETTINGS/
│   │   ├── drone_detect_config.txt
│   │   ├── alert_settings.txt
│   │   └── personal_recall_template.txt
│   ├── CAPTURES/
│   │   └── README_CAPTURES.TXT
│   └── REPLAYS/
│       └── README_REPLAYS.TXT
└── QUICK_START.md

File Content Requirements

FREQMAN Files Format

Use proper PortaPack Mayhem FREQMAN format:

f=433920000,d=Drone 433 Ch 1
f=433950000,d=Drone 433 Ch 2
...

Include all common drone control frequencies in each band.

README.md

Must include:

  • Clear Legal Disclaimer - Detection is legal, transmission only for own equipment
  • Hardware requirements (HackRF One + PortaPack H4M)
  • SD card installation instructions
  • Quick start guide
  • Feature overview
  • Safety warnings
  • Link to full documentation

DETECTION_GUIDE.md

Comprehensive guide covering:

  • How to load scanner configurations
  • Using the receiver mode
  • Interpreting RSSI readings and signal strength
  • Setting up audio/visual alerts
  • Logging drone activity
  • Identifying drone types by frequency/pattern
  • Battery-efficient scanning tips
  • Multi-band scanning strategies

PERSONAL_RECALL_SETUP.md

Critical: This guide is for user's OWN drones only

Content:

  • Prominent warning section at the top about legal use
  • Step-by-step: How to capture your own drone's control signals
  • How to analyze captured signals
  • Creating custom recall/RTH commands for your drone
  • Protocol-specific setup guides:
    • FrSky setup and configuration
    • FlySky setup and configuration
    • ExpressLRS setup and configuration
    • Crossfire setup and configuration
  • Testing procedures in safe environment
  • Troubleshooting common issues
  • Failsafe behavior configuration
  • Emergency button mapping

LEGAL.md

Detailed legal information:

  • FCC Part 15 compliance
  • Legal use cases:
    • ✅ Receiving/monitoring any frequency (passive)
    • ✅ Transmitting to your own equipment
    • ❌ Jamming/interfering with others' equipment
    • ❌ Transmitting on unauthorized frequencies
  • International considerations
  • Safety warnings
  • Liability disclaimer
  • Responsible use guidelines

QUICK_START.md

Fast setup guide:

  1. SD card formatting instructions
  2. File installation steps
  3. First power-on setup
  4. Detection mode quick start (5 minutes)
  5. Personal recall setup overview (link to full guide)
  6. Common button mappings
  7. Emergency procedures

Technical Specifications

Scanner Configurations

For each frequency band, provide:

  • Center frequency and scan range
  • Appropriate bandwidth settings
  • Sample rate configurations
  • Modulation type (FM, AM, etc.)
  • Gain settings for optimal reception
  • Step size for scanning

Personal Recall Templates

For each protocol, provide:

  • Frequency range
  • Modul...

This pull request was created from Copilot chat.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits December 26, 2025 05:24
Co-authored-by: Crashkeyz <186653592+Crashkeyz@users.noreply.github.com>
Co-authored-by: Crashkeyz <186653592+Crashkeyz@users.noreply.github.com>
Copilot AI changed the title [WIP] Create comprehensive SD card package for HackRF One and PortaPack Add comprehensive HackRF PortaPack SD card package for drone detection and personal recall Dec 26, 2025
Copilot AI requested a review from Crashkeyz December 26, 2025 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants