Other Parts Discussed in Thread: Z-STACK
I'd like to communicate between TWO cc2530s after getting the value of ADC?
so I need the example of adc and rf communication.
I can't find in the zstack 3.0.
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.
You can refer to https://sunmaysky.blogspot.com/2013/12/cc2530-adc-howto-in-ti-z-stack.html?m=1 for CC2530 ADC reading. For sending the readings, you can use ZCL cluster/attribute to send related data.
Hi Edan,
There are resources in SWRC135\source\components\radios\cc2530\adc.c and Z-Stack 3.0.2\Components\hal\target\CC2530EB\hal_adc.c, thus you would integrate this functionality into a Z-Stack application example as described by YK. Z-Stack 3.0.2\Documents\Z-Stack 3.0 Sample Application User's Guide.pdf
Regards,
Ryan
There are temperature sensor and thermostat application examples from Z-Stack 3.0.2\Projects\zstack\HomeAutomation that you can reference. They use placeholders for temperature measurements, but this is an example of where ADC measurements could be taken and reported through Zigbee.
Regards,
Ryan
For CC2530 fundamental software examples, you can refer to CC2530 Software Examples User's Guide and download example from here.
Yes I already had read all about the CC2530 manual.
I just want a paper but they give a big book.
of course I can find in it. and I have to mix several source. and then conflict something.
So a big book is no better than a paper.
The CC2530 fundamental software examples give you fundamental per test and light-switch examples so you can revise it to serve your application to send ADC if you don't wan to use Z-Stack. If that's not what you want, you might need to read user guide and datasheet to write application by yourself.