Live data from Hacker News

ESP32 Wemos D1 Mini – Sprinkler Controller Open Source

github.com

11–20 of 32 posts

Re: ESP32 Wemos D1 Mini – Sprinkler Controller Open Source

#11
post #6

24V AC to me seems like a strange choice when using DC-DC power supplies allows for using any external adapter, including USB PD, without the need for a loose transformer.

A relic of the ancient days before everything ran on tiny switching converters! There's tons of 24Vac stuff that unfortunately doesn't seem to be interested in switching anytime soon.

Also, AC is easier to switch with physical switches, and there's a ton of stuff still using physical relays at low voltage. It would be nice to go DC but there seems to be inertia.

Re: ESP32 Wemos D1 Mini – Sprinkler Controller Open Source

#12
post #2

I don't think there's a D1-ESP32 board? The D1 Mini is Wemos' ESP8266 board. They do have ESP32 boards with the same footprint, but those are not D1 Mini but S2 Mini, S3 Mini and C3 Mini, depending on whether it's ESP32-S2/-S3/-C3.

Indeed, there is no D1-ESP32 from Wemos. It's a name used by several non-Wemos clones that have an ESP32 chip in a module form factor that is compatible with the original Wemos D1 mini.

The challenge is that these modules are not all the same. The differences are for example in the voltage regulator and how much current you can draw from it. Which can make something work fine with one "D1-ESP32" while not working with another.

Re: ESP32 Wemos D1 Mini – Sprinkler Controller Open Source

#13
post #6

24V AC to me seems like a strange choice when using DC-DC power supplies allows for using any external adapter, including USB PD, without the need for a loose transformer.

A relic of the ancient days before everything ran on tiny switching converters! There's tons of 24Vac stuff that unfortunately doesn't seem to be interested in switching anytime soon. Also, AC is easier to switch with physical switches, and there's a ton of stuff still using physical relays at low voltage. It would be nice to go DC but there seems to be inertia.

I think there is more to it than that— AC lets you move current over longer wires without voltage drop or having to use really thick wire. This is why Tesla triumphed over Edison. Honestly, there are a ton of applications that could benefit from low voltage AC that don’t leverage it because DC is king in on the test bench and that inertia creates the need for klunky workarounds to overcome its deficiencies in large, long series circuits.

Re: ESP32 Wemos D1 Mini – Sprinkler Controller Open Source

#14
Apart from the fact that sprinkler systems are almost always 24VAC and every commercial sprinkler controller I have ever used or investigated use optocouplers/fets/triacs I don’t really have a good reason to get irritated by homebrew designs that use relays, but I do get irritated. I think the irritation comes from wanting to really learn-by-copying how to design these circuits and many hours searching for exemplars and reading datasheets left me pretty confounded (though most of this was during the great supply chain squeeze so I couldn’t find the right combos of triacs and optocouplers ins stock and the datasheets led me to believe that subbing out a non zero cross would probably be a problem, or not being able to find logic level triacs)

Re: ESP32 Wemos D1 Mini – Sprinkler Controller Open Source

#15
post #6

24V AC to me seems like a strange choice when using DC-DC power supplies allows for using any external adapter, including USB PD, without the need for a loose transformer.

A relic of the ancient days before everything ran on tiny switching converters! There's tons of 24Vac stuff that unfortunately doesn't seem to be interested in switching anytime soon. Also, AC is easier to switch with physical switches, and there's a ton of stuff still using physical relays at low voltage. It would be nice to go DC but there seems to be inertia.

Worth noting that nearly everything that claims to run from 24 Vac also runs from 5Vdc. Nearly everything modern has a little circuit board which just detects 'voltage' or 'no voltage'.

The exception is 'dumb' solenoids, valves, pumps etc, which are actually powered by the 24Vac.

Re: ESP32 Wemos D1 Mini – Sprinkler Controller Open Source

#16
Anyone else have reliability issues with the ESP32?

I have a few of them connected to various wifi networks, and after a couple of years they always seem to disconnect and need a power cycle before they'll reconnect.

