esp8266 websocket

ESP32 Arduino: Websocket client
https://www.colabug.com/1800151.html

examples/smart_config: Smart Config 相关的代码示例。
examples/spiffs_test: SPIFFS 相关的代码示例。
examples/websocket_demo: WebSocket 相关的代码示例

https://github.com/Links2004
https://github.com/Links2004/arduinoWebSockets

https://www.instructables.com/id/Esp8266Websockets-RGB-LED-controller/

16 元买的 ESP8266 的开发板,安装上 MicroPython。加上一个红外线 LED,一个电阻,一个温度传感器 DTH22。然后设置成 WebSocket 服务器,就可以用手机查看家里的温度,控制空调的开关了。

遥控器的信号是使用 TSOP38238 解调,然后用 30 元的逻辑分析仪捕捉。

https://github.com/ruoyu0088/esp8266_ir

建议换 ESP32,贵不了几块钱,,性能更高、内存更大,,可玩儿性更高

资料1:(很好)

https://diyprojects.io/websocket-communication-esp8266-arduino-python-test-ws4py-library-raspberry-pi/

Installing the Websocket library for ESP8266 on the Aduino IDE
By doing a search on the websocket keyword from the library manager, there are several libraries compatible with ESP8266 modules. However, I advise you to use the bookstore developed by Markus Sattler. It can start a server or turn the ESP8266 into a Websocket client. It is available on GitHub here. It is compatible with the following cards (damage, it is not compatible with the ESP32):

https://github.com/Links2004/arduinoWebSockets

arduino IDE 1.8.5 安装

这里写图片描述

这里写图片描述

https://github.com/Links2004/arduinoWebSockets

https://www.teachmemicro.com/web-server-nodemcu-websocket/

资料2

https://tttapa.github.io/ESP8266/Chap14%20-%20WebSocket.html

websocket 服务器

http://demos.kaazing.com/echo/
http://websocket.org/echo.html
https://techtutorialsx.com/2017/11/01/esp32-arduino-websocket-client/ —- 用的另外一个websocket库

利用whistle调试WebSocket和Socket请求
https://cloud.tencent.com/developer/article/1008906

资料3 MQTT CloudMQTT

ESP8266 PROGRAMMING FOR CLOUD MQTT USING PUBSUBCLIENT- PART 3

Open up the serial monitor.

Upload the code onto ESP8266.

You can now see the logs, for the Wifi connection, MQTT connection and Temperature sensor values.

You can view the data online using the WebSocket console.

资料4 RTOS SDK

https://www.espressif.com/en/support/explore/get-started/esp8266/getting-started-guide

https://github.com/espressif/ESP8266_RTOS_SDK
examples/smart_config: Smart Config-related sample codes
examples/spiffs_test: SPIFFS-related sample codes.
examples/websocket_demo: WebSocket-related sample codes.
https://github.com/espressif/ESP8266_RTOS_SDK/releases
ESP8266_RTOS_SDK Release 2.0.0

ws4py

https://ws4py.readthedocs.io/en/latest/

python websocket例子

https://github.com/morrissinger/ESP8266-Websocket
https://github.com/Links2004/arduinoWebSockets/tree/master/tests
https://pypi.org/project/websockets/
https://github.com/danni/uwebsockets
https://github.com/danni/uwebsockets/tree/esp8266/examplesserver can use
https://github.com/dpallot/simple-websocket-server
https://websockets.readthedocs.io/en/stable/intro.html

猜你喜欢

转载自blog.csdn.net/wowocpp/article/details/81291623