From 20d0f3c4fcde77be9bebc667d02f2a932ad73063 Mon Sep 17 00:00:00 2001 From: schinken Date: Thu, 24 Dec 2015 20:12:17 +0100 Subject: [PATCH] Change settings; Add more README --- GeigerCounter.ino | 1 - README.md | 14 ++++++++++++++ settings.h | 4 ++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/GeigerCounter.ino b/GeigerCounter.ino index f14adb5..25b987a 100644 --- a/GeigerCounter.ino +++ b/GeigerCounter.ino @@ -4,7 +4,6 @@ #include #include "settings.h" -#include "wifi.h" WiFiClient wifiClient; PubSubClient mqttClient; diff --git a/README.md b/README.md index 9a2628f..b88f1f6 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,17 @@ Here's some code and schematic to connect your mightyohm.com geiger counter to t ![Schematic](https://raw.githubusercontent.com/b4ckspace/esp8266-geigercounter/master/schematic.png "How to connect") +## compile + +To compile this code, just clone or download the master branch as a zip and ramp up your arduino library. For this code to work, you need the SimpleTimer-library (http://playground.arduino.cc/Code/SimpleTimer#Download) and the ESP8266 added to your Arduino-IDE as a board (https://github.com/esp8266/Arduino, see install instructions) + +## settings + +For the code to work, you need to adjust the settings in the settings.h file. + +## license and credits + +This code is under MIT license (Christopher Schirner ) +The geiger counter is used at our hackerspace in bamberg (https://hackerspace-bamberg.de) + + diff --git a/settings.h b/settings.h index cbc3be1..3118e71 100644 --- a/settings.h +++ b/settings.h @@ -15,8 +15,8 @@ #define BAUD_GEIGERCOUNTER 9600 -//const char* ssid = "yourSSID"; -//const char* password = "----"; +const char* ssid = "yourSSID"; +const char* password = "----"; #define MQTT_TOPIC_CPM "sensor/radiation/cpm" #define MQTT_TOPIC_USV "sensor/radiation/uSv"