Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
esp [2023/08/12 20:15] – [Relais Boards] geraldesp [2025/04/20 21:36] (aktuell) – [esp32-cam] gerald
Zeile 89: Zeile 89:
  
  
-===== Development =====+===== Development /Programmierung ===== 
 + 
 +DerESP8266 hat 2 UART eingebaut UART0 ist der ganz normale Serielle Anschluss über TX (GPIO1)  
 + & RX (GPIO3)  
 + 
 + 
 +Der ESP8266 verfügt über zwei UART-Schnittstellen: UART0 und UART1. Diese können für die Kommunikation mit seriellen Geräten genutzt werden, haben jedoch unterschiedliche Einschränkungen. 
 + 
 +**UART0 (Haupt-UART)** 
 + 
 +Standard-Pins: 
 +  * TX: GPIO1 
 +  * RX: GPIO3 
 +Eigenschaften: 
 + 
 +Volle Duplex-Kommunikation (kann senden und empfangen). 
 +Wird standardmäßig für die serielle Kommunikation und Debugging genutzt. 
 + 
 +Kann über Software auf andere GPIOs gemappt werden (via Serial.swap()): 
 + 
 +  * TX: GPIO15 
 +  * RX: GPIO13 
 + 
 +**UART1** 
 + 
 +Standard-Pin: 
 + 
 +  * TX: GPIO2 
 +Einschränkungen: 
 + 
 +  * Nur TX ist verfügbar; RX ist nicht nutzbar. 
 +  * Typischerweise für Debug-Ausgaben genutzt. 
 +  * Kann nicht für vollständige UART-Kommunikation verwendet werden (kein Empfang).
  
 ==== Arduino IDE ==== ==== Arduino IDE ====
Zeile 263: Zeile 295:
 === 2er Relais Board (Garage) === === 2er Relais Board (Garage) ===
  
-Ralais+Relais
  
-zusätzliche Kontakte (gegen GRN, Pull-Up 10k Ohm)+ESP-12F 5V/8-80V 2 Channel Relay Board (ESP12F_Relay_X2) {{ ::esp12f_relay_x2.webp |}} 
 + 
 +{{ ::esp12f_relay_x2.pdf |Datenblatt/Instruction}} 
 + 
 +5x8cm 
 + 
 +zusätzliche Kontakte (gegen GRN, Pull-Up 10k Ohm) ((https://tasmota.github.io/docs/Expanding-Tasmota/#electrical-considerations))
  
 Stecker: Stecker:
   * GPIO 12   * GPIO 12
   * GPIO 13   * GPIO 13
-  * GPIO 15+  * GPIO 02
   * Schwarz = GND   * Schwarz = GND
 +
 +
 +  * Switch1 (Garagentor offen): GPIO 02
 +  * Switch2 (Garagentür): GPIO 12
 +  * Switch3 (Garagentür geschlossen): GPIO 13
 +
 +
 +Ein Relais nur kurz schalten: [[https://nerdiy.de/de_de/tasmota-nachlaufen-eines-relais-einstellen/]]
 +
 +SetOption26 (Anzeige der Relais-Indizes) aktivieren:
 +
 +<code>SetOption26 1</code>
 +
 +Weitere Beispiele für den Bereich 0,1 bis 11,1:
 +
 +Haltezeit von 3,7 Sekunden:
 +<code>PulseTime 37</code>
 +
 +Haltezeit von 4,2 Sekunden:
 +<code>PulseTime 42</code>
 +
 +PulseTime deaktiveren:
 +<code>PulseTime 0</code>
 +
 +
 +{{::bildschirmfoto_vom_2024-11-28_14-56-25.png?400|}}
  
  
Zeile 285: Zeile 349:
 [[https://www.fambach.net/esp32-cam-modul/]] [[https://www.fambach.net/esp32-cam-modul/]]
 ==== esp32-cam ==== ==== esp32-cam ====
 +
 +=== Tasmota ESP32 Cam ===
 +
 +
 +[[https://github.com/prusa3d/Prusa-Firmware-ESP32-Cam]]
 +
 +Turn on/off rtsp: [[https://cgomesu.com/blog/Esp32cam-tasmota-webcam-server/#rtsp-server]]
 +
 +Tasmota: [[http://ota.tasmota.com/tasmota32/release/]]
 +
 +=== External/internal WiFi antenna ===
 +
 +Quelle((https://github.com/prusa3d/Prusa-Firmware-ESP32-Cam/blob/master/doc/AI_Thinker-ESP32-cam/README.md))
 +
 +The standard ESP32-CAM board utilizes an internal antenna on the PCB. However, this antenna can sometimes cause issues with the quality of the WiFi signal, leading to slow photo uploads to PrusaConnect or connectivity problems. Fortunately, there is an option to connect an external antenna. This requires changing the resistor position, as shown in the picture below. Then, you can use a 2.4GHz Wi-Fi cable with a U.FL to RP-SMA connector and a standard 2.4GHz WiFi antenna
 +
 +{{::esp32-cam_ext_ant.png?600|}}
 +
 +=== Infrarotfilter entfernen ===
 +
 +
 +[[https://www.visualmicro.com/page/ESP32-NightVision.aspx]]
 +
 +Der Filter ist ein quadratisches, bunt glänzendes Glas auf der Oberseite. Man muss vorne die linse mit einem Skalpell rundrum aufschneiden.
 +
 +=== alt: ===
 +
  
  
 
Nach oben
esp.1691871344.txt.gz · Zuletzt geändert: 2024/02/29 13:36 (Externe Bearbeitung)
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp   Dogecoin Donations Accepted Here    DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp  DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp