GithubHelp home page GithubHelp logo

Comments (14)

corbanmailloux avatar corbanmailloux commented on June 15, 2024

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.

 avatar commented on June 15, 2024

I did it just as it is described in the picture

from esp-mqtt-rgb-led.

corbanmailloux avatar corbanmailloux commented on June 15, 2024

Could you test the things I suggested in my reply?

from esp-mqtt-rgb-led.

 avatar commented on June 15, 2024

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.

corbanmailloux avatar corbanmailloux commented on June 15, 2024

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.

 avatar commented on June 15, 2024

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.

corbanmailloux avatar corbanmailloux commented on June 15, 2024

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.

corbanmailloux avatar corbanmailloux commented on June 15, 2024

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.

 avatar commented on June 15, 2024

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.

corbanmailloux avatar corbanmailloux commented on June 15, 2024

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

 avatar commented on June 15, 2024

The solution of this is only to replace the mosfets with the one you are using.

from esp-mqtt-rgb-led.

osmantuna avatar osmantuna commented on June 15, 2024

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.

osmantuna avatar osmantuna commented on June 15, 2024

I switched mosfets with LB8721 and it works perfect. Issue with this, mosfet Vgs value must be in range.

from esp-mqtt-rgb-led.

corbanmailloux avatar corbanmailloux commented on June 15, 2024

@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)

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.