logo elektroda
logo elektroda
X
logo elektroda

Adding IR Receiver to CB3SBK7231N Tuya LED Controller for Remote Control

rtdxcvh 372 3
ADVERTISEMENT
  • #1 21337936
    rtdxcvh
    Level 2  
    [CB3S/BK7231N] Tuya LED Controller iH001 - RGBCCT Version adding a remote controller
    Close-up of the CB3S/BK7231N LED controller in the user's hand. LED controller circuit board with IR markings and power cables

    I have bought this controller recently it takes 12 - 24V and controls RGBCCT leds via wifi with apps like tuya or smartlife and I am willing to add a remote controller like the following : R10 remote control for RGBCCT LED

    But I know my chip actual motherboard doesn't have a IR receiver but lucky for me the board has IR IR- IRIN entrances which outputs 3.3Volts between /- which then I assume they are well wired as IR receivers work at this range of voltage. Now the question is which IR receiver should I use for this chip is actually compatible with receivers.
    I have size constraints so this chip is perfect for me so I need to be able to add a remote in addition to the phone controlabilities. I am open to any suggestion any help is appreciated if you are aware of a similar sized chip with remote and wifi feel free to tell me so or if you have any question for more precise analysis I am open, thank you have a great day.
    AI: Could you provide more details on the specific requirements or constraints for the IR receiver, such as size, range, or any brand preferences?
    No specific size constraints just smaller than 2cmx2cmx2cm IR receivers don't get any bigger anyway but I am open to any suggestions.
    AI: Have you done any previous research or attempts to find a compatible IR receiver for your setup? If so, what have you considered or tried so far?
    I haven't tried a'y yet I want to know if it is possible first.
  • ADVERTISEMENT
  • #2 21339576
    dgel27
    Level 7  
    >>21337936 Yes, it is possibly. What you need:
    1. Obtain some IR receiver, like this one: TL1838
    2. Solder it to your board: VCC - IR , GND - IR- and DATA to IRin
    3. Find to which GPIO connected IRin (seems it is connected to one of the pins 2-5 of CB3S per trace on picture, but check this)
    4. Take some IR remote control, that you don't use in same room for other devices
    5. Scan codes from your remote in the OpenBK WEB log
    6. Add script that looks for the code, and do some action
  • ADVERTISEMENT
  • #3 21340118
    rtdxcvh
    Level 2  
    >>21339576 Thank you for your clear responses, I have some questions,
    First of all IRin connects to P14 on the CB3S which you can see in the pictures corresponds to "A common GPIO interface, which corresponds to P14 of the IC" CB3S board schematic with GPIO pin labels from P7 to P26, including TXD, RXD, RST, ADC3. Pin function table with IC designations, including P14 as a GPIO interface.

    My questions are will the receiver you've sent me be compatible with the following remote : https://fr.aliexpress.com/item/10050060618528...d378dJbT7Is&mp=1&gatewayAdapt=glo2fra

    Model : R10 Remote Only

    Because in the detailed description of the product the seller notified that the controller doesn't work with other devices is that true ? after all it is a 2,4 GHz controller it can control anything right ? (you can see in the following picture)

    Screenshot of the WT5 Tuya LED controller specifications and description with highlights.

    To continue you said to use some IR remote that I don't use in the same room for other device it is possible to pair the receiver with the controller as there will probably be multiple controllers like this in the room but each with a different remote is it possible to do so ?

    Also I'm not quite familiar with coding can you clarify what is OpenBK Web log what's the use of it and what software can I use to do so ? if I'm not wrong I need to connect the controller in a way to my pc to read the commands I get and do modification depending on that ?

    Thank you for your implication in solving my problem :)
  • #4 21347936
    dgel27
    Level 7  
    >>21340118 Hi, are you using original TUYA FW or re-flashed it to OpenBeken? If it is original TUYA, it may be right, the codes kept in producer FW, so the other remote may not work. If this is OpenBeken, you decide in your scripts which code to use for operations. The receiver just transfers it to MCU
ADVERTISEMENT