CyanLabs / ESP-MQTT-JSON-Digital-LEDs

ESP MQTT Digital LEDs for Home Assistant's MQTT JSON Light Component. Supports flash, fade, transitions, effects, and OTA uploading!
https://youtu.be/9KI36GTgwuQ
Apache License 2.0
18 stars 5 forks source link

Wiring on my end, just not right... #5

Closed mallen012 closed 5 years ago

mallen012 commented 5 years ago

Hello, I have tried for 2 days to get this hooked up and am so close. I have the upload and connection working from Arduino IDE, and can see the unit on my network and toggle switches from Hassio and see my switching across the serial monitor, just can’t get the LED strips to power up or respond. I am using the ones below.

https://www.amazon.com/gp/product/B01CNL6MNM/ref=ppx_od_dt_b_asin_title_o00_s01?ie=UTF8&psc=1

Any ideas? I’m guessing it can be something with my wiring.

Thanks in advance, Mike

Fma965 commented 5 years ago

Please post details photos showing your wiring.

Fma965 commented 5 years ago

you need to power the 12v strip with a 12v supply, gnd and +12v, then the middle pin (data pin) needs to go to pin D3 on the nodemcu, unless you change the code to use another pin, also keep in mind that if you have a long distance from your first LED and the node mcu, you will need a logic level shifter, i don't use one as my first LED is only about 50cm from the NodeMCU

mallen012 commented 5 years ago

That was it, I was reading the diagram and connecting to D5. All working now.

Fma965 commented 5 years ago

i changed it to D3 for my own reasons, i should update the image.