I asked a while ago, how to build an automatic light switch and finally got around to actually building it.

My board is an ESP8266 mini D, and ignoring all the sensor parts, my problem right now is powering the actual light.

It’s just a small LED array and I connected it directly to the 5V and GND pins (controlled via a transistor).

Measuring from the wall (so including the PSU), this whole setup pulls about 3W (so far expected), however, one small component close to the USB connector gets uncomfortably warm, and I’m not sure, whether that’s ok.

The hot component is one of the two small thingies circled in the picture. I thought the 5V get pulled directly from the USB plug, so I’m not sure, why there is any circuitry involved.

  • cubism_pitta@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 months ago

    5V will be pulled directly from 5V supply

    The chip you are concerned about getting warm I believe is your 3.3V regulator.

    I would ensure your transistor has some resistors to ensure you are not drawing more current than required from the 3.3V supply

    If that is all good then I will remind you of a few things

    1. The board you have is a clone (I use them… but they can be dubious)
    2. The ESP8266 requires a certain amount of current to run which will cause the chip in question to generate heat all on its own
    3. The chip in question appears to be an LDO which will mean going from 5v to 3.3v is done by turning the excess voltage into heat.

    I couldn’t find an exact Datasheet but I am led to believe that the chip is a clone of this

    https://www.sunrom.com/download/670.pdf

    Which I found on this store page

    https://www.sunrom.com/p/rt9193-33gb-rt9193-33pb-sot23-5-300ma-ldo

    And here is a wiki entry incase you are curious about Voltage Regulators and the such

    https://en.wikipedia.org/wiki/Low-dropout_regulator