Skip to content
Sector
Environmental monitoring
Client
River infrastructure project · via Geotechnics
Year
2026
Role
Firmware, diagnostics and operator tools

Keeping an autosampler alive on a battery and a modem.

Low-power logger firmware, serial diagnostics and safety tools for a remote automatic water sampler with around thirty sensor nodes.

Photo placeholder (P05): Field photo: automatic water sampler and logger enclosure installed on site.

Results

  • ~30

    sampler sensor nodes monitored

  • 4 / day

    scheduled readings

  • 1 / day

    transmission to save power

An automatic water sampler controlled by a Campbell Scientific CR350 logger had to run unattended on a limited battery, with intermittent cellular access and around thirty sensor nodes. When the battery fell to about 9.3 V the site went dark. My job was to make it last, make its state visible and make it safe to operate remotely.

Power and communications

  • Rewrote the CR350 program for low power: the sensor supply is switched on only while reading, the serial port is opened and closed around each cycle and the modem gets a bounded window each hour.
  • Reduced the schedule to four readings and one transmission per day once the real power budget was clear.
  • Separated FTP paths for raw sampler data and diagnostics, with cleanup and retry handling.

Diagnostics that tell the truth

Cycles reported 30 nodes OK and none failed while one node was clearly misbehaving. Overall read success does not mean every sensor is healthy, so I added raw pressure reads over serial, sensor masks and diagnostic tables per node.

Operator tools

  • Program Analyzer: shows the programme that is actually running — start, next sample, schedule, volume and bottle capacity — not just the one listed in the report.
  • Program Guardian: a periodic check that defensively stops programmes started locally outside the permitted window, without interfering with sampling, keypad use or downloads.
  • Free this bottle: lets authorised users release a bottle and update the operational state, with separate admin and client permissions.

These are engineering controls still being validated in the field, not a certified safety function.

Gallery

  • Photo placeholder (P06): Inside the enclosure: Campbell CR350, cellular modem, battery and wiring.
    Logger, modem and battery: the whole power budget lives in this box.
  • Photo placeholder (P07): Screenshot: Program Analyzer and Program Guardian status panel.
    Program Analyzer separates what is listed from what is actually running.

Services

  • Embedded systems & instrumentation
  • Telemetry & IoT integration
  • Platform & application software

Tools & tech

  • CRBasic
  • Campbell CR350
  • CELL230 modem
  • Osprey ASP
  • Serial 9600 8N1
  • FTP

Got a similar challenge?Let’s talk.

Get in touch