TychoNano

Forum Replies Created

Viewing 15 posts - 361 through 375 (of 553 total)
  • Author
    Posts
  • in reply to: Tag 18 keine werte #1795
    fk
    Keymaster

    Hallo,

    handelt es sich um das aktuelle Programm von der Webseite?

    Und die einfachste Möglichkeit wäre, dass die falschen Pins erwischt wurden.

    in reply to: Tag 14 #1797
    Larry
    Participant

    Ja hab ich. Hab es gerade sogar nochmal versucht. Es kommt immer das Gleiche.
    Ich muss doch nur mein Wlan, Passwort und Token eintragen. Mehr nicht oder??

    in reply to: (Deutsch) Sonstiges #1800
    arduinowallah
    Participant

    Wenn ich mein WordPress konto verändern möchte, erhalte ich:

    Fatal error: Call to undefined function do_settings_sections() in /homepages/0/d450562774/htdocs/clickandbuilds/ConradAdventskalender2015/wp-content/themes/brickyard-premium/functions/fe/wp-display-header/wp-display-header.php on line 246

    Am Ende der Seite.

    in reply to: Tag 14 #1806
    Larry
    Participant

    Hier nochmal alle Daten und das Programm

    Hier bleibt es hängen “timer.setInterval(500L, getTemp);”
    und bei “double currValue = Thermistor(analogRead(A0)); //Convert to C !!! Pot: round((x*10)/10)”

    Arduino 1.6.13
    Windows 10

    Programm:

    /*
    Blnky10: NTC-Sensor
    Change ssid, password, token and email
    */

    char ssid[] = “XXXXXXXXX”;
    char password[] = “XXXXXXXXXXX”;
    char token[] = “XXXXXXXXXXXXX”;

    char email[] = “XXXXXXXXXXXXXXX”;
    char subject[] = “TemperaturSummary”;

    #define BLYNK_DEBUG
    #define BLYNK_PRINT Serial // Comment this out to disable prints and save space
    #include <ESP8266_SoftSer.h>
    #include <BlynkSimpleShieldEsp8266_SoftSer.h>
    #include <SimpleTimer.h>

    #include <TimeLib.h>

    // Set ESP8266 Serial object
    #include <SoftwareSerial.h>
    SoftwareSerial EspSerial(11, 12); // RX, TX

    ESP8266 wifi(EspSerial);
    SimpleTimer timer;

    //init max min value (0 makes no sense)
    double tempMax = – 273;
    double tempMin = +200;
    bool autoSend;

    void setup()
    {
    // Set console baud rate
    Serial.begin(19200);
    EspSerial.begin(19200);

    Blynk.begin(token, wifi, ssid, password);
    //timer for temp measure
    timer.setInterval(500L, getTemp);
    }

    void loop()
    {
    Blynk.run();
    timer.run(); //Call timer (other than normal timers)
    }

    BLYNK_CONNECTED() {
    Blynk.syncVirtual(V5); //sync email auto send state
    }

    void getTemp() { //get temp, convert to C and send
    double currValue = Thermistor(analogRead(A0)); //Convert to C !!! Pot: round((x*10)/10)

    if (currValue < tempMin) {
    tempMin = currValue;
    }
    if (currValue > tempMax) {
    tempMax = currValue;
    }

    Blynk.virtualWrite(V0, currValue);
    Blynk.virtualWrite(V1, currValue);
    Blynk.virtualWrite(V3, tempMin);
    Blynk.virtualWrite(V2, tempMax);
    }

    double Thermistor(int RawADC) {
    //Source: http://playground.arduino.cc/ComponentLib/Thermistor2
    double Temp;
    Temp = log(10000.0 * ((1024.0 / RawADC – 1)));
    // =log(10000.0/(1024.0/RawADC-1)) // for pull-up configuration
    Temp = 1 / (0.001129148 + (0.000234125 + (0.0000000876741 * Temp * Temp )) * Temp );
    Temp = Temp – 273.15; // Convert Kelvin to Celcius
    // Temp = (Temp * 9.0)/ 4.7 + 32.0; // Convert Celcius to Fahrenheit
    return Temp;
    }

    void sendSummary() { //send email summary
    String msg = “Tempertur Summary:\nCurrent Temperatur: ” + String(Thermistor(analogRead(A0))) + ” C\n\nMax. Temp: ” + String(tempMax) + “C \n\nMin. Temp: ” + String(tempMin) + “C \n”;
    Blynk.email(email, subject, msg);
    }

    BLYNK_WRITE(V6) { //Timer Send
    if (autoSend) {
    sendSummary();
    }
    }

    BLYNK_WRITE(V4) { //Button Send
    sendSummary();
    }

    BLYNK_WRITE(V5) { //config email send
    autoSend = param.asInt();
    }

    DANKE

    • This reply was modified 7 years, 9 months ago by Larry.
    in reply to: Tag 14 #1808
    Yogi
    Participant

    Hallo Larry,

    schau mal in die Fragen vom Tag14. Da habe ich eine Lösung reingestellt, nur durch ‘umsortierung’ des Codes

    gut blynk
    Yogi

    in reply to: Advent Calender 2016 #1809
    arduinowallah
    Participant

    Hallo,

    wenn ich die NanoESP-Library verwende, die hier auf der Einführungsseite verlinkt ist, erhalte ich mit jeder Kompilierung eine ganze Latte an Warnmeldungen, die alle beginnen mit:
    Arduino/libraries/NanoESP-1.1/NanoESP_MQTT.cpp:xxx:xx: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    und

    `Arduino/libraries/NanoESP-1.1/NanoESP_HTTP.cpp:33:43: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]’

    Ich verwende die Arduino-Umgebung 1.6.13 unter Linux.

    in reply to: Tag 14 #1810
    Larry
    Participant

    Vielen dank,
    es hat funktioniert.
    Schönes WE noch

    in reply to: WLAN-Modul ausschalten zum Stromsparen #1813
    Leon
    Participant

    Hi,

    Danke fk, ich werde mal mit dem Befehl rumexperimentieren, vielleicht ist das genau das, was ich gesucht habe.

    in reply to: 17.Tag 'Error WLAN Connect' #1814
    kub0185
    Participant

    Hi,
    also ich bekomme keine Verbindung hin.

    Das sehe ich in der Seriellen Konsole. Bisher hat das mit der Verbindung immer hingehauen. Hat einer eine idee wie man die Fehlerursache ingrenzen kann?

    Error WLAN Connect
    TCP Server Error

    no connection ntp server
    No time request send
    Date: 1.1.1970
    Time: 00:01:27
    Date: 1.1.1970
    Time: 00:02:0

    VG
    Jürgen

    in reply to: TCP Server #1815
    Detlef
    Participant

    kann das was mit dem Port 80 zu tun haben, den der Befehl ja anspricht? Wie kann ich das prüfen? Kann ich einen anderen Port testen?

    in reply to: TCP Server #1816
    paulaner
    Participant

    Ich kann dir da nicht wirklich helfen, aber ich denke über den ‘Monitor’ und mit den AT-Befehlen kannst du den Fehler einkreisen.
    Welche Hard- Software verwendest du?
    Hattest du schon ein Verbindung per Wifi von deinem ‘NanoESP’ und Netzwerk?

    in reply to: Advent Calender 2016 #1817
    Michel2016
    Participant

    Hallo zusammen,
    auf der Seite von Blynk habe ich dazu nichts gefunden. Man kann ja zusätzlich Blynk-Energie kaufen. Ist das für einen Monat, Woche, Tag?

    Gruß
    Michael

    in reply to: wie lange hält gekaufte Blynk Energie? #1818
    arduinowallah
    Participant

    Hi,
    wo hast Du denn davon gelesen?

    Arduinowallah

    in reply to: wie lange hält gekaufte Blynk Energie? #1819
    Michel2016
    Participant

    das ist es ja ich habe dazu nichts gelesen, deshalb meine Frage. Wenn ich z.B ein 5000 Energie Pack kaufen würde, habe ich das dann für immer?

    Gruß
    Michael

    in reply to: wie lange hält gekaufte Blynk Energie? #1821
    paulaner
    Participant

    Ich habe 5000 dazu gekauft und ich hoffe es ist für immer.
    Bis jetzt ist sie noch da.

    Widget Box -> +Add

Viewing 15 posts - 361 through 375 (of 553 total)