# US 2020/0264576 A1 · Code replacement for irrigation controllers

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0264576 A1
- Document ID: US20200264576A1
- Status: Published application
- Kind: A1
- Application number: 15/929,482
- Filed: 2020-05-05
- Published: 2020-08-20
- Earliest claimed: 2007-06-22
- Assignees: Rain Bird Corporation
- Applicants: Rain Bird Corporation
- Inventors: Harvey J. Nickerson; Russel Dean Leatherman; James R. Musselman; Andrew M. Nguyen; Nicholas N. Lapshov
- Web page: https://patentgrep.com/patent/US20200264576A1

## CPC

- G05B 19/0426: {Programming the control sequence}
- A01G 25/16: Control of watering
- G05D 7/0617: {specially adapted for fluid materials}
- G05D 7/0676: {by action on flow sources (G05D7/0688, G05D7/0694 take precedence)}
- G05B 2219/23312: Load program from attached device to control that device
- G05B 2219/23339: Update diskette, cassette initiates bootstrap program to load eeprom, flash
- G05B 2219/25314: Modular structure, modules
- G05B 2219/2625: Sprinkler, irrigation, watering
- Y10T 137/86389: Programmer or timer
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- A01G: HORTICULTURE; CULTIVATION OF VEGETABLES, FLOWERS, RICE, FRUIT, VINES, HOPS OR SEAWEED; FORESTRY; WATERING (picking of fruits, vegetables, hops or the like A01D46/00; propagating unicellular algae C12N1/12)
- G05D: SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- Y10T: TECHNICAL SUBJECTS COVERED BY FORMER US CLASSIFICATION

## Abstract

Some embodiments provide irrigation controllers comprising: a housing; a control unit including a first microcontroller configured to execute irrigation programs and a first set of code; and a removable plug-in device that removably mates with a portion of the irrigation controller and communicationally couples to the first microcontroller, wherein the plug-in device comprises a memory storing a second set of code to replace at least a portion of the first set of code, wherein the plug-in device is configured to re-flash at least a portion of the first set of code allowing a copy of the second set of code to overwrite at least the portion of the first set of code; wherein the first set of code comprises a bootloader that writes the copy of the second set of code over the first set of code with the exception of the bootloader that is not written over.

## Claims

### Claim 1

An irrigation controller comprising:
a control device including a first microcontroller configured to execute stored irrigation functions using a first set of code; and
a removable plug-in device that removably mates with a portion of the irrigation controller such that the removable plug-in device is communicationally coupled to the first microcontroller, wherein the removable plug-in device comprises a memory storing a second set of code to be utilized in a re-flash to replace at least a portion of the first set of code, wherein the removable plug-in device is configured to enable a re-flash of at least the portion of the first set of code allowing a copy of the second set of code to be transferred to the control device to be used in the re-flash as at least part of an overwrite of the at least the portion of the first set of code of the control device;
wherein the removable plug-in device is assigned an Internet Protocol (IP) address and comprises a wireless transceiver configured to wirelessly communicate with remote devices.

### Claim 2 (depends on 1)

The irrigation controller of claim 1, wherein the removable plug-in device in enabling the re-flash is configured to overwrite less than all of the first set of code of the control device.

### Claim 3 (depends on 1)

The irrigation controller of claim 1, wherein the removable plug-in device further comprises a second microcontroller, the second microcontroller configured to communicate using a first protocol to transfer the copy of the second set of code, and the second microcontroller further configured to communicate with the first microcontroller using a second communication protocol while the control device implements the irrigation functions.

### Claim 4 (depends on 1)

The irrigation controller of claim 1, wherein the first microcontroller is configured to implement the transfer of the copy of the second set of code to the control device when a version of the second set of code is newer than a version of the first set of code of the control device.

### Claim 5 (depends on 1)

The irrigation controller of claim 1, wherein the memory of the removable plug-in device further stores additional functionality code that when implemented provides additional functionality usable by the control device; and
the second set of code includes operating code that when the copied second set of code is utilized by the control device allows the control device to utilize the additional functionality of the removable plug-in device that could not be utilized by the control device without the copy of the second set of code.

### Claim 6 (depends on 1)

The irrigation controller of claim 1, wherein the control device further comprises a key that is used to decrypt the copy of the second set of code.

### Claim 7 (depends on 1)

The irrigation controller of claim 1, wherein the copy of the second set of code is transferred and is stored overwriting the at least the portion of the first set of code of the control device without user interaction.

### Claim 8 (depends on 1)

The irrigation controller of claim 1, wherein the first microcontroller receives a signal from the removable plug-in device indicating the presence of the removable plug-in device to the control device and identifying that the removable plug-in device contains the second set of code.

### Claim 9 (depends on 1)

The irrigation controller of claim 1, wherein the removable plug-in device includes code to measure fluid flow and report the measured fluid flow to the control device.

### Claim 10 (depends on 1)

The irrigation controller of claim 1, wherein the first set of code comprises an operating code and the second set of code is configured to replace at least a portion of the operating code of the control device.

### Claim 11 (depends on 10)

The irrigation controller of claim 10, wherein the first set of code comprises first firmware and the second set of code comprises second firmware, wherein the second firmware is configured to replace at least a portion of the first firmware.

### Claim 12 (depends on 11)

The irrigation controller of claim 11, wherein the first firmware of the control device comprises a bootloader code that when implemented by the control device causes the control device to implement the re-flash to replace at least the portion of the first firmware of the control device with the second firmware.

### Claim 13 (depends on 12)

The irrigation controller of claim 12, wherein the bootloader code is protected and configured to be activated even when a version of the first firmware of the control device becomes corrupt or is incompletely replaced, and the bootloader code is further configured to control a replacing of the portion of the first firmware of the control device, which does not include the bootloader code, with the second firmware.

### Claim 14 (depends on 12)

The irrigation controller of claim 12, wherein the second set of code comprises an alternate bootloader code configured to be copied to a memory and accessible by the control device such that the control device is reactivated to access the alternate bootloader code instead of the bootloader code, and wherein the alternate bootloader code is configured to initiate the re-flash of the first firmware with the second firmware.

### Claim 15 (depends on 10)

The irrigation controller of claim 10, wherein the second set of code is configured to be activated to identify a version of the first firmware of the control device, to determine whether the second firmware is a newer version of firmware, and to activate the re-flash of at least the portion of the first set of code to be overwritten by the copy of the second set of code.

### Claim 16 (depends on 1)

The irrigation controller of claim 1, wherein the second set of code does not include irrigation functions.

### Claim 17 (depends on 1)

The irrigation controller of claim 1, wherein first set of code does not include the stored irrigation functions.

### Claim 18 (depends on 1)

The irrigation controller of claim 1, wherein the removable plug-in device is configured to wait, following the communicationally coupling with the first microcontroller, for a first silent period over a communication coupling with the first microcontroller to enumerate itself to the control device following the first silent period.

### Claim 19 (depends on 18)

The irrigation controller of claim 18, wherein the removable plug-in device is configured to assume a collision on the communication coupling when a reply to the enumeration is not received within a predefined reply period of time; apply a back off period; and re-attempt to the enumeration to the control device following the back off period.

### Claim 20 (depends on 1)

The irrigation controller of claim 1, further comprising a bootloader stored on the removable plug-in device having a processor communicatively coupled with the wireless transceiver.
