Git Product home page Git Product logo

Comments (4)

unseemlycoder avatar unseemlycoder commented on September 6, 2024

Hey @gohigher14,

This particular ino file you've referenced is designed to work with an ESP32xx based board. The header file your compiler is looking for is known as a watchdog timer (wdt). I've used it to reboot the microcontroller when WiFi connection is lost or reset, as there is no WiFi reconnection strategy implemented in this code base. You can checkout #11 (comment) for more info.

#24 has your 8266 based code with an R503 sensor. Do take a look! as might solve your issue. However, wdt is not implemented in #24.

For your ESP8266 based board, you have the option of removing the wdt and use the code (It will get stuck if you lose WiFi connection momentarily, as reconnection is not implemented) or you can replace the esp_task_wdt.h library with its 8266 equivalents (Example: https://techtutorialsx.com/2017/01/21/esp8266-watchdog-functions/).

Similarly,

Multiple libraries were found for "PubSubClient.h"
I believe you need to install the MQTT pubSub library from library manager.

Let me know if you need anything else. Thanks!

from fingerprint-mqtt.

unseemlycoder avatar unseemlycoder commented on September 6, 2024

In case you are using an FPM10A fingerprint scanner with your wemos d1 mini (ESP8266), please use the default code:
https://github.com/EverythingSmartHome/fingerprint-mqtt/blob/master/fingerprint-mqtt/fingerprint-mqtt.ino (No wdt)

from fingerprint-mqtt.

gohigher14 avatar gohigher14 commented on September 6, 2024

FPM10A fingerprint scanner

Hi,

Thanks for the help. I've installed the one you suggested in #24 . But now i'm getting lots of error reading from my scanner.
And this without touching my scanner . :)

Connected, IP address: 192.168.129.92
Configuring WDT...
Attempting MQTT connection...connected
Image taken
Image converted
Match!
Found ID #10 with confidence of 0
Image taken
Unknown error
Image taken
Image converted
Match!
Found ID #10 with confidence of 0
Image taken
Image converted
Did not find a match
Image taken
Unknown error
Image taken
Communication error
Image taken
Image converted
Match!
Found ID #10 with confidence of 0
Unknown error
Image taken
Image converted
Match!
Found ID #10 with confidence of 0
Image taken
Image converted
Did not find a match
Image taken
Image converted
Did not find a match
Image taken
Image converted
Did not find a match
Image taken
Image converted
Did not find a match
Image taken
Unknown error
Image taken
Communication error

from fingerprint-mqtt.

gohigher14 avatar gohigher14 commented on September 6, 2024

Hey @gohigher14,

This particular ino file you've referenced is designed to work with an ESP32xx based board. The header file your compiler is looking for is known as a watchdog timer (wdt). I've used it to reboot the microcontroller when WiFi connection is lost or reset, as there is no WiFi reconnection strategy implemented in this code base. You can checkout #11 (comment) for more info.

#24 has your 8266 based code with an R503 sensor. Do take a look! as might solve your issue. However, wdt is not implemented in #24.

For your ESP8266 based board, you have the option of removing the wdt and use the code (It will get stuck if you lose WiFi connection momentarily, as reconnection is not implemented) or you can replace the esp_task_wdt.h library with its 8266 equivalents (Example: https://techtutorialsx.com/2017/01/21/esp8266-watchdog-functions/).

Similarly,

Multiple libraries were found for "PubSubClient.h"
I believe you need to install the MQTT pubSub library from library manager.

Let me know if you need anything else. Thanks!

Can you help me out with replacing the esp_task_wdt.h library with its 8266 equivalents? I'm very new to this so i don't understand all well enough.

from fingerprint-mqtt.

Related Issues (17)

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.