# Mightyohm.com Geigercounter connected to ESP8266

## getting started

To compile this code, just clone or download the master branch as a zip and ramp up your arduino IDE.

* Needed external dependencies are PubSubClient and optionally ArduinoOTA.
* Rename `settings.h.example` to `settings.h`
* Select Wemos D1 Mini clone in Platform


## how to connect the wires
Here's some code and schematic to connect your mightyohm.com geiger counter to the Internet of Things (IoT).

![Schematic](https://raw.githubusercontent.com/schinken/esp8266-geigercounter/master/images/schematic.png "How to connect")

*You can optionally connect PULSE to D2 of the Wemos D1 and enable PIN_PULSE to receive a mqtt event each count!*

## images

<p align="middle">
<img src="https://raw.githubusercontent.com/schinken/esp8266-geigercounter/master/images/img-1.jpg" width="32%">
<img src="https://raw.githubusercontent.com/schinken/esp8266-geigercounter/master/images/img-2.jpg" width="32%">
<img src="https://raw.githubusercontent.com/schinken/esp8266-geigercounter/master/images/img-3.jpg" width="32%">
</p>

## license and credits

This code is under MIT license (Christopher Schirner <mail+github@schinken.io>)


