-
Hi, i have this ESP32 board https://cdn.shopify.com/s/files/1/1509/1638/files/ESP32_DevKit_C_V4_Pinout.pdf?v=1615364529 As you see my TX port is GPIO1 and RX port is GPIO3. I'm using ams2mqtt-esp32-2.3.5 and the meter i wan't to connect to is Iskraemeco AM550.
Tnx! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
@ArnieO thank you! So basically like this just with a bigger resistor of 3k ohm? Powering the device with external USB supply in my case is not possible so I need to rely on 5v from the meter. What can I expect? I'm from Slovenia and from the commits I saw that there was a commit last year that added support for us. |
Beta Was this translation helpful? Give feedback.
It should work fine with 1K too, but you do not need it to be as small as that - around 3K is sufficient. (You do not want to waste power).
This is the P1 interface:
In order to get out any data, pin 2 (Request) must be connected to +5V.
I have not seen a technical specification for the Iskraemeco AM550, but if it complies to the P1 companion standard you can draw a maximum of 250 mA from 5V. But that is the steady state current draw, the ESP32 pulls more than that while it transmits. Which is why you need to be cautious on how you use the 5V.