PWM for Analog strips #735
Replies: 13 comments 3 replies
|
Yes. If you compile with the relay functionality turned in, you can output PWM on a few of the ESPs output pins. Not all platforms support the outputs so you may need to do a custom build. |
|
It is -1 on both builds. When it is -1, the channel is not configured. You need to assign a GPIO. Yes the outputs support both PWM and on/off mode. The trigger point is only valid in on/off mode. |
|
Did you see the attached file?In esp8266 -1 becomes 4294967295On 27 Jan 2024, at 16:28, Martin Mueller ***@***.***> wrote:
It is -1 on both builds. When it is -1, the channel is not configured. You need to assign a GPIO. Yes the outputs support both PWM and on/off mode. The trigger point is only valid in on/off mode.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
Anything more on this or can we close the discussion? |
|
The ESPixelStick V3 hardware does not support relay functionality so you will not see it in the config options. There are other platforms that do support PWM outputs, just not the V3 hardware. |
|
So what you're saying is, I have the wrong hardware for what I'm trying to
achieve. Oh well, guess I should've done more research first...
I did also pick up some ESP Relay Shields, I don't suppose you know if I
can get the Wemos D1 Mini from the top and reconfigure it to ACT as a Relay
controller over e1.31 (sACN)?
…On Thu, Oct 30, 2025 at 6:12 PM Martin Mueller ***@***.***> wrote:
The ESPixelStick V3 hardware does not support relay functionality so you
will not see it in the config options. There are other platforms that do
support PWM outputs, just not the V3 hardware.
—
Reply to this email directly, view it on GitHub
<#735 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMLUU3L5PG6MGHOYI6LZ2QL32KEOTAVCNFSM6AAAAACCARVM42VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIOBTGE4TEOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
ESPixelStick V4 SW supports almost any ESP platform you can put together. Yes it can do that. |
|
Martin,
I hate to bombard you as Tech Support for your firmware, but want to see if
you can spot the solution.
I bought some cheap ESP32 Relay Shields off Amazon, plugged one into the
Wemos D1 from a PixelStick setup, loaded the v4.5 beta firmware for a D1.
Got the Relay on the second output, can even control them from sACN (E1.31)
as shown through the web interface, but the relay shield itself won't
trigger.
I'm thinking it's something in the GPIO ID in the firmware, or maybe the
relay is expecting something different from what it's getting sent, but I'm
really new to ESP32 and all of this, so if you know where to look, I'd
appreciate it.
Thanks!
…On Thu, Oct 30, 2025 at 7:38 PM Martin Mueller ***@***.***> wrote:
ESPixelStick V4 SW supports almost any ESP platform you can put together.
Yes it can do that.
—
Reply to this email directly, view it on GitHub
<#735 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMLUU3MA7FV2OUOEV4MQHIT32KOPZAVCNFSM6AAAAACCARVM42VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIOBTGIZTKMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
Please send a link to the relay board. I suspect you have a voltage problem. ESP GPIOs run at 3 volts and do NOT have a lot of current carrying capacity. |
|
https://www.amazon.com/HiLetgo-Relay-Shield-Module-WeMos/dp/B01NACU547/147-6117991-8813133
It says 5v, and I'm powering the Wemos off the 5v USB for now. I'm handy
enough with a soldering iron if I need to reroute a few pins though. Was
already planning on using some extension cables to test a different board
as I'm out of Female Headers at the moment.
…On Sat, Nov 1, 2025 at 3:55 PM Martin Mueller ***@***.***> wrote:
Please send a link to the relay board. I suspect you have a voltage
problem. ESP GPIOs run at 3 volts and do NOT have a lot of current carrying
capacity.
—
Reply to this email directly, view it on GitHub
<#735 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMLUU3NSTC7CRN7UV57Q7PD32UF27AVCNFSM6AAAAACCARVM42VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIOBUG43TIOA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
the esp gpio cannot drive that relay directly. You need to add a 3.3c to 5v level shifter. |
|
Actually, I was just about to message you. Turns out, if you don't use the
headers, but connect 5v, GND and D4 pins to 5v, GND and D1 (on the Relay)
it works to at least trigger the relay to flip. Part of the problem (found
in an Amazon review) is the relay is expecting D1, but the newer boards use
that for something else. Now I just need to figure out the config (GPIO ID)
to trip D4 on the Wemos, and I bet it works.
…On Sat, Nov 1, 2025 at 5:31 PM Martin Mueller ***@***.***> wrote:
the esp gpio cannot drive that relay directly. You need to add a 3.3c to
5v level shifter.
—
Reply to this email directly, view it on GitHub
<#735 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMLUU3KZ2RNWX5JRZ2PEQBT32URC3AVCNFSM6AAAAACCARVM42VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIOBUHAYTENY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
Even if it works, it is not using PWM AND the trigger voltage is marginal. You may find times when it seems to skip a transaction. |

Uh oh!
There was an error while loading. Please reload this page.
Hi have seen that PWM output is possible with a special I2C chip.
Is it also possible using the processor pins?
All reactions