logo elektroda
logo elektroda
X
logo elektroda

Connecting the circuit to the diode in the Pafal 12EA5rn/1 60A smart meter: Wemos D1 Mini and ESPHom

pawelc 537 6
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20228845
    pawelc
    Level 22  
    Hello

    As these counters are quite cheap I wanted to make them Smart and with the reading from the pulses of the diode somehow averagely I like the overlay , has anyone connected directly to this diode for example such a circuit Link , then e.g. to wemos d1mini and esphome and embraced ?
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • #2 20228992
    spinacz
    Level 42  
    I.e. you want to cut the photoresistor off this board and connect the LED leads from the counter there? If so, it won't work, the photoresistor changes its resistance value depending on the light intensity.
    You only need to connect the optotransistor to this diode and the other side to something that is supposed to count pulses.
  • ADVERTISEMENT
  • #3 20229360
    pawelc
    Level 22  
    Not this link , I was thinking about this circuit Link and Instead of this diode connect the diode from the counter and place this board inside the
  • ADVERTISEMENT
  • #4 20229395
    xury
    Automation specialist
    The internet says there is an RS485 there. Instead of fiddling with the diode, I'd focus on reading through the Rs485
  • ADVERTISEMENT
  • #5 20229404
    pawelc
    Level 22  
    I know that there is an rs485 .I have 4 of these meters to read and I only care about reading the energy consumption, so the cheapest and least complicated since I can dismantle them would be to connect directly to the diode, has anyone practiced this solution?
  • #6 20229411
    xury
    Automation specialist
    Well, it probably won't be cheaper than an rs485/UART converter and a wemos d1 mini.
    Here's a minimalist diagram for coupling the ESP8266 and the device with RS485

    https://github.com/pawelka/sofarsolar_esp_rs485_logger/blob/master/images/schematic.jpg
    Admittedly this is for a solar inverter, but the principle is the same for all devices running on Modbus.
    However, if you insist on reading pulses then an optocoupler will suffice. Instead of a diode, an optocolupler diode and on the other side a power supply and gpio input
  • #7 20250445
    pawelc
    Level 22  
    xury wrote:
    If, however, you insist on reading the pulses then an optocoupler is sufficient. In place of the diode an optocoupler diode and on the other side the power supply and the gpio input


    Could you throw up a schematic ?

Topic summary

The discussion revolves around connecting a Pafal 12EA5rn/1 60A smart meter to a Wemos D1 Mini using ESPHome for pulse reading from the meter's diode. Initial suggestions included using an optotransistor for pulse counting instead of directly connecting to the diode, as the photoresistor on the board would not function correctly for this purpose. Some participants recommended utilizing the RS485 interface for reading data, citing it as a more efficient method. However, the original poster expressed a preference for a simpler and cheaper solution by directly connecting to the diode. Further inquiries were made for schematic diagrams to assist in the implementation of the proposed solutions.
Summary generated by the language model.
ADVERTISEMENT