-->
Page 2 of 2

Re: How flash the output file from Eclipse to NodeMCU v2 ?

PostPosted: Mon Aug 10, 2015 9:50 am
by Wiwat Arun
I tried every pins one by one to make sure that I did not connect to the wrong pin.

Currently I connect D4(GPIO 2 for NodeMCU v2) -> R 500 ohm -> LED -> Ground.

Is that correct ?

Re: How flash the output file from Eclipse to NodeMCU v2 ?

PostPosted: Mon Aug 10, 2015 12:42 pm
by alonewolfx2
Wiwat Arun wrote:I tried every pins one by one to make sure that I did not connect to the wrong pin.

Currently I connect D4(GPIO 2 for NodeMCU v2) -> R 500 ohm -> LED -> Ground.

Is that correct ?

no. because gpio2 is special pin . if led pulling down that pin , your module cant boot. can you try gpio2 to 3.3v with 500ohm resistor and led on gpio4 or 5?

Re: How flash the output file from Eclipse to NodeMCU v2 ?

PostPosted: Mon Aug 10, 2015 1:51 pm
by martinayotte
... or LED can be reversed on GPIO2 with cathode on it and anode to VCC thru the resistor.
Of course, the logic will be inverted : placing LOW on GPIO2 will turn on the LED and HIG will turn it off.