logo elektroda
logo elektroda
X
logo elektroda

OpenTR6260 PWM Support for Status RGB Strip with Tuya Compatibility

gandi69 285 14
ADVERTISEMENT
  • #1 21725521
    gandi69
    Level 3  
    OpenTR6260 - does this support PWM?

    Have purchased a cheap RGB strip - Status is the manufacturer but it appeared to work with Tuya.
    I flashed it with OpenTR6260 however LED control only appears to work using relays/LED at full brightness.

    Here are some images of the controller itself whilst flashing it earlier today.

    Close-up of TR6200S1 chip on green PCB with SMD components and visible solder pointsPCB with surface-mounted components and connected colored wiresPrinted circuit board with attached multicolored wiresClose-up of damaged PCB with burn marks and electronic components including transistors

    Added after 48 [minutes]:

    I have also found this module does not let me save any configs down now it appears to return to an earlier one I created a few hours ago each time. Very odd, probably looking at a reflash unless there is an ota update?
  • ADVERTISEMENT
  • #2 21725563
    insmod
    Level 29  
    >>21725521
    I tried PWM on GPIO22, and it works. While "Toggle light" isn't working, changing brightness works ok.

    Regarding config save, what partition file are you using? The most recent one is https://github.com/NonPIayerCharacter/OpenTR6260/blob/master/new_partition_0x6000.bin

    No OTA, since we have no tool to generate one. Updates can only be flashed via UART.

    Added after 1 [hours]:

    A quick fix: https://github.com/openshwprojects/OpenBK7231T_App/pull/1838
    With that fix, "Toggle light" works, but leds will still glow a little.
    Plus expanded available PWM pins to include GPIO0-4 and GPIO14-15

    Do you have a backup and/or ali link?
  • #3 21725854
    gandi69
    Level 3  
    The partition file I was using was the one that came with the flashing software. I'll fully UART reflash and try again I think

    Thanks
  • #4 21726568
    gandi69
    Level 3  
    >>21725563


    I think the config now saves fortunately (so far!)

    however PWM on GPIO 22 it doesn't dim the brightness at all, in fact it doesn't do anything really - no backup but I have a spare unit to take backup from which I will do
  • ADVERTISEMENT
  • #5 21726881
    insmod
    Level 29  
    >>21726568
    Last OBK (1.18.204) GPIO22 PWM works fine for me, both dimming and toggle.
  • #6 21727022
    gandi69
    Level 3  
    Are you using this device? I'm literally just flashing a new unit and include the backup of the firmware, however, I am not sure how to interpret this.
  • ADVERTISEMENT
  • #7 21727031
    insmod
    Level 29  
    >>21727022
    No, i'm doing everything on HLK-M20.
    What are your pins for each color?
  • #8 21727066
    gandi69
    Level 3  
    GPIO1, red
    GPIO2, green
    GPIO3, blue
  • ADVERTISEMENT
  • #9 21727079
    insmod
    Level 29  
    >>21727066
    Then you don't need GPIO22.
    Change those pins to PWM and set channels accordingly (from 0 to 2, RGB)
  • #10 21727108
    gandi69
    Level 3  
    I've tried that, I'm afraid inc the correct channels - doesn't do anything. When they are set to PWM it won't fire the LEDs.
  • #11 21727114
    insmod
    Level 29  
    >>21727108
    With older versions - yes, but fix is already released.
  • #12 21727136
    gandi69
    Level 3  
    Ok so I've just tried that on this latest unit i've just flashed - it works perfectly with this config:

    {
    "vendor": "Tuya",
    "bDetailed": "0",
    "name": "Full Device Name Here",
    "model": "enter short model name here",
    "chip": "TR6260",
    "board": "TODO",
    "flags": "1024",
    "keywords": [
    "TODO",
    "TODO",
    "TODO"
    ],
    "pins": {
    "0": "PWM;1",
    "1": "PWM;2",
    "2": "PWM;3"
    },
    "command": "",
    "image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
    "wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
    }

    that is exactly the same as the other one I did a day or two ago. Very weird I need to check this out and see why this one works and the other doesn't.
  • #13 21727141
    divadiow
    Level 37  
    boot log from backup

    Code: Text
    Log in, to see the code


    Added after 25 [minutes]:

    @gandi69 Not sure I can justify buying one of these at retail price from Home Bargains, if there are any left, but maybe packaging and device case pics would satisfy. Would you mind uploading some please for the record? :D
  • #14 21727555
    gandi69
    Level 3  
    Latest firmware fixed the issue. However, one unit has failed — board fried somehow! Not the best quality, these I fear...

    Added after 36 minutes:

    Wi-Fi RGB LED strip packaging with 150 LEDs, app control, and voice assistant support Packaging for these
  • #15 21731424
    divadiow
    Level 37  
    hmm. £3.99 and I might have been tempted.
    Status Wi-Fi RGB LED tape, 5 meters, 150 LEDs, color changing Status 5m RGB LED tape for £9.99 with app control, on store shelf. Wi-Fi LED controller with three connectors and QR code lying on a box

Topic summary

The OpenTR6260 controller supports PWM for RGB LED strips, with confirmed functionality on GPIO pins 0-4 and 14-15, including GPIO22. Initial issues with brightness control and config saving were resolved by using the latest partition file (new_partition_0x6000.bin) and firmware updates flashed via UART, as no OTA update tool is available. Proper PWM configuration requires assigning RGB channels to GPIO1, GPIO2, and GPIO3 with corresponding PWM channels 0 to 2. Earlier firmware versions had bugs affecting toggle and dimming functions, but recent fixes have restored full PWM control. Some units showed hardware reliability concerns, with at least one board failure reported. The RGB strip manufacturer "Status" is compatible with Tuya firmware, and flashing OpenTR6260 firmware enables PWM control when correctly configured.
Summary generated by the language model.
ADVERTISEMENT