Milesight UC511 mit Solarfront und UC512 auf Gartentisch, um ein Magnetventil per Funk zu steuern

Wireless Solenoid Valve Controller: Milesight UC511 vs UC512

A vegetable bed at the far end of a property or a lawn behind a warehouse usually has a water line but no power outlet. If you want to switch a valve out there from your desk or phone, you need a wireless solenoid valve controller that runs without mains power, opens and closes the valve reliably and receives commands across several hundred meters. That is exactly the job of Milesight’s UC51x series. The short answer to the comparison: both models drive two latching 12 V solenoid valves over LoRaWAN. The UC511 charges its batteries through a built-in solar panel and adds LoRaWAN Class C and Milesight D2D. The UC512 runs on replaceable primary batteries, needs no sunlight and, according to the manufacturer, lasts more than ten years in its most economical mode.

So the right choice depends less on the number of outputs and more on three questions. Does the mounting spot get sun? How quickly does the valve have to react to a command? And do you need a controller that works directly with a sensor, even without a gateway?

Milesight UC511 with solar front and UC512 on a garden table, each a wireless solenoid valve controller
Left, the UC511 with its solar panel built into the front; right, the battery-powered UC512. Enclosure, valve ports and dimensions are the same on both.

How does a LoRaWAN valve controller switch a solenoid valve?

Remote valve control over LoRaWAN involves more than the controller itself. The command starts in an application or platform, travels through the network server to a LoRaWAN gateway and from there over the air to the controller in the garden or field. The controller turns that command into a short electrical pulse on the valve’s coil, and the valve opens or closes.

The Milesight UC51x controllers have two solenoid interfaces, each taking one two-wire, latching 12 V DC solenoid valve. A 1.5 meter cable per interface is included from the factory. They also offer two dry-contact digital inputs that you can configure either as simple switch inputs or as pulse counters at up to 4,000 Hz. Those inputs can also count delivered volume from a device with a pulse output.

One planning point matters early: two outputs give you two independently switched zones, but that does not mean your supply line can feed both zones at once with enough pressure. Whether you open both valves together or one after the other is a hydraulics decision, not a controller decision. Likewise, a confirmed status message proves which pulse was sent, not that water is flowing. A test run with the real valve belongs in every commissioning.

Milesight UC511 vs UC512: what is the difference?

From the outside, the two devices differ only in their front panel. Enclosure (116 × 116 × 45.5 mm), IP68 rating, valve interfaces, inputs and radio are identical. The differences sit in the power supply and in everything that follows from it. The table summarizes the manufacturer’s figures from the current Milesight UC51x comparison.

Feature Milesight UC511 Milesight UC512
Power supply Built-in solar panel (6 V, 1.7 W) and 2 × 2,550 mAh rechargeable 18650 cells 3 × 9,000 mAh primary batteries (ER26500, Li-SOCl2), replaceable
External power 5–24 V DC, external-antenna (EA) version only not available
LoRaWAN classes Class A, B, C and “Class C to B” Class A and B
Milesight D2D yes, as a D2D agent in Class C mode no
Operating temperature −20 to +60 °C −30 to +70 °C
Weight with batteries 425 g (internal) / 467 g (EA) 479 g (internal) / 521 g (EA)

Read the table top to bottom and a clear pattern appears. The UC511 is the more flexible device: it can stay ready to receive at all times, work directly with sensors and, in the EA version, even run from an external DC supply. In return it needs light or power. The UC512 gives up Class C and D2D and gains independence from its location plus a wider temperature range. For schedule-based irrigation from a shaded valve box, it is often the simpler choice. Stick to figures for one hardware generation: older UC51x datasheets list different enclosure ratings or output options in places.

Why do battery valve controllers need latching solenoid valves?

A conventional, non-latching solenoid valve only stays open as long as current flows through its coil. A 30-minute watering run means 30 minutes of continuous current. On batteries, that ruins any runtime calculation. A battery pack that would otherwise power the controller for months would drain quickly this way.

A latching solenoid valve, sometimes sold as a pulse or bistable solenoid, solves this with a permanent magnet. A short current pulse moves the plunger into the open position, and the magnet holds it there without further energy. A second pulse with reversed polarity closes the valve again. The controller only uses energy at the moment of switching, which is exactly why a device like the UC512 can run for years on one set of batteries.

That leads to the most common wiring mistake. Many residential irrigation valves run on 24 V AC and are non-latching. You cannot operate those from a UC511 or UC512. You need a two-wire, latching valve rated for 12 V DC, or a matching latching replacement solenoid for your existing valve body, if the valve manufacturer offers one. Check explicitly that coil type and voltage match before you buy. The same nominal voltage is not enough if the valve expects a holding current.

One behavior is worth planning for: a latching valve stays in whatever position it was last switched to. If the radio link drops in the middle of a watering run, the valve does not close on its own. Set up watering with a fixed duration wherever possible, and keep an eye on the battery level instead of relying on a later close command always getting through.

Can the UC511 run on solar power alone?

On the UC511, the textured black front is the solar panel itself. The manufacturer rates it at 6 V and 1.7 W, and it charges two 18650 cells of 2,550 mAh each. To show how much of that energy is actually needed, Milesight publishes runtimes without any recharging, calculated with full batteries, a 20-minute reporting interval, four valve actions per day and 25 °C. In Class A, the batteries last about 8.4 years at SF7 and about 3.3 years at SF10. In Class B it is about 1.1 years, and in Class C only about 26 days.

Those numbers answer the question fairly clearly. In Class A and Class B, the solar panel is more of a reserve that keeps the batteries topped up for years. In Class C, the controller would not last a month without sun. There, the panel has to deliver more on average than continuous reception consumes, including on short, overcast winter days.

