logo elektroda
logo elektroda
X
logo elektroda

[BK7231N/CBU] Casa Life ALDI Aus - Floor Lamp Mood Lamp - RGB control, SPI? MOSI? MISO?

Clonk 1293 3
ADVERTISEMENT
  • #1 20605957
    Clonk
    Level 2  
    Hello, Everyone in the community.. And big Thanks to all of the contribution of the Members and Developers. Lot's a squinting and Button twiddling..

    This is my 2nd device with openbkn so far all was good... Now the missus[Australian slang for wife/partner] is pissed that I broke her fav. lamp.. Sleep'n in the shed tonight if this is not fixed, pressure much.. ;-0

    [BK7231N/CBU] Casa Life ALDI Aus - Floor Lamp Mood Lamp - RGB control, SPI? MOSI? MISO?[BK7231N/CBU] Casa Life ALDI Aus - Floor Lamp Mood Lamp - RGB control, SPI? MOSI? MISO?[BK7231N/CBU] Casa Life ALDI Aus - Floor Lamp Mood Lamp - RGB control, SPI? MOSI? MISO?

    The bin image was OTA flashed to this device was v1.0.18 of BK731N which @ the time was a little unsure of {and I Still am, as it was still in enclosure still ].
    I had to remove the can [as they had cleaned of any details] to find out if it was indeed is a BK7231N. it is!

    So the problem is it appears to be working with [ie talking]. I have gotten the ir on pin 20 to work, and get some kind Cold/White Temp Change on PWM 6. ADC is working to pin 23. and when set starts a rgbw routine but NO COLOR.

    OBK Binary cfg tool spits this out:

    __________________________________________________________________
    Device configuration, as extracted from Tuya:
    - LED Cool (Channel 4) on P6 <---------------------- CONCERNING why only 1 channel ******
    - Control Pin (TODO) on P8 <---------------------- Not sure what it does yet.. ;)
    Device seems to be using CBU module, which is using BK7231N.
    And the Tuya section starts at UNCOMMON POSITION 0
    ___________________________________________________________________
    Code: JSON
    Log in, to see the code

    Current Template: [yes, it's all over the shop 5:45am here..]
    Code: JSON
    Log in, to see the code

    any help/tips/general poking it with a stick would be very handy.. and know I didn't get a flash dump of the original..[Regrets alittle.. this has been fun.. and learn-e..]

    Cheers
  • ADVERTISEMENT
  • #2 20606042
    p.kaczmarek2
    Moderator Smart Home
    Hello, what's that doing in the JSON?
    Code: JSON
    Log in, to see the code

    MOSI and MISO are signals for SPI. Where are the P17 and P16 of CBU connected?

    Can you post more photos? Can you make a list of ICs on the board? How is lamp connected to board?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20606182
    Clonk
    Level 2  
    OK..

    Didn't really take note of the mos in/out...erggg..
    I had a quick little old man look.. (I'll post some pics of front and back of board later tonight).. Too many vias to trace with naked eye etc..

    to me it looks fairly stock.. I think the p16 p 17 maybe connected to filter network then op-amp for the Mic[mem's maybe] .

    other than that the package is a little too hard to find info on, it's the NU package if I remember correctly. there are 8 castellations at the bottom of the PCB. [ @ work so this is off the top of the head..]

    I had a quick poke at p16/17 this morning.. I'm very new to Obkn interface so I'm not sure what I should poke it with[RELAY..Button]..

    I'll try and trace some things out if [I couldn't find the correct package and pin 1..lol] tonight..

    May have to drag out the scope[CROW in aussie]...
    and once again thanks for your assistance.
    Cheers.
  • #4 20606190
    p.kaczmarek2
    Moderator Smart Home
    Most of the devices are using PWM to control LEDs. Some are using SM2135, SM2235, BP5758, etc, "I2C-like" drivers, which are also supported by OpenBeken. And in rare cases, some other RGB control can be used.

    This MISO/MOSI looks like SPI interface, this is why I am worried. I don't think you can treat SPI lines as RELAY or button.

    What is this connector? What is connected there?
    [BK7231N/CBU] Casa Life ALDI Aus - Floor Lamp Mood Lamp - RGB control, SPI? MOSI? MISO?
    Is this power supply connector or LEDs? We need more information.
    Helpful post? Buy me a coffee.
ADVERTISEMENT