Something I missed? ESP8266

I'm new to electronics and I wanted to do just to make a very simple circuit to a WS2812B LED strip with an ESP8266 board, all running on 5v. I was possibly going to change some things in the future for other projects. The ESP8266 was powered through the VIN pin which I read was able to be powered at 5V.

I believe I made two mistakes the end result being I smoked a diode on the board, the board will still power up but will not connect through the micro USB. I'm counting this board as a loss.

What I would like to know is what the culprit was for why that happened.

The circuit I built looked like this when it was connected to the PC to be coded, it was not connected to external power or an LED strip. It was connected to a 25v 1000uF capacitor.
Edit: its supposed to be 330 ohm not 400, sorry


(sorry for the crudeness of the picture)

What I'm thinking happened was the capacitor was drawing too much current through the VIN pin which destroyed the diode on the ESB8266 or it was the second mistake I made which was when I soldered my wire to the ESB8266 I put heat shrink over the wires to keep the GND and VIN pins from touching. I accidentally covered the GND and the RST with the heat shrink and I believe the pins may have had contact with each other.

I'm not sure what broke it but I think it was one of those two, if not both. Any input is greatly appreciated!

Just incase anyone was wondering, this was the code I was going to be using. This should work.
I didn't get the chance to upload it before it broke

#include <FastLED.h>
#define LED_PIN 4
#define NUM_LEDS 300

CRGB leds[NUM_LEDS];

void setup() {
  // put your setup code here, to run once:
FastLED.addLeds<WS2812B, LED_PIN, GRB>(leds, NUM_LEDS);
FastLED.setMaxPowerInVoltsAndMilliamps(5, 170);
FastLED.clear();
FastLED.show();
}

void loop() {
  // put your main code here, to run repeatedly:
//just to make all LEDs red
   for(int i=0; i<300; i++){
    leds[i]=CRGB(255,0,0);
  }

  FastLED.show();

}

you burned it by accident, there is nothing wrong with diagram.

1 Like

Would you know how I did that, or would that have been a problem with the manufacturing?

Also just out of curiosity, if the VIN and GND are connected to a capacitor while it's connected to the PC will it draw power ane could that break the board?

1: GND is NOT -5V

voltages are (normally) measured with respect to ground; so ground is 0V.

2:

I'm pretty confident it would current limit without causing problems.

As you havent provided a link we can only guess which board you are using.

1 Like

I feel so stupid for that haha, I meant GND I have no idea whg I wrote -5v. Thanks for catching that

maybe this

1 Like

HiLetgo 1PC ESP8266 NodeMCU... Amazon.com

Sorry about that

https://wiki.geekworm.com/NodeMCU-32S#/media/File:NodeMCU-Schematic-diagram.jpg

Could the capacitor have been charged when you connected it?

Or you accidentally shorted GND & VIN ?

1 Like

Yea that's the only think I could think of if it wasn't the capacitor.

I'm not sure how I could have shorted GND and VIN, every point of live wire I have is covered by heat shrink except the two ends that connect to the PSU, I made sure to separate those ends so I don't think it was that unless they did touch and I didn't notice. When I saw smoke I ripped the board from my PC and didn't see the wires so I'm not sure.

could GND and RST touching short it?

also I don't believe the capacitor was charged at that point, I unplugged the circuit from the PSU before I disconnected it from the LEDs to help draw out all the current, although that may be a possibility. That is a good point I'll have to be sure to check for in the future too. Thank you

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.