logo elektroda
logo elektroda
X
logo elektroda

Successfully Flashed OpenBeken to Tuya FL-S168-V1.0 Temperature & Humidity WiFi Sensor

jcyost 57 3
ADVERTISEMENT
  • Helpful post
    #1 21706665
    jcyost
    Level 2  
    Hello. I recently purchased several Tuya Temperature & Humidity WiFi sensors to flash with OpenBeken. Unfortunately the manufacturer (Shenzhen Farylink Technology Co., Ltd) changed up the board design. Instead of a Beken module (with BK7231N mounted to a daughter PCB) the sensor has the BK7231N directly mounted to the main PCB.
    I tore one down and traced out the connections and I was able to generate an OpenBeken configuration that works. The board uses the CHT8315 sensor wired to the Beken MCU on pins 7 and 8.

    I'm providing the following for anyone who wants to flash these devices in the future.

    Pin Function for BK7231N:
    7 - CHT83XX_SCK
    8 - CHT83XX_SDA
    17 - BAT_Relay
    20 - DoorSnsrWSleep
    23 - BAT_ADC
    26 - WifiLED_n

    Successfully Flashed OpenBeken to Tuya FL-S168-V1.0 Temperature & Humidity WiFi Sensor
    Successfully Flashed OpenBeken to Tuya FL-S168-V1.0 Temperature & Humidity WiFi Sensor
    Successfully Flashed OpenBeken to Tuya FL-S168-V1.0 Temperature & Humidity WiFi Sensor
    Successfully Flashed OpenBeken to Tuya FL-S168-V1.0 Temperature & Humidity WiFi Sensor

    My next endeavor will be to set up a deep sleep script or command that puts the sensor to sleep for 30 minutes - 1 hour to save battery life.
  • ADVERTISEMENT
  • #2 21706670
    jcyost
    Level 2  
    PCB traced out and pin mapping defined. Successfully programmed OpenBeken to this new board design. Sharing solution for future reference.

    Almost forgot, here are the probe points I used. The board does have test pads but they are on the opposite/inaccessible side of the board. You can't get to them without desoldering the battery leads. But if you have a set of sharp probes and probe holders then you can hit these pads to program the device.

    Successfully Flashed OpenBeken to Tuya FL-S168-V1.0 Temperature & Humidity WiFi Sensor
    Successfully Flashed OpenBeken to Tuya FL-S168-V1.0 Temperature & Humidity WiFi Sensor
  • ADVERTISEMENT
  • #3 21706695
    p.kaczmarek2
    Moderator Smart Home
    Can you please, if possible, attach this template in JSON format, will fields filled? That makes it easier to add it to devices list:
    https://openbekeniot.github.io/webapp/devicesList.html
    Helpful post? Buy me a coffee.
ADVERTISEMENT