Read the itron 100g dl gas meter

pantonvich:
so the meter - if you look closely you can see the gear that rotates in the attached pictures I could not see this.What does the IR beam do . Is it cut by the gear moving? I take it you have nothing inside the meter so how are your devices positioned
I used the RadioShack Emitter and Detector #276-0142 set and some pvc and duck tape (to block the sun light and to hold it in place)Its "duct" tape I think .How does this keep out the sunlight though?
here's the meat of the code
because it get's full on sun I use filters for the cross over counts Could you explain this a bit more please?