this post was submitted on 30 Aug 2024
        
      
      25 points (96.3% liked)
      Ask Electronics
    3877 readers
  
      
      38 users here now
      For questions about component-level electronic circuits, tools and equipment.
Rules
1: Be nice.
2: Be on-topic (eg: Electronic, not electrical).
3: No commercial stuff, buying, selling or valuations.
4: Be safe.
        founded 2 years ago
      
      MODERATORS
      
    you are viewing a single comment's thread
view the rest of the comments
    view the rest of the comments
          
          
The voltage regulator is only used to generate the 3.3V supply for the ESP. But OP is using the 5V from the input of the regulator to power the LEDs.
At max it is wasting about 0.7W if the 400mA max current is right. But it will still get hot due to the current draw of the ESP. Even at half of the max. rated current this device is probably 30-40 degrees above your ambient temperature.