spenceraxani / CosmicWatch-Desktop-Muon-Detector-v2

The CosmicWatch Desktop Muon Detector supplementary material
246 stars 76 forks source link

Old Code works, V2 doesn't #38

Open ninjawarrior821 opened 5 years ago

ninjawarrior821 commented 5 years ago

Hey, As the title states, your older code seems to work with count rates around 0.09Hz. I know this is rather low, but I don't recall adding light paste. The annoying thing is switching to V2, it claims there's one count whenever I reboot, but never catches anymore. Oscilloscope readings show numerous peaks ranging from 30mV (trigger) to >100mV. Was there some change in the circuitry between the two iterations? Do I need to update the modules in the code? (not 1.0.2, 1.0.1, etc.)

Last time I checked, all the test points are reporting as intended.

image With new code.

spenceraxani commented 5 years ago

Hi,

Did you build version 1 or version 2? They are separate detectors. The changes were:

If you built V1, then the V2 code will not work due. Likewise in reverse. Whichever detector you built, you should stick to that GitHub repository.

Since you see pulses on the oscilloscope when connected to the BNC connection, it means that your DC Booster and SiPM PCB are working. If your detector isn’t counting then there’s a problem downstream of the SiPM PCB — somewhere in the amplification, peak detection circuit, or connection to the Arduino.

The threshold of the detector in V2 is set to 50ADC counts, which corresponds to a SIPM voltage of about 15mV. If you’re threshold on your scope is set to 15mV you should see the detector trigger (LED flashes and registers a count) every time the scope triggers (or close to every time). This will be the case even if you do not have optical gel coupling. If you do not see this, then this is also an indication that there is something wrong with your circuit.

Thanks,

Spencer

On Jan 14, 2019, at 4:29 PM, ninjawarrior821 notifications@github.com wrote:

Hey, As the title states, your older code seems to work with count rates around 0.09Hz. I know this is rather low, but I don't recall adding light paste. The annoying thing is switching to V2, it claims there's one count whenever I reboot, but never catches anymore. Oscilloscope readings show numerous peaks ranging from 30mV (trigger) to >100mV. Was there some change in the circuitry between the two iterations? Do I need to update the modules in the code? (not 1.0.2, 1.0.1, etc.)

Last time I checked, all the test points are reporting as intended.

https://user-images.githubusercontent.com/45909524/51145317-78bab480-1821-11e9-8978-6f16495d71dc.png With new code.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/spenceraxani/CosmicWatch-Desktop-Muon-Detector-v2/issues/38, or mute the thread https://github.com/notifications/unsubscribe-auth/ABpeu4fkKEz9I6eTuUSnPXeASxT8dlGSks5vDQS4gaJpZM4Z_3yk.

ninjawarrior821 commented 5 years ago

Yep, I think I'm running the V1 detector. I feel dumb. Thank man.