Giter Club home page Giter Club logo

Comments (6)

rstephan avatar rstephan commented on August 16, 2024

Take a look at the NeoPixel-example
https://github.com/rstephan/ArtnetWifi/blob/master/examples/ArtnetWifiNeoPixel/ArtnetWifiNeoPixel.ino

from artnetwifi.

darknessatnoon avatar darknessatnoon commented on August 16, 2024

I see already.
When i already flash this to ESP8266. Wifi connection is ok and comes up in my network.
const byte dataPin = 2; means GPIO2 ?
On Arduino Uno i get ws2812b to work with Adafruit_NeoPixel strandtest.
Adafruit_NeoPixel strip = Adafruit_NeoPixel(60, PIN, NEO_GRB + NEO_KHZ800); Working on Arduino
When i flash this to ESP8266 on GPIO2 nothing happens with (#define PIN 2) =GPIO2.
I try on ESP-01 and ESP-12F with same result.

from artnetwifi.

rstephan avatar rstephan commented on August 16, 2024

Sorry, i can't see a problem.
"dataPin = 2" is GPIO2, so the example should work out of the box, even on a ESP-01 / -12
The code was designed on the "nodemcu" platform. Only there is GPIO2 == D4.
I have tested it on a ESP-01 with a scope (no real LEDs). All pulses came out right after the wifi-setup.
Have you used 5V for the LEDs? The WS2812 is 5V only. If there is all at 3.3V the CPU will come up, but the LEDs will not light up. So, ESP @ 3.3V and WS2812 @ 5V. For safety, put a 100 ohm resistor in the data line from the CPU to the first LED.

from artnetwifi.

darknessatnoon avatar darknessatnoon commented on August 16, 2024

Yes i know.
I have connected my esp 12 usb version to pc usb.
The ws2812b is connected to extra 5v power supply. Only ground and d4 to Din is connected between esp and ws.
Yesterday i connect normal led to ground and d4. When i connect to esp from jinx over artnet, the led starts flickering. Ok some Data coming.
Maybe problem with timing.
I see on diffrent project connect a cap 100pf to ground and d4. Also not working. Resistor or Level Shifter also didn't work.

from artnetwifi.

rstephan avatar rstephan commented on August 16, 2024

If D4 starts flickering, so artnet and pin-labeling should be fine.
Have you tried the Adafruit_NeoPixel strandtest on a ESP8266? Try every piece alone.
You can compile the ESP8266 project with different speed options. Is everything (ESP8266, NeoPixel, ...) up-to-date?
Try again the strandtest with the Arduino Uno, bring it to work, then switch to the ESP and upload the same sketch, if this is not working, there is the problem.

from artnetwifi.

darknessatnoon avatar darknessatnoon commented on August 16, 2024

Ok now its working.
I dont know why but it dont like different voltages.
The esp works with 3,3v and ws 5v ok.
When i connect the ws to 5v and the DI signal is 3,3v (LD1117) its not working.
When i connect all to 3,3v its working. I have also tried with Level Shifter no chance.
Seems the DI signal must be same voltage than ws +.
Arduino Uno works without problems.

from artnetwifi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.