Help with Geiger counter program

Hi,
I'm working on a Geiger counter with Arduino as its brains. However I'm more of a hardware guy, so I have no idea even where to start on the program. I've made a flow chart of how I want the program to work.


Can anyone help me with this?

You are missing the most important parts for a hardware guy. What do you have and how are they all connected and powered? Cant even begin to think of a program until that is known.

Hi,
Have you Googled;

arduino geiger counter

Tom... :grinning: :+1: :coffee: :australia:

Can't write useful code until you know how everything is wired. If you have built the Geiger counter, please post a schematic diagram.

Hello

Here is an example for the left part of your chart t960529.ino - Wokwi Arduino and ESP32 Simulator

Sorry for not including the schematic, here it is

Yes, I have, however, most of the results are about ready-made kits, and those who aren't don't have the functionality I need.

Hi,
Could you explain how this red marked part of your schematic will work?
Is an oscillator to produce the high voltage for the geiger tube?

Geiger

Oh, sorry, didn't notice that it wasn't connected. Yes, it is an oscillator, and at first, I wanted to drive it using NE555 in astable mode, but now I think that using the PWM function of Arduino would be more resource-effective.

Hi
FYI

Q2 is shown incorrectly connected. R2 goes to the base.

You're right, it was quite late when I transferred the schematic from paper, and I messed up a few things. Thanks for pointing this out! I'm attaching the corrected schematic (hopefully bug-free!)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.