Weird Technology

A blog on technology

Connecting a CC2500 2.4 GHz RF Transceiver to an ESP8266

I would like to control my Philips LivingColors 1st generation from Home Assistant. To make this possible I need to be able to communicate with the light. The LivingColors 1st generation uses a CC2500 2.4 GHz RF Transceiver for the communication between the remote control to the light. Some other smart people have already worked out how the communication protocol works, however a really decent way to integrate the light in Home Assistant is not yet available. There’s thus still some work to do.

Wiring the CC2500 module

I decided to connect a CC2500 module to an ESP8266 and then use ESPHome to integrate the light into Home Assistant. First I’m wiring the CC2500 to a ribbon cable with attached DuPont connectors. The ribbon cable barely fits the pitch of the pads on the CC2500 module, but to my own surprise the soldering worked out very well. I added some hot glue to enforce the connection and add some insulation.

Wiring the ESP8266

CC2500ESP8266
GNDG
VDD3V
SID7/GPIO13
SCLKD5/GPIO14
SOD6/GPIO12
GD02
GDO0
CSnD8/GPIO15

And the end result looks like this:

Testing

To test the resulting installation I used this piece of code, which unfortunately is only documented in German. I managed to decipher the workings, and I managed to have my Philips LivingColors remote to be recognised and have it change the colour of my light. Great succes!

ESPHome configuration

To set up this CC2500 module in ESPHome I needed to place a top-level SPI component which defines the pins to use for the SPI bus. Since there is no CC2500 component for ESPHome yet that will be the next thing I’m going to dive into.

esphome:
  name: cc2500

esp8266:
  board: nodemcu

# Enable logging
logger:
  level: DEBUG

spi:
  clk_pin: GPIO14
  mosi_pin: GPIO13
  miso_pin: GPIO12Code language: YAML (yaml)

Posted

in

, ,

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *