Determine acquired signal slope
Hello:
I’m not sure as to where this post should me inserted so I ask the moderators to feel free to change the post insertion forum if they find it convenient.
I’m using msp430 launchpad and I’m acquiring a very slow rising signal. It takes up to 24h to go from zero to 5v. I’m sampling the signal in this way (it is just an example, timings may vary):
1 – I take 16 samples with a 1second interval and store the average value;
2 – The processor sleeps for 10 s and the process is repeated.
3 –After 1 minute I have six samples
4 - After 1 hour I have one array of 360 samples.
5 – I may go on…as after 10 hours I have 3600 samples…
How do I determine the signal slope? Any ideas?
I’m running on harvested energy so I must have a very efficient code but for now I just want to have ideas on how to determine the signal slope. By the way, it’s always a rising slope…
Tks for your time,
Pedro