Closed Max-5210 closed 5 months ago
The software side looks okay.
if (device_state.powerState == false) { // turn off?
digitalWrite(RED_PIN, LOW); // set
digitalWrite(GREEN_PIN, LOW); // mosfets
digitalWrite(BLUE_PIN, LOW); // low
I think it's the hardware (using the mosfet and the voltage divider). But I am not an expert when it comes to hardware.
Does it work correctly without sinricpro? Have you measured the voltage when it’s meant to be turned off
Hello, Thank you for your quick response, I've accidentally made a wiring error and changed the gate wiring to this, and now the colours work with google home and they aren't that white any more. Im wondering if this is normal that when i change the brightness of the light strip, the colour changes too. For example when I set the lights to red in google home, the lights at full brightness are purple, and when they are at half brightness they are a greenish white and they only show the real colour at around 10% brightness. Also in Sinric Pro when I set the colour, the lights match perfectly but in google home they don't. Is this a google home issue? The on button works but the off button doesn't work, and I've probed across all RGB and when I press on in google home, it is 12v but when I turn it off it is still 12V, is this my FET's gate resistor problem? Any help would be appreciated.
Hello, I don't know if its just me but my sinric pro with esp32c3 xiao rarely responds to on and off commands from portal.sinric and google home, and for some reason the colour for the RGB 5050 led strips, when they display RGB colour, the colour is really white and almost not visible, and I have changed the colour temperature settings but it did nothing, and this only happens when I change the colour in the google home. But strangely if i use portal.sinric.pro and sometimes google home voice commands they display the colour i want. Is this a hardware or software problem because im using three IRF540N fets with a 10k pulldown resistor for each fet, and a 150ohm resistor from the esp32c3's output pins to the gates of the fets. Below is a schematic of my wiring. Any help would be appreaciated.