armghan11
Member level 1
- Joined
- Oct 9, 2012
- Messages
- 41
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,557
Saving latest two samples of ADC readings....
I am working on a non intrusive load monitoring system i want my micro controller to reads the analogue input of the ADC then this input is normalized to remove the values in points because the micro controller cannot store values which are after decimal point. So to save important information being discarded the values are multiplied by 100. after that i want micro controller keeps the latest two samples. After normalization of the sample, it is subtracted from the previous sample. If the difference is positive, it show it on LCD.
I am attaching a flow chart below it might help you... i want help in saving samples of adc... i work on ccs c compiler
I am working on a non intrusive load monitoring system i want my micro controller to reads the analogue input of the ADC then this input is normalized to remove the values in points because the micro controller cannot store values which are after decimal point. So to save important information being discarded the values are multiplied by 100. after that i want micro controller keeps the latest two samples. After normalization of the sample, it is subtracted from the previous sample. If the difference is positive, it show it on LCD.
I am attaching a flow chart below it might help you... i want help in saving samples of adc... i work on ccs c compiler
Attachments
Last edited: