Skip to main content

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​

ComponentTechnical SpecificationDetails
MicrocontrollerEspressif ESP8266Tensilica Xtensa 32-bit LX106 core @ 80 / 160 MHz
Flash Memory4 Megabytes (32 Megabits) SPI FlashConfigured under 4M2M (1 MB Sketch / 2 MB LittleFS)
SRAM80 KB User RAM + 32 KB IRAMHigh-performance execution buffer
Display1.3-inch SH1106 Monochrome OLED128x64 resolution, high contrast, I2C bus interface
RF RadioNordic Semiconductor nRF24L01+2.4 GHz transceiver with LNA amplifier, SMA antenna port
Infrared TX940 nm High-Output IR LEDTransistor-driven @ GPIO 15 for extended range
Infrared RX38 kHz Active DemodulatorDirect digital reception @ GPIO 0 with microsecond capture
Control Interface6-Tactile Button KeypadPrecision analog voltage divider ladder on single ADC pin (A0)
Power ManagementUSB Type-C 5V InputOnboard 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​

PinFunction / TargetProtocol / ModeDescription
GPIO 4 (D2)OLED Display SDAI2C Data128x64 SH1106 OLED Communication
GPIO 5 (D1)OLED Display SCLI2C Clock128x64 SH1106 OLED Clock Line
GPIO 16 (D0)nRF24L01+ CEDigital OutputChip Enable for 2.4 GHz RF Radio
GPIO 15 (D8)nRF24L01+ CSN / IR TXSPI CS / PWM TXDual-role: SPI Chip Select / IR Transmit LED
GPIO 14 (D5)nRF24L01+ SCKHardware SPISerial Clock for RF Radio
GPIO 12 (D6)nRF24L01+ MISOHardware SPIMaster In Slave Out for RF Radio
GPIO 13 (D7)nRF24L01+ MOSIHardware SPIMaster Out Slave In for RF Radio
GPIO 0 (D3)IR Demodulator RXDigital Input38 kHz Active Infrared Demodulator
A0 (ADC0)6-Button KeypadAnalog VoltageAnalog 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.
  • EEPROM Emulation Segment (4,096 bytes):
    • Stores WiPhi offline captured credentials, button calibration thresholds, and system boot counters safely across power cycles.