sticilface / ESP8266-wifi

See Melvanimate: not maintained now.
22 stars 7 forks source link

GPIO / PIN Number ? #13

Open ozett opened 8 years ago

ozett commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 ...?