I have found somewhere the following scheme for an arduino based geiger counter. (The arduino main purpose is to count the pulses from the tube) As far as I can understand it, the transistor would amplify the small current coming from the tube and the arduino would then detect a low logic level when a ionizing radiation is passing. My doubt is about the capacitor: why is it there? I have tried to build the circuit simulating the passage of radiation by pressing a button. I tried to remove the cap from the circuit too, and yet the detection is noticeably more accurate with the capacitor in. I guess it is because the capacitor is like a filter for "false pulses".Can someone please explain me the role C1?
The capacitor works as an output voltage stabilizer: a random short "firing" of the transistor doesn't discharge the capacitor much, and hence doesn't register as pulse.
It's there to stretch the pulses into something the arduino can see.
AVR microcontrollers can't reliably detect pulses shorter than one clock period.
the capscitor in combination with the pull-up resistor will stetch the pulses out to ballpark 100 microseconds which should be easily detectable.