SparkFun Forums 

Where electronics enthusiasts find answers.

All things pertaining to wireless and RF links
By kirik
#31771
I have programmed CC1010 Chipcon evaluation module to sample a temperature, transmit it via wireless link to the next node and display on the PC screen. However, due to energy considerations I put module to the sleep mode. It should reman in sleep mode if temperature is constant and awake from sleep mode if temperature changes.

The idea is to use Analog to Digital converter to Generate system RESET if temperature changes.
Code: Select all
// ADC setup
halConfigADC(ADC_MODE_MULTI_RESETTING | ADC_REFERENCE_INTERNAL_1_25, CC1010EB_CLKFREQ, 25);
ADC_SELECT_INPUT(ADC_INPUT_AD1);
ADC_POWER(TRUE);
Reset should be generated if temperature exeeds value "25" however this doesnt work.

Maybe somebody have experienced similar problems and know how to use ADC to generate RESET while sampling a temperature?
Many thanx.