Giter Club home page Giter Club logo

platformio-projects's People

Contributors

donskytech avatar

Stargazers

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

Watchers

 avatar  avatar

platformio-projects's Issues

ESP32-RFID Project with WebServer version for ESP8266

It looks like you have an IFDEF to have this project run on an ESP8266, could you help provide some tips about making this run on an ESP8266/ESP8285? I have some DoIt MX Devboards and a lot of ESP-01s boards. I don't know if it can run on those or not, but I would like to at least get it to run on the dev boards. I changed my platformio.ini to this:

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
lib_deps =
https://github.com/OSSLibraries/Arduino_MFRC522v2.git
Wire
Wifi
FS
SPIFFS
https://github.com/me-no-dev/ESPAsyncWebServer.git
bblanchon/ArduinoJson@^6.19.4

[env:espmxdevkit]
platform = espressif8266
board = espmxdevkit
framework = arduino
monitor_speed = 115200
lib_deps =
https://github.com/OSSLibraries/Arduino_MFRC522v2.git
Wire
ESP8266WiFi
FS
SPIFFS
me-no-dev/ESP Async WebServer@^1.2.3
bblanchon/ArduinoJson@^6.19.4

It will allow compiling for the ESP32, but not for the 8266. I get the following warnings and errors:

Library Manager: Installing FS
Warning! Could not find the package with 'FS' requirements for your system 'windows_amd64'
Library Manager: Installing SPIFFS
Warning! Could not find the package with 'SPIFFS' requirements for your system 'windows_amd64'
src\main.cpp:116:8: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
src\main.cpp:116:25: error: no matching function for call to 'fs::FS::begin(bool)'

SPIFFS is deprecated, so it would probably be a good idea to replace it with LittleFS, but LittleFS has a minimum of 4k allocation unit per file while SPIFFS had only 256 bytes. I don't know if the way you are using the file system would fit on an ESP-01s yet, but it would be pretty cool to have this run on a fingernail sized board!

I appreciate any help you can provide, even to just point me in the right direction about how to fix the issues. Thank you!

question. websocket handle connection lost

Hello, I tried to make your code work for another project and I found that the WebSocket event handler seems can't handle connection lost. I wonder what happens if my connection is suddenly lost while I am holding the button. It seems that because the server can't receive the stop message then the drone will continue running. I did some research and find that the ping pong method maybe useful. But I also noticed that there are only a few blogs & projects which use or mention this method. So I wondering whether I am totally wrong or maybe there is more elegant way to achieve that or websocket & esp32 is just not suitable for these kinds of work.

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.