IoT Gateways and Custom Boards, Designed In-House
Gateways, controller boards and custom PCBs designed in-house for industrial monitoring, delivered with their firmware and cloud connection. 100+ devices and sensors connected.
Source: KoderTroop project records, across IoT gateway engagements.
Project Overview
Several of our systems run on hardware designed here. For industrial monitoring deployments, KoderTroop designs IoT gateways, controller boards and custom PCBs, lays the boards out in KiCad, writes their firmware and connects them to the cloud. A manufacturing partner fabricates the boards from our production files. The same hardware base is reused across our fleet, aquaculture, dispenser telemetry and smart infrastructure work.
The Business Problem
Industrial sites run equipment and sensors that speak different protocols, sit far from a network port and were never designed to report to the cloud. Off-the-shelf gateways often support the wrong mix of protocols, and few can be adapted.
What We Built
We design each gateway around its site. The compute platform, radios and field interfaces are chosen for what the deployment has to connect; then we design the board, write the firmware and connect it to a central MQTT broker. A low-power sensing node and a gateway running edge logic need different hardware, and the design reflects that.
The Outcome
Clients receive hardware that fits their equipment, with board, firmware and cloud under single-point accountability. A fault in the field is diagnosed and fixed in one place rather than disputed between vendors.
How It Is Built
- Compute, by Use Case
- ESP32 microcontrollers with embedded C/C++ firmware for low-power, single-purpose nodes; embedded Linux boards (OpenWRT or SBC-class) where a gateway has to run richer edge logic.
- Field Connections
- Modbus RS-485/RTU for industrial meters and controllers, Wi-Fi/MQTT sensors, LoRa and sub-GHz radio for long-range links, and BLE and Zigbee for short-range devices.
- Controller Boards
- Sensor and actuator interfaces with embedded firmware, for sensing and control at the equipment itself.
- PCBs
- Application-specific boards designed in KiCad and taken from prototype to production, with fabrication by a manufacturing partner.
- Cloud Side
- Gateways publish to a self-hosted MQTT broker that feeds the monitoring dashboards and analytics.
Project Details
Inside the Platform
The main screens, walked through one capability at a time.
| Device | Register | Name | Type | Scale | Last value |
|---|---|---|---|---|---|
| 1 · Energy meter | 30001 | Voltage L1 | float32 | ×1 | 231.4 V |
| 1 · Energy meter | 30007 | Current L1 | float32 | ×1 | 12.8 A |
| 1 · Energy meter | 30013 | Active power | float32 | ×1 | 2.94 kW |
| 1 · Energy meter | 30073 | Energy import | float32 | ×1 | 18,402.6 kWh |
| 2 · Pump controller | 40001 | Run state | uint16 | ×1 | 1 running |
| 2 · Pump controller | 40003 | Motor speed | uint16 | ×1 | 1,450 rpm |
| 2 · Pump controller | 40010 | Fault code | uint16 | ×1 | 0 |
| 3 · Flow meter | 30001 | Flow rate | float32 | ×1 | 42.6 m³/h |
| 3 · Flow meter | 30005 | Totaliser | uint32 | ×0.1 | 88,214.0 m³ |
| 4 · Pressure sensor | 30001 | Line pressure | int16 | ×0.01 | 3.42 bar |
| Channel | Connected to | Value | State |
|---|---|---|---|
| AI1 | Line pressure, 4–20 mA | 3.42 bar | Normal |
| AI2 | Tank level, 4–20 mA | 71 % | Normal |
| AI3 | Motor temperature, PT100 | 58.2 °C | Normal |
| AI4 | Spare | — | Unused |
| DI1 | Pump running feedback | 1 | On |
| DI2 | Low-level float switch | 0 | Clear |
| DI3 | Panel door | 1 | Open |
| DO1 | Pump contactor | 1 | On |
| DO2 | Alarm beacon | 0 | Off |
| DO3 | Dosing valve | 0 | Off |
| Board | Rev | Stage | Fab handoff | Updated |
|---|---|---|---|---|
| BLE reader board | A | Layout | — | 14 Nov |
| 24 V power supply | A | Prototype | Files exported | 14 Nov |
| Controller, 8 I/O | F | Prototype | DFM review | 13 Nov |
| Gateway main board | D | Pilot | In fabrication | 12 Nov |
| LoRa radio carrier | B | Prototype | Quote approved | 10 Nov |
| Gateway main board | C | Production | Delivered | 30 Sep |
| RS-485 interface | B | Production | Delivered | 22 Sep |
| LoRa radio carrier | A | Prototype | Delivered | 03 Sep |
| Controller, 8 I/O | E | Production | Delivered | 18 Aug |
| RS-485 interface | A | Prototype | Delivered | 26 Jul |
| Sensor node | C | Production | Delivered | 04 Jul |
| GPS tracker board | D | Production | Delivered | 21 Jun |
| Gateway main board | B | Pilot | Delivered | 15 Jun |
| Relay output board | B | Production | Delivered | 02 May |
| Gateway | Site | Compute | Field interfaces | Broker session | Status |
|---|---|---|---|---|---|
| GW-0307 | Site 03 · pump house | OpenWRT | RS-485LoRaBLEWi-Fi | 4 d 6 h | Online |
| GW-0301 | Site 03 · tank yard | ESP32 | LoRa | 11 d 2 h | Online |
| GW-0512 | Site 05 · treatment shed | Linux SBC | RS-485Zigbee | 2 d 19 h | Online |
| GW-0514 | Site 05 · outfall | ESP32 | LoRa | Retrying | Reconnecting |
| GW-0108 | Site 01 · compressor room | OpenWRT | RS-485Wi-Fi | 9 d 4 h | Online |
| GW-0110 | Site 01 · cold store | ESP32 | BLEWi-Fi | 6 h 12 min | Online |
| GW-0702 | Site 07 · boiler house | Linux SBC | RS-485BLE | Lost 03:12 | Offline |
| GW-0705 | Site 07 · yard | ESP32 | LoRa | 1 d 3 h | Online |
Each gateway carries the protocol mix its site needs, not a generic one.
Technologies & Delivery Models
Tech Stack
The tools we rely on for this layer of the system.
Related Case Studies
Related Work
Services
Industries
Planning a Comparable System?
Tell us about the device, the sites and the systems it has to connect to. A senior specialist will work through the architecture with you.