This is a geiger counter Built on M5Stack
Connect to M5STACK_SETUP wifi network
Go to 192.168.4.1 on your device
And Voila
For now it counts the A button presses
By using, downloading, adapting in any shape or form this project, you agree to CC By Sa . This work is licensed under the same license.
To put your own trigger to count radiation, replace the M5.BtnA.isPressed() with your own value in (line 112)
if (M5.BtnA.isPressed()) {
if (flag_tick) {
signalHandler();
flag_tick = false;
}
} else {
flag_tick = true;
}
The M5.BtnB.isPressed() is the button that resets the accumulation
if (M5.BtnB.isPressed()) {
if (flag_null) {
nullRad();
flag_null = false;
}
} else {
flag_null = true;
}