I understand they might lose the wifi connection, or their DHCP lease, or there might be interference, or something blasts too many packets at them, or a TCP connection hangs or gets RST... But after any of those, I expect them to recover, reconnect, and continue working. However, even a hello world web server on ESP32 seems unable to do that.

However, it's really hard to track down bugs that only happen once a year when I only have ~10 of these devices.

Re: ESP32 Wemos D1 Mini – Sprinkler Controller Open Source

#17

Anyone else have reliability issues with the ESP32? I have a few of them connected to various wifi networks, and after a couple of years they always seem to disconnect and need a power cycle before they'll reconnect. I understand they might lose the wifi connection, or their DHCP lease, or there might be interference, or something blasts too many packets at them, or a TCP connection hangs or gets RST... But after any…

You could set up a watchdog of some sort that reboots the system if it can't connect to the internet.

Re: ESP32 Wemos D1 Mini – Sprinkler Controller Open Source

#18

Anyone else have reliability issues with the ESP32? I have a few of them connected to various wifi networks, and after a couple of years they always seem to disconnect and need a power cycle before they'll reconnect. I understand they might lose the wifi connection, or their DHCP lease, or there might be interference, or something blasts too many packets at them, or a TCP connection hangs or gets RST... But after any…

Mine just doesn't want to connect to WiFi anymore. I'm (or well: was) using this one [1]. Also it feels tricky to update the software, and keep it updated. I'm in the process of switching to a Bresser weather station [2], using SDR to receive the signal and feeding that into Home Assistant.

The other two I'm using (knowingly!) is with Flipper Zero, and they seems very reliable. But I wouldn't define those as traditional WLAN clients.

[1] https://thingpulse.com/product/espaper-plus-kit-wifi-epaper-...

[2] https://www.bresser.de/en/Weather-Time/Weather-Center/BRESSE...

Re: ESP32 Wemos D1 Mini – Sprinkler Controller Open Source

#19
post #13

Earlier quoted context omitted.

A relic of the ancient days before everything ran on tiny switching converters! There's tons of 24Vac stuff that unfortunately doesn't seem to be interested in switching anytime soon. Also, AC is easier to switch with physical switches, and there's a ton of stuff still using physical relays at low voltage. It would be nice to go DC but there seems to be inertia.

I think there is more to it than that— AC lets you move current over longer wires without voltage drop or having to use really thick wire. This is why Tesla triumphed over Edison. Honestly, there are a ton of applications that could benefit from low voltage AC that don’t leverage it because DC is king in on the test bench and that inertia creates the need for klunky workarounds to overcome its deficiencies in large,…

AC used to let you step up voltage easier, and switch without as much arcing, and higher voltage allows one to send more power over longer wires.

We also rate AC voltage by RMS, which (for resistive loads) is the voltage that would transfer the same amount of power as the DC equivalent.

But really the peak voltage is higher, so we need parts with a higher rating despite the fact we are not using that peak the whole time.

And then there's issues with power factor. Modern gadgets don't draw power in the nice sine wave pattern without extra tech to make that happen. The extra tech is common now, but isn't needed with DC. Without PFC, you get more line resistance losses than you want.

But now we have solid state switching, and it's cheaper to convert DC with a SMPS than a bulky transformer.

We also don't use long series circuits commonly in anything I know about, except for Christmas lights, which are mostly LED now and work fine as they are(As long as nobody forgets a smoothing capacitor to get rid of that horrid flicker the cheap ones have).

Series circuits have the same current everywhere, but modern stuff is constantly changing the current it draws to save power. Which would be an issue if one device wants to be in sleep mode but the other wants to be full power.

I suppose we could do series circuits with constant current power supplies, so the supply pushes a constant 1 amp, and the devices alter their voltage drop to draw more or less current, rather than altering their current draw.

AC seems to be more suited for higher voltages(Where arcing is a problem) and analog stuff(if you don't want to use SMPSes and you have resistive loads to drive).

Post reply on HN