RF Hunter Hardware & Architecture
RF Hunter is designed around an optimized hardware architecture that maximizes the capabilities of the ESP8266 microcontroller while providing discrete, dedicated subsystems for RF, infrared, display, and input controls.
Technical Specifications
| Component | Technical Specification | Details |
|---|---|---|
| Microcontroller | Espressif ESP8266 | Tensilica Xtensa 32-bit LX106 core @ 80 / 160 MHz |
| Flash Memory | 4 Megabytes (32 Megabits) SPI Flash | Configured under 4M2M (1 MB Sketch / 2 MB LittleFS) |
| SRAM | 80 KB User RAM + 32 KB IRAM | High-performance execution buffer |
| Display | 1.3-inch SH1106 Monochrome OLED | 128x64 resolution, high contrast, I2C bus interface |
| RF Radio | Nordic Semiconductor nRF24L01+ | 2.4 GHz transceiver with LNA amplifier, SMA antenna port |
| Infrared TX | 940 nm High-Output IR LED | Transistor-driven @ GPIO 15 for extended range |
| Infrared RX | 38 kHz Active Demodulator | Direct digital reception @ GPIO 0 with microsecond capture |
| Control Interface | 6-Tactile Button Keypad | Precision analog voltage divider ladder on single ADC pin (A0) |
| Power Management | USB Type-C 5V Input | Onboard 3.3V low-dropout (LDO) linear regulator |
Hardware Pinout & Wiring Diagram
The RF Hunter hardware leverages ESP8266 GPIO pins with precise multiplexing to support display, RF transceivers, infrared, and button controls:
+--------------------------------------+
| ESP8266 D1 Mini / MCU |
+--------------------------------------+
| | | | | | |
[I2C SDA] ---+ | | | | | +--- [A0] Analog Button Ladder
GPIO 4 | | | | | |-- UP (~188)
| | | | | |-- DOWN (~240)
[I2C SCL] ---------+ | | | | |-- LEFT (~96)
GPIO 5 | | | | |-- RIGHT (~331)
| | | | |-- ENTER (~375)
[IR RX Sensor] ----------+ | | | \-- BACK (~426)
GPIO 0 (Pull-up) | | |
| | +--- [SPI MOSI / MISO / SCK]
[nRF24 CE / IR TX] ------------+ | GPIO 13 / 12 / 14
GPIO 16 (CE) |
GPIO 15 (IR TX & nRF CSN) ----------+
Pin Assignment Table
| Pin | Function / Target | Protocol / Mode | Description |
|---|---|---|---|
| GPIO 4 (D2) | OLED Display SDA | I2C Data | 128x64 SH1106 OLED Communication |
| GPIO 5 (D1) | OLED Display SCL | I2C Clock | 128x64 SH1106 OLED Clock Line |
| GPIO 16 (D0) | nRF24L01+ CE | Digital Output | Chip Enable for 2.4 GHz RF Radio |
| GPIO 15 (D8) | nRF24L01+ CSN / IR TX | SPI CS / PWM TX | Dual-role: SPI Chip Select / IR Transmit LED |
| GPIO 14 (D5) | nRF24L01+ SCK | Hardware SPI | Serial Clock for RF Radio |
| GPIO 12 (D6) | nRF24L01+ MISO | Hardware SPI | Master In Slave Out for RF Radio |
| GPIO 13 (D7) | nRF24L01+ MOSI | Hardware SPI | Master Out Slave In for RF Radio |
| GPIO 0 (D3) | IR Demodulator RX | Digital Input | 38 kHz Active Infrared Demodulator |
| A0 (ADC0) | 6-Button Keypad | Analog Voltage | Analog resistor ladder for 6-way keypad |
Memory Partition Scheme (4M2M)
RF Hunter firmware is built specifically for the 4M2M (4 MB Flash with 2 MB LittleFS) partition architecture:
+-----------------------------------------------------------------------+
| 0x000000 4 MB FLASH (32 Mb) |
+-----------------------------------+-----------------------------------+
| Sketch / Firmware Binary | LittleFS File System |
| (IROM0 Segment) | (Persistent Storage) |
| Max: ~1.0 MB | 2.0 MB |
| [Embedded IR Database] | [Captured Passwords / Custom IR]|
+-----------------------------------+-----------------------------------+
Segment Allocations
- Sketch / Firmware Segment (1,044,464 bytes max):
- Houses the core firmware binary, Wi-Fi Deauther engine, WiPhi captive portal, Nordic RF Jammer routines, display drivers, and the compressed Embedded IR Database (193 remotes, 4,966 buttons).
- LittleFS Persistent Segment (2,097,152 bytes):
- Stores newly learned Infrared remotes (
/infrared/*.ir), WiPhi attack dumps (/WifiPhish/), and user configuration files. - Can be inspected, downloaded, and edited in real time via the onboard Storage Web Portal.
- Stores newly learned Infrared remotes (
- EEPROM Emulation Segment (4,096 bytes):
- Stores WiPhi offline captured credentials, button calibration thresholds, and system boot counters safely across power cycles.