You'll likely need to work with radio frequency in some projects using your Arduino, or any other development board or DIY circuit. If that's the case, you should know what the CC1101 radio frequency (RF) transceiver is . And that's what we'll try to explain in this article.
And with this new electronic component that joins our list , you'll be able to work with different signal frequencies…
What is RF?

Radio frequency (RF) refers to a portion of the electromagnetic spectrum used to transmit information through the air. RF waves are a type of electromagnetic radiation, and they are produced whenever electrical energy is transmitted through a conductor, such as a wire. The term RF applies to the least energetic portion of the electromagnetic spectrum, shown in the image above, which lies between 3 hertz (Hz) and 300 gigahertz (GHz).
Speed ​​of light = Wavelength · frequency
The speed of light (approximately 3.000.000 m/s) never changes, so as the wavelength of the RF signal increases, the frequency decreases proportionally and vice versa. A relatively high frequency RF signal has a short wavelength and a lower frequency RF signal has a longer wavelength. For this same reason, lower frequency signals are more penetrating or can cover greater coverage. For example, if you have 2.4 Ghz WiFi, it can reach further and cross barriers better compared to 5 Ghz WiFi, although the latter allows higher transmission speeds...
Electromagnetic waves in this region of the spectrum can be transmitted by applying alternating current from a generator to an antenna. Radio frequency waves , being electromagnetic waves, travel at the speed of light. In its most basic form, a varying electrical signal at an antenna can produce electromagnetic oscillations (i.e., RF waves). These can be unintentional (potentially causing interference with other devices) or intentional: carefully modulated signals that other antennas can receive and interpret as useful information.
Within this RF range, we can transmit data at high speed, for example, as is done in Wi-Fi and cellular communications, as well as in traditional AM and FM radio.
What is a transceiver?

A transceiver is a device that combines the capabilities of a transmitter and a receiver on shared circuits. This means it can send and receive signals without needing separate transmitters and receivers. This is quite practical for many DIY projects.
Transceivers can be of two general types : full-duplex and half-duplex. In a full-duplex transceiver, the device can transmit and receive simultaneously. A common example of a full-duplex transceiver is a mobile phone. On the other hand, a half-duplex transceiver mutes one part while the other transmits.
Transceivers are the cornerstone of wireless communication and are used in a variety of applications, from mobile phones to communications satellites, and many other networks and ways of transmitting information, such as for radio, TV, etc.
Applications of a transceiver
A radio frequency (RF) transceiver is a multifunctional device with a wide range of uses. For example, as I mentioned earlier, it is essential in various applications requiring wireless communication. In the field of mobile telecommunications, transceivers are used in mobile phones for transmitting and receiving signals. They are also crucial in technologies like Wi-Fi and Bluetooth, deployed in devices such as routers, computers, and Internet of Things (IoT) devices, which rely on wireless communication to function.
In professional settings, RF transceivers are essential in two-way radio systems , such as those used in professional applications, security, and emergency services. These devices are also used in detection systems, such as radars for object detection, navigation, and air traffic control, as well as in sonar systems for underwater applications.
Broadcasting , both radio and television, relies on RF transceivers to transmit signals through various media, whether terrestrial or satellite. Furthermore, in the space sector, transceivers are crucial for communication between satellites and ground stations in satellite communication systems.
In remote control and telemetry applications , RF transceivers are used to transmit data from electronic devices, drones, or unmanned aerial vehicles (UAVs). They are also essential in navigation systems, such as GPS receivers, where they contribute to location determination and navigation. In short, the versatility of RF transceivers makes them essential components in a variety of modern technologies that rely on wireless communication and data transmission.
Obviously, there are some of these applications that are not within the reach of the CC1101, since it has its limitations and operates in certain frequency ranges. However, you should know that there are more devices on the market like this transceiver to work with other frequencies, distances, etc.
What is CC1101?

