This CC2500 component for ESPHome controls the CC2500 transeiver for sending and receiving data using a compatible receiver. Other components that depend on the CC2500 component can reference it.
To set up this CC2500 component you first need to place a top-level SPI component which defines the pins to use.
- ESP8266, ESP32 or other ESPHome supported microcontroller
- CC2500 transceiver
CC2500 | ESP8266 |
---|---|
GND | G |
VDD | 3V |
SI | D7/GPIO13 |
SCLK | D5/GPIO14 |
SO | D6/GPIO12 |
GDO2 | D1/GPIO5 |
GDO0 | |
CSn | D8/GPIO15 |
- cs_pin (Required): The pin to use for the chip select of the SPI bus.
- gdo2_pin (Optional): The ESP pin the CC2500 GDO2 pin is connected to.
- output_power (Optional): The output power signals should be transmitted with.
esphome:
name: cc2500
external_components:
- source: github://rrooggiieerr/esphome-cc2500
esp8266:
board: nodemcu
# Enable logging
logger:
level: DEBUG
spi:
clk_pin: GPIO14
mosi_pin: GPIO13
miso_pin: GPIO12
cc2500:
cs_pin: GPIO15
gdo2_pin: GPIO5
output_power: 0xFF
Texas Instruments CC2500 datasheet
Tor Røttum's IKEA Ansluta ESPHome component was very helpful for making this component.
Do you enjoy using this ESPHome component? Then consider supporting my work using one of the following platforms, your donation is greatly appreciated and keeps me motivated:
If you're in need for a freelance ESP developer for your project please contact me, you can find my email address on my GitHub profile.