-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32 NodeMCU Module WLAN WiFi from AZ-Delivery #9
Comments
Yes, just use GPIO16. This is RXD from it's second Hardware Serial. |
Hi Domi, liebe Grüße aus Höchst!
Ist das ein Problem oder kann ich den GPIO4 dennoch problemlos verwenden? Danke und LG - André |
@cococheaf Ist kein Problem, die Warnung kannst du ignorieren. |
Ich danke dir! LG |
Hallo, Ich verwende diesen ESP32 AZDelivery ESP32 Dev Kit C V4 NodeMCU WLAN WiFi Ich habs jetzt mal mit GPIO 16/17 probiert. uart: Kann es sein, dass der Code der VKW nicht mehr aktuell ist? LG andy |
@andreasfurxer Der ESP32 hat mehrere UART-Schnittstellen. UART2 ist TX GPIO16 und RX GPIO17, du könntest also probieren RX und TX bei dir zu tauschen.
Du meinst den Schlüssel zum Entschlüsseln? Würde mich wundern wenn der sich ändert. |
TX und RX hab ich mal getauscht. Läuft aber trotzdem nicht. |
Hey guys, just found this project wanted to give it a try, but I'm not yet fully familiar with the ESP32 family or ESPhome. I found an old "AZDelivery D1 Mini NodeMcu ESP8266" from a previous project in my workshop and was wondering if it would also work with this board... If so, which pins should I choose for the serial? From what I have found GPIO4 would be TXD1 but it seems the RXT1 is not available on this board and the pins 7 & 8 (RXD2 and TXD2) seem to be used for the flash interface. Could I configure some other pins and use some kind of UART emulation or maybe somehow use TXD0 and RXD0? Thanks in advance for your help Edit: |
@lechndo |
Hi @daowa89, I finally have a setup that works. In the config I entered the usual things according to my setup (WiFi, smart meter key, MQTT IP, etc.). esp8266:
board: d1_mini and to configure the serial according to the chosen pins. uart:
tx_pin: D1
rx_pin: D2
baud_rate: 2400
rx_buffer_size: 2048 # Needed to receive the large packets send by the smart meter
id: mbus The correct pin naming is important because the pin names Dx, labeled on the board are not the actual ESP GPIOx and the short names also only work with the correct board. I hope this will be helpful for someone 😉 |
Hello daowa89, thank you for your description. - So you use the software-serial for receiving data from the M-Bus slave. Unfortunately you made a mistake in your description: you wrote: so you have mixed up the pins in the config. uart:
tx_pin: D2
rx_pin: D1
baud_rate: 2400
rx_buffer_size: 2048 # Needed to receive the large packets send by the smart meter
id: mbus after that everything works fine! - Thanks |
@lechndo @chrispakr Thanks for the feedback! I will test it on the weekend. Edit: working fine, thank you for the support. |
Hello.
Does this work with this https://www.az-delivery.de/products/esp32-developmentboard?
In the readme it said that the GPIO36 from the esp32 need to be connected with TX from M-Bus Board, but this one does not have a GPIO36 (or G36). Does it work with another pin?
The text was updated successfully, but these errors were encountered: