RF & Embedded · C
CC1101_DRIVER: an ESP-IDF sub-GHz radio driver
What it is
The CC1101 is a low-cost sub-GHz transceiver from Texas Instruments. It handles the radio part of a link: modulation and demodulation, a packet engine, a small FIFO and an SPI control interface. It is not a microcontroller, so it does not run your application or decide what a payload means.
CC1101_DRIVER is an ESP-IDF C driver for that chip on an ESP32-S3. It configures the radio, sends and receives frames, and can switch between framed packets and a raw demodulator capture.
What you can use it for
- Read simple 315, 433 or 868 MHz remotes, buttons, door and window contacts, weather stations and utility sensors.
- Build a private low-power sensor link where Wi-Fi or Bluetooth range and power draw do not fit.
- Inspect an unfamiliar sub-GHz signal on a bench you control and look at its timing and encoding.
- Check, as part of an authorized assessment, whether a device uses a fixed code, a rolling code or only a CRC.
Architecture
CC1101 module
A sub-GHz radio front end with a modem, packet engine and antenna connection.
Microcontroller over SPI
Your board sets frequency, modulation and packet options, then reads or writes bytes.
Your application
Turns those bytes into a sensor reading, a remote command, a log entry or a test result.
Implementation
- An ESP-IDF C component targets the CC1101 on an ESP32-S3, with SPI configuration for frequency, modulation and packet options.
- Framed packet transmission and reception are separate from raw demodulator capture. The raw path captures digital pulse timing, not I/Q samples.
Security takeaways
- A valid CRC detects transmission errors. It does not prove who sent a frame or stop a replay; authentication belongs in the protocol.
- Only transmit on hardware and frequencies you own or are authorized to test, within your region's power and duty-cycle limits.
Scope and limitations
This is a research driver and console, not a certified radio product, and it is not an SDR or an arbitrary-protocol decoder. Performance and range are not claimed here; the README separates earlier hardware runs from later source changes.
Source references
Related articles
Related projects
modbus
Python Modbus CLI for reading, watching and testing industrial devices over network and serial transports, with a built-in simulator.
Updated Source on GitHub
RTSP_TO_HTTP
HiveHack @ CyberSea challenge pipeline: find an RTSP camera, convert the stream to HLS with FFmpeg and play it over HTTP in a smart TV browser.
Updated Source on GitHub