Gist: https://gist.github.com/mappingvermont/d04a09258ecb0dc82eb170ef7129aa4a To update:
gh gist edit d04a09258ecb0dc82eb170ef7129aa4a
A sealed rubber air tube laid across a bike lane acts as a pressure sensor. When a bike tire rolls over it, it compresses the tube and creates a brief pressure spike at the sealed end. An electronic sensor detects this spike and counts it. Each bike produces two pulses (front and rear wheel) in quick succession.