donskytech / platformio-projects Goto Github PK
View Code? Open in Web Editor NEWArduino-powered projects built using PlatformIO IDE extension in Visual Studio Code
Home Page: https://www.donskytech.com
License: Apache License 2.0
Arduino-powered projects built using PlatformIO IDE extension in Visual Studio Code
Home Page: https://www.donskytech.com
License: Apache License 2.0
There is a bug regarding this dependency:
me-no-dev/ESP Async WebServer@^1.2.3
I replaced that line with https://github.com/me-no-dev/ESPAsyncWebServer.git to get it to compile, but that's not a real solution. You can see the error discussed here:
me-no-dev/ESPAsyncWebServer#1147
Could you help find the right way to fix it?
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!
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.