Geigercounter with ESPHome


2 min read
Geigercounter with ESPHome

I had this Geiger counter DIY Kit for Arduino laying around for a long time and decided to connect it to my Home Assistant installation using ESPHome.

I'm using a Wemos D1 mini, even though the counter works at 5V and the IO pins accept a max. voltage of 3.2V it works and hasn't damage the input. (disclaimer)

Connect the pins as follows:

Wemos D1 Geigercounter
GND GND
5V 5V
D2 (GPIO4) INT
esphome:
  name: <YOURPLUGNAME>
  platform: ESP8266
  board: esp01_1m

wifi:
  ssid: "<WIFISSID>"
  password: "<WIFIPASSWORD>"

# Enable logging
logger:

# Enable Home Assistant API
api:
  password: "<YOURPASSWORD>"

ota:
  password: "<YOURPASSWORD>"

sensor:
  - platform: pulse_counter
    pin: GPIO4
    name: "Geiger Counter"
    update_interval: 15s

Above the code for the ESPHome node, after compile and upload, auto discover it using integrations and define a Lovelace entry like so:

              - type: entities
                entities:
                  - entity: sensor.geiger_counter

Resources:

Geiger Counter Radiation Detector DIY Kit Arduino Compatible ver. 3.00 w/o GM Tube
Radiation Detector DIY Kit ver. 3.00 The third edition of our Nuclear Radiation DIY Detector Kit. Arduino compatible kit. Easy assembly for beginners. Support many popular 400V and 500V Geiger Tubes. The kit has several improvements in compare to previously sold second editions. The package comes w…

https://wiki.wemos.cc/products:d1:d1_mini

Related Articles

Docker Monitor sensor for Home Assistant
2 min read
ESPHome revised AKA native API
2 min read

Home Assistant Custom Components

You can find my custom components here: https://github.com/cyberjunky/home-assistant-custom-components

1 min read

GO TOP