The CC1101 is a radio frequency (RF) transceiver designed to operate at frequencies below 1 GHz. This device can be used with a processor such as an Arduino to send or receive data via radio frequency. The CC1101 can operate at any frequency within the following bands:
- 300 to 348 MHz
- 387 to 464 MHz
- 779 to 928 MHz
These features make the CC1101 a versatile choice for a variety of projects requiring wireless communication , including Arduino and ESP8266/ESP321 projects, and other electronics projects within the realm of long-distance communications.
Furthermore, the CC1101 allows you to adjust the bit rate for different uses, enabling higher transmission speeds from 0.6 Kbps to 600 Kbps. It also supports 2-FSK, GFSK, and MSK3 modulation.
If you're interested, you can find it in specialized electronics stores, or also on online sales platforms like Amazon, AliExpress, and eBay. Here's a purchase recommendation :
The output power is also programmable, for all supported frequencies up to +10 dBm. The range is up to 100-150 meters , depending on the frequency. It requires a voltage of 1.8 to 3.6V for operation. Data communication is via the SPI bus, making it easy to use with a microcontroller (MCU) or boards like Arduino.
Using the CC1101 with Arduino
Now that you understand what the CC1101 is, using it with Arduino is easy. First, you need to correctly connect the RF device or module to your development board. Be careful, as the CC1101 does not tolerate 5V and you could damage it. Therefore, it won't connect to the Arduino's 5V pin like many other devices. The correct connection for proper operation is as follows:
- Vcc: it will be connected to the Arduino 3v3 in order to have this socket, if it does not have it and you only have 5v, then you will have to connect it to a battery or external source that can supply that voltage or the CC1101 will be damaged.
- SI: It will be connected to the Arduino SCK, which can change pin depending on the model, but which is generally D13.
- SO: In this case it will be connected to GO2, which is usually the D12 pin of the Arduino.
- CSN: you have to take it to the GO0 pin, which is D9 of the Arduino.
- GND: and finally, GND will be connected to GND of the Arduino or your power supply.
Once that's done, it's time to write the code to test it in the Arduino IDE. Here's a very basic example, which you can modify to your liking. In this case, the CC1101 will be operating as an RF signal receiver :
#include <ELECHOUSE_CC1101_SRC_DRV.h>
void setup(){
Serial.begin(9600);
if (ELECHOUSE_cc1101.getCC1101()){ // Comprobar la conexión SPI del CC1101.
Serial.println("Connection OK");
}else{
Serial.println("Connection Error");
}
ELECHOUSE_cc1101.Init(); // Inicializa el CC1101
ELECHOUSE_cc1101.setCCMode(1); // Configuración del modo de transferencia interna.
ELECHOUSE_cc1101.setModulation(0); // Modulación: 0 = 2-FSK, 1 = GFSK, 2 = ASK/OOK, 3 = 4-FSK, 4 = MSK.
ELECHOUSE_cc1101.setMHZ(300,15); // Pon la frecuencia que quieras usar para la transmisión (por defecto es 433,92 Mhz)
ELECHOUSE_cc1101.setSyncMode(2); // Modo de sync: 0 = No preamble/sync. 1 = 16 sync word bits detected. 2 = 16/16 sync word bits detected. 3 = 30/32 sync word bits detected. 4 = No preamble/sync, carrier-sense above threshold. 5 = 15/16 + carrier-sense above threshold. 6 = 16/16 + carrier-sense above threshold. 7 = 30/32 + carrier-sense above threshold.
ELECHOUSE_cc1101.setCrc(1); // 1 = CRC calculado en TX y comprobación CRC en RX habilitada. 0 = CRC deshabilitado en TX y RX.
Serial.println("Rx Mode");
}
byte buffer[61] = {0};
void loop(){
//Comprueba si se ha recibido algo en un tiempo marcado por (time in millis)
if (ELECHOUSE_cc1101.CheckRxFifo(100)){
if (ELECHOUSE_cc1101.CheckCRC()){ //Prueba CRC. Si "setCrc(false)" CRC devuelve un OK siempre.
Serial.print("Rssi: ");
Serial.println(ELECHOUSE_cc1101.getRssi());
Serial.print("LQI: ");
Serial.println(ELECHOUSE_cc1101.getLqi());
int len = ELECHOUSE_cc1101.ReceiveData(buffer);
buffer[len] = '\0';
Serial.println((char *) buffer);
for (int i = 0; i < len; i++){
Serial.print(buffer[i]);
Serial.print(",");
}
Serial.println();
}
}
}
The CC1101 operating as an RF signal transmitter has a code similar to the one above.
Table of Contents