Skip to content

Texas Instrumants CC2500 Low-Power 2.4 GHz RF Transceiver external component for ESPHome.

License

Notifications You must be signed in to change notification settings

BOlaerts/esphome-cc2500

 
 

Repository files navigation

Texas Instruments CC2500 Low-Power 2.4 GHz RF Transceiver component for ESPHome.

GitHub Release Licence Maintainer
Github Sponsors PayPal BuyMeCoffee Patreon

Introduction

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.

Hardware required:

  • ESP8266, ESP32 or other ESPHome supported microcontroller
  • CC2500 transceiver

Wiring:

CC2500 ESP8266
GND G
VDD 3V
SI D7/GPIO13
SCLK D5/GPIO14
SO D6/GPIO12
GDO2 D1/GPIO5
GDO0
CSn D8/GPIO15

Configuration variables:

  • 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 example configuration:

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

Documentation:

Texas Instruments CC2500 datasheet

Credits:

Tor Røttum's IKEA Ansluta ESPHome component was very helpful for making this component.

Support my work

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:

Github Sponsors PayPal BuyMeCoffee Patreon

Hire me

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.

About

Texas Instrumants CC2500 Low-Power 2.4 GHz RF Transceiver external component for ESPHome.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.4%
  • Python 8.6%