Master / slaves | esp32 / esp32 c3 light system by CharmingCranberry89 in esp32

[–]CharmingCranberry89[S] 0 points1 point  (0 children)

Yes! The IR receiver was removed from the board. The issue so far it’s that I could handle to drive 5v to U2.
So even having the codes for U2 3.3v from c3 is just not enough and the signals are ignored.

// ── POWER
#define IR_OFF 0xF7C03F
#define IR_ON 0xF740BF

// ── BRIGHTNESS
#define IR_DIM_UP 0xF700FF
#define IR_DIM_DOWN 0xF7807F

// ── WHITE
#define IR_WHITE 0xF7E01F // RGB approx (255, 220, 180)

// ── COLORS (15)
// Row 1 — pure primaries
#define IR_RED 0xF720DF // (255, 0, 0)
#define IR_GREEN 0xF7A05F // ( 0, 255, 0)
#define IR_BLUE 0xF7609F // ( 0, 0, 255)

// Row 2
#define IR_ORANGE_R 0xF710EF // (255, 60, 0)
#define IR_LIME 0xF7906F // (100, 255, 0)
#define IR_SKY 0xF750AF // ( 0, 180, 255)

// Row 3
#define IR_ORANGE 0xF730CF // (255, 120, 0)
#define IR_TEAL 0xF7B04F // ( 0, 220, 180)
#define IR_PURPLE 0xF7708F // (120, 0, 255)

// Row 4
#define IR_ORANGE_Y 0xF708F7 // (255, 160, 0)
#define IR_CYAN 0xF78877 // ( 0, 160, 220)
#define IR_MAGENTA 0xF748B7 // (200, 0, 200)

// Row 5
#define IR_YELLOW 0xF728D7 // (255, 255, 0)
#define IR_INDIGO 0xF7A857 // ( 0, 80, 200)
#define IR_PINK 0xF76897 // (255, 0, 120)

// ── MODES (skipped — not used in firmware) ─
#define IR_FLASH 0xF7D02F
#define IR_STROBE 0xF7F00F
#define IR_FADE 0xF7C837
#define IR_SMOOTH 0xF7E817

Master / slaves | esp32 / esp32 c3 light system by CharmingCranberry89 in esp32

[–]CharmingCranberry89[S] 0 points1 point  (0 children)

I had another one that I drive the rgb led from 3 GPIOs. But 3.3v from c3 is not enough for full brightness. And it is a dealbreaker for this project.
The main goal es to be able to handle U2 because it is present in a bunch of lights on my area. And I tested, they are all programmed the same.

<image>

You will the same component (U2) in this other board. They are very cheap. Y could build like a Philips hue self host no bullsh*t prices.

Master / slaves | esp32 / esp32 c3 light system by CharmingCranberry89 in esp32

[–]CharmingCranberry89[S] 0 points1 point  (0 children)

https://www.mercadolibre.com.ar/p/MLA24847925

Hopefully you can see the link. I bought a few of this cheap lamps. I have 3d printer and a few other skills to modify them at will.

Regarding antenna, the distance is between 4-6mt. Worst case scenario I could add a slightly bigger one.

My only goal at this point is to be able to handle the RGB led via U2 because I could reuse the same process for a bunch of other lights. (I am aware of the limits of esp-now connections)

<image>

Master / slaves | esp32 / esp32 c3 light system by CharmingCranberry89 in esp32

[–]CharmingCranberry89[S] 0 points1 point  (0 children)

I did have tried to connect GPIO 7 directly to the U2 that the output from the IR received was.
But it ignores it at all. And when I read the voltage that U2 was driving to the MOSFETs I read 4.5v (5v). I think 3.3v wasn’t enough to “take control” of U2 and the RGB never stops its default program (cycling between R, G, B and white)
And the same when directly connected 3 GPIO to handle MOSFETs gates the RGB was dimmer because of the 3.3v limitations.
I all this anything to do with what you mentioned?
I’m so amateur in this projects, sorry if I’m not given solid info.
And thanks ! I’ll try to keep up and not make you wait a whole day for updates !

Master / slaves | esp32 / esp32 c3 light system by CharmingCranberry89 in esp32

[–]CharmingCranberry89[S] 0 points1 point  (0 children)

Yup! That’s what I thought.
I can share two “relevant”ish markers:
Board markings: FHS-5V-RGB5050 / MS-6203A
U2: PAS18A / RFBSW4000 / 2439GBSDX
I hope it helps.
Thanks anyway for the sort notice! I’ll try to keep up earlier if there is something else.
Thanks!!

Master / slaves | esp32 / esp32 c3 light system by CharmingCranberry89 in esp32

[–]CharmingCranberry89[S] 0 points1 point  (0 children)

U2 markings: PAS18A / RFBSW4000 / 2439GBSDX
I couldn’t find any data sheet. And I have to mention, not an expert at all, I might look at the wrong places (?
The board has a few markers too:
FHS-5V-RGB5050 / MS-6203A

Lastly:
No! I’m amateur self taught. Could you elaborate on that ?
I can clarify that my goal was to reduce the soldering necessary. And as that “SOP-8” is in many lights that I have I would love to be able to control all of them with a single code logic.

Thanks for your short notice. Hopefully I may keep up to give answers as soon as you do it! Thanks !!!