DANTHEELECTRICMAN
Electrical
- May 24, 2013
- 14
HELLO: WELL I HAVE SPENT MOST OF THE DAY READING ONLINE ARTICLES ABOUT CODING FOR A MEDIAN FILTER. EVEN TRIED AN EXAMPLE,STILL OVER MY HEAD...I HAVE A 22 BIT ADC FOR A CO2 SENSOR,OUTPUT IS IN P.P.M., SO AT 5% GAS OR (50,000 PPM IS WHAT I WILL DISPLAY),THE READING IS A LITTLE JUMPY. LIKE 50,130, 50,090, 50,000, 50,065...SO FORTH. I HAVE READ THAT A MEDIAN FILTER IS A GREAT WAY TO RID THE NOISE FROM THE DATA. ANYWAY I CAN USE SOME EXPERTISE EVEN A CODE EXAMPLE IN BASIC...EVEN A GOOD BOOK OR WEBSITE TO STUDY WITH EXAMPLES. ANY HELP UNDERSTANDING HOW TO CODE THIS WILL BE VERY APPRECIATED....THANK YOU.P.S. SEE THE LINK ATTACHED.