module:microcontroller:esp32udpserver:esp32udpserver
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
module:microcontroller:esp32udpserver:esp32udpserver [2022/11/02 15:31] – [221102] omdevelop | module:microcontroller:esp32udpserver:esp32udpserver [2022/11/04 17:10] (current) – [221101] omdevelop | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Esp32UdpServer ====== | ====== Esp32UdpServer ====== | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
===== Überblick ===== | ===== Überblick ===== | ||
+ | * UDP-Client auf PC: [[https:// | ||
+ | * UDP-Server auf ESP32 | ||
+ | * Handshake zwischen PC(Client) und ESP32(Server): | ||
+ | * ESP32 initialisiert, | ||
+ | * PC sendet auf UDPPort Command (LSO - LedSystemOn) | ||
+ | * ESP32 empfängt Command, analysiert, setzt LedSystem ON, gibt UDP-Software-Handshake an PC | ||
+ | * in N-Zeitintervallen sendet ESP32 Nachricht an PC, LedSystem bleibt ON | ||
+ | * danach LedSystem OFF | ||
+ | |||
===== ToDo ===== | ===== ToDo ===== | ||
===== Done ===== | ===== Done ===== | ||
- | ==== 221102 | + | ==== 221104 |
+ | * Download (VSCode): {{: | ||
- | | + | ==== 221102 ==== |
- | Antwort auf Command LSO (LedSystemOn vom PC-Client): | + | |
+ | * [[https:// | ||
+ | * einmal PC-Senden an Esp32 -> IP/ | ||
+ | * dann mehrfaches Senden in periodischen Abständen an PC möglich! | ||
+ | * Esp32UdpServer - Antwort auf Command LSO (LedSystemOn vom PC-Client): | ||
* Software-HS LSO -> Led ON | * Software-HS LSO -> Led ON | ||
* Response1..5 -> Led bleibt ON | * Response1..5 -> Led bleibt ON | ||
* danach: LedSystem OFF | * danach: LedSystem OFF | ||
{{: | {{: | ||
+ | \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ | ||
+ | * PacketSender (auf dem PC): | ||
+ | * Senden von LSO an an ESP32 | ||
+ | * Empfangen von 6 zeitlich versetzten Antworten des ESP32 | ||
{{: | {{: | ||
+ | \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ | ||
+ | Download: {{: | ||
+ | |||
+ | |||
==== 221101 ==== | ==== 221101 ==== | ||
+ | * mehrere Versuche/ | ||
+ | * Problem: UDP.onpacket(...) nicht zu gebrauchen für: mehrfaches Senden in periodischen Abständen an PC | ||
+ | |||
+ | |||
+ | ----- | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
module/microcontroller/esp32udpserver/esp32udpserver.1667399508.txt.gz · Last modified: 2022/11/02 15:31 by omdevelop