ESP8266-wifi icon indicating copy to clipboard operation
ESP8266-wifi copied to clipboard

GPIO / PIN Number ?

Open ozett opened this issue 8 years ago • 4 comments

my lights dont go on. i compiled and flashed ok. i wanted to try the neopixel-Test-example and the source says

define pixelPin 2  // make sure to set this to the correct pin, ignored for UartDriven branch

so i have the UartDriven branch, what pin do i have to use? i am a little bit puzzled

ozett avatar Feb 14 '16 16:02 ozett

i read in the readme of the neopix lib:

 For the exp8266, only the TXD1 pin is supported due to the hardware uart restriction and this argument is ignored. 

so i am using an ESP12, do i have to gave up my serial monitor an use the TXD pin for the LED-Strip? i will give this assumption a try ...

ozett avatar Feb 14 '16 16:02 ozett

i checked the pinout here: http://makernews.info/featured/2015/09/esp8266-pinout-the-esp-01-and-esp-12-on-nice-new-pin-out-diagrams.html

and give gpio2=TXD1 a try on the esp12... doesent seems to boot with LEDs connected....fiddling...

ozett avatar Feb 14 '16 16:02 ozett

right pin is TXD1=GPIO2 ok. but when leds are connected, it wont boot. when i connect after boot, esp crashes.. wifi interface was reachable (little slow, but all worked)

i have a powersupply-setup on breadboard, which worked with same hardware before..

hmmmm so far...so ....

ozett avatar Feb 14 '16 16:02 ozett

you stated this in the readme:

Currently the WS2812 LEDs must be attached to GPIO2, 
I've found best results to use this as a level converter - 74HCT245N.

ok, pin-number found, but i did not have a level converter... but i dont think this makes the esp crashes, or ...?

ozett avatar Feb 14 '16 17:02 ozett