The UC511 has to be mounted with its front facing the sky, as free as possible from foliage, hedges and building shadows. Inside a closed valve box under a lid, it does not charge. If you need Class C but cannot put the controller in the sun, the manufacturer offers external solar panel kits as accessories for the UC511. The external-antenna version also adds a 5 to 24 V DC power input, in case a supply is available nearby. Plan for the temperature range as well: the UC511 is rated for −20 to +60 °C, which is narrower than the UC512.

Labeled front view of Milesight UC511 and UC512, comparing two wireless solenoid valve controller options
UC511 (left) with its textured solar front, UC512 (right) with a printed front. Both have two valve ports at the bottom; the units shown carry an SMA antenna connector on top.

How long does the UC512 battery last?

The UC512 uses three lithium thionyl chloride cells of type ER26500 with 9,000 mAh each. These primary cells cannot be recharged but lose little capacity over the years and cope well with cold, which fits the rated range of −30 to +70 °C. Under the same conditions as for the UC511, meaning a 20-minute reporting interval, four valve actions per day and 25 °C, Milesight states more than ten years for Class A. In Class B it is about 6.2 years at SF7 and about 5.8 years at SF10.

These are calculated values under lab assumptions, not a replacement date. A unit far from the gateway transmits at a higher spreading factor and needs more airtime per message, more frequent reports or many valve actions per day cost extra energy, and sustained cold reduces usable capacity. Expect less if your site sits at the edge of radio coverage, and use the reported battery level to schedule the replacement in good time.

The big advantage of the UC512 is that it does not depend on light. It can sit in a valve pit, under a cover or in the shade of a greenhouse bench. In return, factor access into your effort. A battery swap in a remote pit is not a two-minute job. Always replace the cells with the same type and change all three together.

LoRaWAN Class A vs Class C: how fast does the valve respond?

The LoRaWAN class determines when a device can receive commands from the network, and with it how long you wait for the valve to open. In Class A, the controller opens two short receive windows only right after one of its own transmissions. A command you send from the app waits at the network server until the controller checks in next. With a 20-minute reporting interval, that can mean up to 20 minutes.

Class C keeps the receiver open continuously. Commands arrive almost immediately but, as the 26-day runtime without sun on the UC511 shows, at a very high energy cost. Only the UC511 offers this mode, and Milesight also lists a “Class C to B” mode for it. Between the two sits Class B, which adds scheduled receive windows synchronized by gateway beacons every 128 seconds. Depending on the configured period, response times range from seconds to about two minutes. This requires Class B support in both gateway and network server, and the gateway needs an accurate time source, usually GPS.

For your choice, that means: if you water on a fixed schedule, Class A is entirely sufficient, because the schedule lives in the device and needs no command from the network. But if you want an irrigation valve controller that responds when someone on site asks for an extra watering through the app, Class A quickly tests your patience. Then Class B with the UC512 or Class C with the UC511 are the right options, provided your network infrastructure supports them.

Can a valve controller follow its schedule without a network connection?

Yes, and for irrigation this is one of the most important features. The Milesight UC51x store up to 16 schedule events and local rules directly in the device. According to the manufacturer, they execute these preset commands autonomously even when the network is unavailable. If the gateway goes down or the internet connection fails, the controller still opens and closes the valves at the planned time.

Logic that lives in a platform is a different story. A rule such as “open the valve when soil moisture drops below a threshold” that is evaluated on a server needs the complete path through gateway and network server. Without a connection, it does not run. During setup, check deliberately which settings live in the device and which live in the platform, and test an outage including reconnection before the system runs unattended. After reconnection, delayed commands must not trigger a second watering.

Only the UC511 offers a third path: Milesight D2D. Here a Milesight sensor sends a control command directly over LoRa to the controller, bypassing gateway and server. The UC511 acts as a D2D agent in Class C mode and responds to the commands configured in advance. That gives you a solenoid valve controller that reacts to a sensor reading even when the infrastructure is down. The UC512 explicitly does not support D2D. Confirm that your sensor and its firmware support D2D, too.

Internal or external antenna: which valve controller variant do you need?

Both controllers come with an internal antenna or as an EA version with an SMA connector (50 Ω, female) for an external antenna. According to the manufacturer, the radio transmits at 16 dBm in the 868 MHz band and reaches a sensitivity of −137 dBm at 300 bps. Mounted close to the ground, however, a device loses a lot of range.

The internal antenna is the right choice when the controller hangs above ground, on a post or a wall for example, and the gateway is not too far away. The EA version pays off when the unit sits in a valve box, under a metal or concrete lid or deep in vegetation. You then run the antenna up into the open and keep the controller protected below. On the UC511, the EA version also brings the external DC power input; on the UC512, it does not.

A common mistake is the desk test. A join next to the gateway proves nothing about a closed pit. Test at the final location with the lid closed and watch the signal values over a few days. The IP68 rating (1 meter of water for 7 days) applies to the enclosure. You still have to make the cable connections to the valve watertight yourself.

Where can you buy a wireless solenoid valve controller?

Before you decide on a model, go through the points from this comparison in order. First, the valve: you need two-wire, latching solenoid valves rated for 12 V DC, not 24 V AC irrigation valves. Second, power: if the mounting spot gets reliable sun, the UC511 with its solar panel is a strong fit. If the unit sits in shade or in a pit, the UC512 with its primary batteries suits it better. Third, response time: pure schedules run fine in Class A, while on-demand commands from an app call for Class B or Class C. Fourth, working with sensors: if a sensor should switch the valve directly without a gateway, you need D2D and therefore the UC511. Fifth, the radio path: for pits and ground-level mounting, choose the EA version with an external antenna. If those criteria point you toward a wireless solenoid valve controller, you will find both models in our valve controller category.

Our latest news

Scroll to top