Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/01/08 15:23
Read: times


 
#152835 - All data is keep in eeprom
Responding to: ???'s previous message
Each iteration through the main function block forces a read from the ADC data buffer to see if there has been any changes and is compared to the current eeprom value and a decision is made to take action or not.

This of course is after the adc is sampled 32 times, but at a clock divisor of 8 is around 920KHz (no external xtal, default speed I believe is 7.323Mhz), I am sampling way to fast to get the proper quantitive reading and actually chasing the noise at around 1us which is 32us window, i think my sampling loop time needs to be delayed now that I think about it more......but the moving delta is a smart thing and should have realized that would yield a simple solution to discard junk from valid data. Does a time delay of 10ms sound right between each sample 32 sample and then average that?

List of 12 messages in thread
TopicAuthorDate
Adding hysteresis on top of my sampling            01/01/70 00:00      
   my method            01/01/70 00:00      
   For this to work...            01/01/70 00:00      
      adaptive delta ... ?            01/01/70 00:00      
      All data is keep in eeprom            01/01/70 00:00      
         What does the oscilloscope tell you?            01/01/70 00:00      
         not a good ides            01/01/70 00:00      
   Median filter ?            01/01/70 00:00      
   are you using an RC low pass before the ADC?            01/01/70 00:00      
      check here            01/01/70 00:00      
      Found a minor issue in hardware...not dealbreaker            01/01/70 00:00      
   Low Pass Filter in Software            01/01/70 00:00      

Back to Subject List