Code Monkey home page Code Monkey logo

erdfeuchtemessung's People

Contributors

zentris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

erdfeuchtemessung's Issues

Minimalismus

Wie wäre es mit paar minimalistischen Code Beispielen?

Ramser Gieß-o-Mat Sensor an einem gewöhnlichen Arduino mit leuchten einer LED wenn Erde zu trocken.

Ramser Gieß-o-Mat Sensor an einem gewöhnlichen Arduino und einer LCD welche Feuchtigkeit anzeigt.

Ramser Gieß-o-Mat Sensor an einem 8266 ESP der eine Email sendet wenn Erde zu trocken

Vermutlich für die meisten ausreichend statt der ganze Kram mit SQL und Wasserpumpen etc.

Finalise comment function and activate it

  • create a http rest interface for receive the log messages

  • extend the http server for this interface

  • modifiy the logging routine in sketch

  • test funktions

  • release the logging function

Working.

I've got the first board soldered up and now running some test code. I took your functions to read the interrupt and calculate the average and I transmit this result over MQTT to my broker and then into NodeRed and then into an InfluxDB database. Then the data is presented using Grafana.

The probe design I have varies from about 92kHz in the dry air to 2kHz in a glass of water. I'm going to do some more long term tests on this design now but I just wanted to let you know that the code is working for me. Once I've cleaned it up a bit I will put it on my GitHub account.

20170323_214341
20170323_214257
screenshot from 2017-03-25 16-11-11

Any idea why I might be getting this error during compilation?

I am very interested in your code to make the ESP into a frequency counter ;-)

I have compiled a few sketches before but I don;t really understand this. "sensors" is not defined outside of any of these functions...

"/home/alanlord/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-I/home/alanlord/bin/arduino-1.6.12/hardware/esp8266com/esp8266/tools/sdk/include" "-I/home/alanlord/bin/arduino-1.6.12/hardware/esp8266com/esp8266/tools/sdk/lwip/include" "-I/home/alanlord/bin/arduino-1.6.12/hardware/esp8266com/esp8266/tools/sdk/libc/xtensa-lx106-elf/include" "-I/tmp/arduino_build_96324/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10612 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_ESP01" -DESP8266 "-I/home/alanlord/bin/arduino-1.6.12/hardware/esp8266com/esp8266/cores/esp8266" "-I/home/alanlord/bin/arduino-1.6.12/hardware/esp8266com/esp8266/variants/generic" "-I/home/alanlord/Arduino/libraries/Streaming" "-I/home/alanlord/bin/arduino-1.6.12/hardware/esp8266com/esp8266/libraries/ESP8266WiFi/src" "-I/home/alanlord/bin/arduino-1.6.12/hardware/esp8266com/esp8266/libraries/ESP8266HTTPClient/src" "/tmp/arduino_build_96324/sketch/freq-counter.ino.ino.cpp" -o "/tmp/arduino_build_96324/sketch/freq-counter.ino.ino.cpp.o"
/home/alanlord/Personal/Projects/polytunnel-sensing-project/esp-code/arduino/zentris/freq-counter.ino/freq-counter.ino.ino: In function 'void saveData2ThingsSpeak()':
freq-counter.ino:571: error: 'sensors' was not declared in this scope
for (unsigned int sensor=0; sensor < sizeof(sensors)/sizeof(struct mySensor); sensor++) {
^
/home/alanlord/Personal/Projects/polytunnel-sensing-project/esp-code/arduino/zentris/freq-counter.ino/freq-counter.ino.ino: In function 'void setup()':
freq-counter.ino:699: error: 'sensors' was not declared in this scope
for (unsigned int i=0; i < sizeof(sensors)/sizeof(struct mySensor); i++) {
^
/home/alanlord/Personal/Projects/polytunnel-sensing-project/esp-code/arduino/zentris/freq-counter.ino/freq-counter.ino.ino: In function 'void loop()':
freq-counter.ino:733: error: 'sensors' was not declared in this scope
for (unsigned int sensor=0; sensor < sizeof(sensors)/sizeof(struct mySensor); sensor++) {

thingspeak Server

Hallo,
beim Kompelieren, kommt dieser Fehler:

privats.h:68: error: invalid conversion from 'const char*' to 'unsigned int' [-fpermissive]

tsData thingSpeakServer[] = { (tsData) {"api.thingspeak.com", "184.106.153.149", "DW45DFG525GBT25T", "01"}

Das ist natürlich nur der ausgedachte Key, der da steht
Ich finde den Fehler einfach nicht
ich wäre um ein Hinweis dankbar.

Gruß

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.