Comments (14)
So if you bypass the MOSFET and power the LEDs directly, they are much brighter?
I'm not sure what would cause that. I can't look into the datasheets at the moment but are you sure that the MOSFET is turning on at 3.3v? What if you attach the MOSFET directly to +3.3v instead of running through the ESP?
from esp-mqtt-rgb-led.
I did it just as it is described in the picture
from esp-mqtt-rgb-led.
Could you test the things I suggested in my reply?
from esp-mqtt-rgb-led.
I did the same thing as it is on your pciture and in your picture it is powered directly from 3.3v rail not from esp so yes I powered it directly from 3.3v rail not from esp
from esp-mqtt-rgb-led.
Please test the MOSFETs. Here's what I'd suggest:
Based on my picture, take the red, green, and blue wires that connect the MOSFETs to the ESP. Connect them from the MOSFETs directly to the 3.3v rail. That should force the MOSFETs to all turn on, setting the LEDs to maximum brightness.
from esp-mqtt-rgb-led.
Sorry but I cant understand what are you trying to say can you edit the picture and show me what you are trying to say?
from esp-mqtt-rgb-led.
I don't have the time right now to make a special wiring diagram just for this. Simply connect the gate leg of each MOSFET to the 3.3v rail, turning on the MOSFETs.
from esp-mqtt-rgb-led.
Connecting the MOSFETs directly to the 3.3v rail was just to test that the MOSFETs were functioning. By wiring it that way, we bypassed the ESP all together.
Now that we know the MOSFETs are functional and the brightness is fine, return the wiring to normal.
Are you able to directly send MQTT messages to the device using an MQTT client?
from esp-mqtt-rgb-led.
I didnt tried to send MQTT Messages using an MQTT Client but I used Homeassistant and its worked fine but due to normal wiring the brightness is low.
from esp-mqtt-rgb-led.
@ToxicF3AR Did you come up with a solution for this issue? I haven't been able to reproduce the issues with my setup and I haven't heard from others with the same issue.
from esp-mqtt-rgb-led.
The solution of this is only to replace the mosfets with the one you are using.
from esp-mqtt-rgb-led.
I am using IRFZ44N as mosfet and i have exactly same issue. Full brightness when bypassed but like 40% when normal. Switching mosfets does work?
from esp-mqtt-rgb-led.
I switched mosfets with LB8721 and it works perfect. Issue with this, mosfet Vgs value must be in range.
from esp-mqtt-rgb-led.
@osmantuna Thanks for following up. I wasn't able to reproduce this issue with the hardware I had on hand, so I was assuming that it was just the MOSFETs not matching the specs needed for being driven by the ESP8266.
from esp-mqtt-rgb-led.
Related Issues (20)
- Remove extra `const` creations for `CONFIG_*` defines.
- Find a way to extract the effects from the main logic
- Research: Using FastLED under the hood HOT 5
- adding support for WW/CW led strips HOT 2
- cant compile HOT 1
- support for arduino ethernet instead of esp8266 HOT 1
- How much power does the ESP8266 use?
- Home Assistant MQTT JSON light change HOT 1
- 4x4 keypad Need Help HOT 1
- parseObject() failed HOT 1
- Can this be used with cloud mqtt HOT 2
- Adding logarithmic brightness
- *** was not declared in this scope. HOT 2
- Configure over wifi using captive portal.
- Ability to use only white led HOT 2
- MQTT packet size HOT 3
- To Run Simple LED from MQTT JSON in ESP32
- RGBW ledstrip connection HOT 1
- How to set unique id for home assistant HOT 1
- White LED is always ON with 4-colours-in-1-LED (5050 RGBW) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-mqtt-rgb-led.