This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530: CC253x that would modify the

Part Number: CC2530
Other Parts Discussed in Thread: CC2592, CC2531, Z-STACK, CC2652R, CC1352P

Hi,

I've seen we now can buy Ikea remote controllers with five buttons for cheap. The buttons though ave fixed meaning (on.off, change next/previous color, and luminosity +/-).
As a fun project and a way to learn about Zigbee, I wonder if I could write a custom firmware that would translate the commands by itself*.

My target setup would be :
-3 ikea tradfri five button remotes
-4 ikea tradfri led bulbs
-4 ikea outlet
-one button of a remote would control a group of bulb and/or outlet (probably all the "luminosity +" buttons of all remotes would on/off the same set)
-the central button of the remote would be an all-on/all-off

I started reading some documentation about Zigbee and have lot of questions :
-The tradfri system seems to use ZLL profile, which IIUC supports both coordinated and coordinator-less (touchlink) commissionning. Which one would make more sense ?
-I guess I should start with the default CC2530 coordinator firmware and add code to receive a command and emit a new one ? Or will one of the lightbulb already act a coordinator so I should start with a router / end device ?
-Is TI's "Z-STACK-3.0.2" the right place to start?
-The references to ZLL have apprently been removed from version 1.4 and from the wiki: is there an tutorial that would help me receive tradfri command, and resend them after I have translated them ? (and also being able to pair using either touchlink or any other method supported by tradfri ?)

Also, I think that in addition to a tradfri remote, outlet and lightbulb, tu begin with the tests I should buy:
-a CC2350 module with external antenna (or maybe CC2530F256 + PA (CC2592) with integrated antena for about the same price ?)
-a CC2351 module (or usb stick) to use as a sniffer for debugging
-a "CC Programmer"
Is this correct ?

Thank you,
Fabien.

* : Yes, I understand that the invested time would be realy huge compared to using existing exsiting gateways, but this choice is driven by:
-Personnal taste for frugality
-Wanting to be 100% sure nothing is sent to third parties and avoiding the ned for a brodband connection in secondary house
-Avoiding as much power consumption as possible
-Learning possibilities and fun

  • According to www.zigbee.org/.../ , it seems those Ikea devices are Zigbee 3.0 based. I suppose you can use TI Zigbee 3.0 Z-Stack version to form a Zigbee 3.0 network to communicate with those devices. By the way, CC2530 and CC2531 are old chips and don't have resource ful RAM/FLASH for Zigbee 3.0 applicaiton so I would suggest you to use CC2652R for your project. If you need PA to extend range, you can use CC1352P which is embedded PA for Zigbee application.
  • Hi,

    I agree with YK, using the CC2652R / CC1352P is recommended. The CC13x2/26x2 SDK is a good place to start, with a considerable number of examples.

    You're right, using a packet sniffer is extremely helpful (and often necessary) for debugging. A good tutorial on how to set up the sniffer is here.

    Regards,
    Toby