logo elektroda
logo elektroda
X
logo elektroda

Aubess 16A + power monitor , replacement with TYWE2S + Tasmota

przemsi_ele 1215 2
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20668455
    przemsi_ele
    Level 11  
    Aubess 16 Power monitor I replaced the Tuye CB2S with a TYWE2S (ESP) (I remembered correctly) I uploaded Tasmote there and everything works , including current and power measurement, but to my happiness I lack only a working button.
    According to my conclusions Tuya had ( tacktswitch on the board ) a button under AD , the module TYWE2S also has AD on the same pin, but I do not know how to force Tasmote to recognize it and assign it to relay 1, maybe someone has figured it out or my conclusions are wrong and it is necessary / possible to do otherwise ?

    I corrected
    Add
    I have such a wonder I on the photo , I replaced the modules, I searched now and the next conclusions :
    The ADC pin is shorted to ground with tactswitch
    CB2S ADC pin
    Quote:
    8 ADC I/O ADC, which corresponds to P23 of the IC

    TYWE2S pin ADC
    Quote:
    8 ADC AI Same with module Silkscreen AD, ADC interface, a 10-bit-precision SAR ADC
    Pin AD can only be used as an ADC interface but cannot be used as a common IO interface. Once not used, it needs to be pulled up. As an ADC input interface, the input voltage range is 0 to 1.0 V.


    I can't find the information for mapping the TYWE2S ADC pin to the ESP pin , I don't know which GPIO on the Tasmot is the ADC pin on the TYWE2S
  • ADVERTISEMENT
  • #3 20673514
    przemsi_ele
    Level 11  
    completed above
    found on Tasmota pages
    Quote:
    GPIO Numbers from 0 to 65535 representing GPIO0 to GPIO5, GPIO09, GPIO10 and GPIO12 to GPIO16 and GPIO17 for A0 pin for ESP8266. ESP32 has more configurable GPIO's

    and also this
    Quote:

    Before Tasmota 9.1 used to configure the ADC type. In new templates this should be set to 0 and the analog pin should be configured on GPIO17


    I changed to the ADC button on GPIO17, but the thing was getting variations , switching on and off and not in some cycle but variously as if the ADC was going crazy, maybe the hardware does not fit.


    Help was not available, so I managed in another way , if anyone is interested.

    After transplanting from CBU to TYWE-2S (ESP-02S) in AUBESS 16A + power monitor and uploading Tasmota, the button (tactswitch) on board did not work.

    Wi-Fi module ESP-02S with clearly visible pin labels and yellow kapton tape on the ADC pad.

    I soldered the ADC pads on the ESP-02S module with capton

    Close-up of a circuit board with electronic components, a soldered wire, and yellow Kapton tape covering part of the board.

    I did not solder the ADC pads of the module-board together.board

    I made a jumper with the ADC on the board with GPIO4 (not used)

    Screenshot of GPIO settings for the Aubess with (BL0942) device in Tasmota configuration.

    and the button works
ADVERTISEMENT