Osama Muhammad Khalid · Project Portfolio

Technical detail behind the delivery.

Objectives, implementation work, system components, architecture explanations and available project diagrams, with a business-summary view beside each project.

26Projects
8Project domains
52Project images
Technical project records
A · Counter-Drone & Airspace Surveillance

PTZ Sky-Scanning Drone Detection System

2021
PythonDahua PTZ HTTP APISky-scan automationAI detection hand-offSensor-effector loopC-UAS🌟 Smart City🔥 O&G/OT⚡ Ind. Power
Internal delivery
Challenge

Protecting airspace from unauthorized drones needs a camera that keeps sweeping the sky rather than staring at one fixed view.

Solution

Wrote Python control software on the Dahua PTZ camera's HTTP API that sweeps a predictable scan pattern and, when the AI computer reports a drone, switches to tracking to keep it in frame.

Impact & Scale

Delivered the camera-control layer of a drone-detection system at QMIC (2021).

Building blocks
Needs input: Deployment site, detection range or accuracy.

Objective

Provide an automated, continuously moving sensor layer for detecting unauthorized drones in protected airspace by driving a PTZ camera through a deterministic sky-scanning pattern and handing off confirmed detections to a downstream AI inference engine.

Tasks Performed

Studied Dahua PTZ HTTP API documentation to understand pan/tilt/zoom control endpoints. Wrote a Python control application that commanded the camera head through a predictable, repeating scan pattern across defined azimuth and elevation angles. Implemented a detection callback interface: when the downstream AI computer identified a drone in frame, the system switched from scan mode to track mode, locking the camera onto the target to keep it within frame. Tuned scan speed and step intervals to balance coverage rate against frame quality for AI inference.

Items Involved

Dahua PTZ IP camera · Dahua HTTP REST API · Python control application · AI inference computer (downstream) · network infrastructure

How the Elements Connect

The Python controller issues sequential HTTP commands to the camera's pan/tilt endpoints, driving a raster scan across the sky sector. Video is simultaneously streamed to the AI inference computer which runs a drone detector. A positive detection triggers a callback to the Python controller which switches from pre-programmed scan coordinates to real-time tracking: it reads the drone's bounding-box position within the frame and issues corrective pan/tilt commands to center it. This sensor-effector loop is directly analogous to a C-UAS cue-track-engage pipeline.

Outcome

Deployed as part of QMIC's counter-drone capability suite. Demonstrated how a commodity PTZ camera can be transformed into a programmable airspace sensor through software alone, with no custom hardware modifications. Established the pattern later used for Smart-Parking PTZ installations.

Technical details image
A · Counter-Drone & Airspace Surveillance

Drone Swarm Communication via Extended BLE Beacons

2021
BLE / iBeaconBlueZ (Linux)Python struct packingRSSI rangingGPS telemetryWikipedia contribution🌟 Smart City🔥 O&G/OT
Internal delivery
Challenge

Drones in a swarm needed to share position data without relying on network infrastructure.

Solution

Extended the Apple iBeacon frame on Linux (BlueZ, Python) to carry GPS and altitude in as few bytes as possible, and used RSSI to estimate distance between drones.

Impact & Scale

Working beacon-based swarm messaging at QMIC (2021); the iBeacon-on-Linux findings were also contributed to the iBeacon Wikipedia article.

Building blocks
Needs input: Swarm size, range achieved.

Objective

Enable a swarm of Raspberry Pi-based drone platforms to broadcast GPS position, altitude, and identity to one another over Bluetooth Low Energy, using the existing iBeacon advertising channel extended with custom telemetry payload — with no additional radio hardware.

Tasks Performed

Studied the Apple iBeacon specification at byte level to understand the advertising packet structure. Investigated the Linux Bluetooth stack (BlueZ) to learn how to craft and transmit raw HCI commands from userspace. Designed an extension to the iBeacon frame that packed GPS latitude, longitude, and altitude into the remaining advertising bytes using Python struct packing, optimizing for minimum byte usage. Implemented the full broadcast and receive stack in Python. Separately implemented RSSI-based inter-drone range estimation for proximity awareness. Documented the Linux iBeacon implementation approach and added it to the iBeacon Wikipedia article to preserve the knowledge.

Items Involved

Raspberry Pi (running Linux) · Bluetooth USB adapter · BlueZ Linux Bluetooth stack · Python with struct module · iBeacon advertising standard · GPS receiver · RSSI measurement

How the Elements Connect

Each drone's Raspberry Pi reads GPS coordinates and packs them (along with altitude and ID) into a custom iBeacon advertising payload using byte-level struct encoding. The BlueZ HCI socket API sends this crafted frame over the Bluetooth radio. Neighboring drones receive the beacon passively, decode the struct bytes to recover GPS and altitude, and measure the received signal strength (RSSI) to estimate inter-drone distance. No active pairing is required — all communication is one-way broadcast, keeping the air interface efficient and resilient.

Outcome

Working swarm telemetry layer demonstrated on Linux hardware. The Wikipedia article addition was cited by engineers encountering the same challenge, preserving institutional knowledge beyond the project. Established Osama's depth in low-level Bluetooth protocol engineering and Linux wireless internals.

Technical details image
Diagram 7 — BLE Drone Swarm: iBeacon Packet Structure & RSSI Ranging
Diagram 7 — BLE Drone Swarm: iBeacon Packet Structure & RSSI Ranging
B · Autonomy & Unmanned Systems

Automated Drone Landing Hangar

2018
Raspberry Pi ZeroPython socketsUDP discoveryTCP commandWiFi AP/STA3D CAD🌟 Smart City🔥 O&G/OT
Prototype
Challenge

A small drone needed to reach its hangar hands-free: doors open on approach and close after landing.

Solution

Designed hangar and door concepts; wrote Python for two Raspberry Pi Zeros (hangar Wi-Fi AP, automatic connect, UDP discovery then TCP command channel); also 3D-designed and printed a magnetic undercarriage for a hex-copter.

Impact & Scale

Working drone-to-hangar signalling built during a QMIC internship (2018).

Building blocks
Needs input: Test results, number of landings.

Objective

Allow a small quadcopter to autonomously signal a ground-based hangar to open its doors, land, and trigger door closure — with no manual operator input — using proximity-based WiFi communication between the drone and hangar controllers.

Tasks Performed

Designed multiple door articulation concepts in 3D CAD and 3D printed mechanical prototypes. Set up two Raspberry Pi Zeros for headless operation (SD card flashing, WiFi credential injection, SSH configuration). Wrote Python control code for the drone-side RPi and a separate Python service for the hangar-side RPi. Engineered the multi-step communication handshake: the hangar broadcasts a WiFi AP; when the drone enters range, it auto-connects, then sends a UDP discovery packet; the hangar replies; both sides switch to a persistent TCP channel for reliable command exchange. Separately designed and 3D printed a hexacopter undercarriage with magnet mounting and PCB compartment.

Items Involved

2× Raspberry Pi Zero W · Python (socket programming) · WiFi AP/station mode · UDP discovery · TCP command channel · 3D CAD (drone door mechanisms, hexacopter undercarriage) · 3D printer · magnets

How the Elements Connect

Physical proximity is the implicit trigger: as the drone descends toward the hangar, it enters the hangar's WiFi broadcast range and its RPi automatically associates. The UDP/TCP handshake sequence then establishes a reliable command channel — a clean separation between unreliable broadcast (UDP) and reliable commands (TCP). The hangar control code drives servo or motor actuators to articulate the doors in response to TCP commands.

Outcome

Working prototype demonstrated during the summer 2018 internship. Established Osama's foundational embedded Linux, RPi, and network socket programming skills that underpin every subsequent project.

Technical details image
Diagram 2 — Drone Hangar: WiFi Proximity Handshake Sequence
Diagram 2 — Drone Hangar: WiFi Proximity Handshake Sequence
B · Autonomy & Unmanned Systems

Drone Mission Generator + Live MAVLink Execution

2021
MAVLinkPixhawkGPS path planningPython🌟 Smart City🔥 O&G/OT
Internal delivery
Challenge

Surveying an area by drone needs a repeatable scan path from GPS corner points, not hand-planned waypoints.

Solution

Python generator converts GPS to real distances, derives scan legs from flight height, reduces turns, exports KML to Google Earth, and flies the mission over MAVLink; circular missions added.

Impact & Scale

Missions executed on a target drone via MAVLink (2021, QMIC).

Building blocks
Needs input: Area covered, flight trials.

Objective

Given a GPS-bounded rectangular area, automatically generate an optimal lawnmower scanning flight path and execute it live on a drone using the MAVLink autopilot protocol.

Tasks Performed

Wrote Python code to accept corner GPS coordinates, convert degrees to metric distances, compute the number of scan legs based on sensor altitude and overlap, and minimize turn count. Generated KML output that auto-loaded in Google Earth for visualization and review. Built a second program that sent the generated waypoints to a Pixhawk flight controller over MAVLink, commanding the drone through each GPS point sequentially. Extended the concept with a circular mission variant for persistent point surveillance.

Items Involved

Python · MAVLink protocol library · Pixhawk flight controller · GPS coordinate math · KML generation · Google Earth

How the Elements Connect

The mission generator is a pure-geometry problem: GPS lat/lon are projected to a flat Cartesian plane for distance calculations, scan legs are computed, then reprojected to GPS for output. The MAVLink uplink translates each generated GPS waypoint into the protocol messages the Pixhawk's ArduPilot firmware expects, giving the drone a sequenced instruction set it flies autonomously.

Outcome

End-to-end autonomous survey mission flown. Established fluency in GPS geometry, MAVLink, and flight-stack integration that directly maps to autonomous ISR platform work.

Technical details image
B · Autonomy & Unmanned Systems

10 Quadcopters — Full Assembly & Commissioning

2021
PixhawkPDB / ESCSoldering🌟 Smart City🔥 O&G/OT
Internal delivery
Challenge

QMIC needed ten flight-ready quadcopters.

Solution

Soldered and assembled ten drones from components: Pixhawk autopilot, power distribution, ESCs, motors, propellers, batteries, carbon frame.

Impact & Scale

Ten quadcopters assembled and commissioned (2021, QMIC).

Building blocks
Needs input: Flight hours or usage.

Objective

Build a fleet of ten functional quadcopters from individual components for operational use in QMIC's drone programs, gaining deep hardware-level literacy of every subsystem in a multirotor platform.

Tasks Performed

Sourced and organized all components: carbon-fiber frames, Pixhawk flight controllers, power distribution boards (PDB), electronic speed controllers (ESC), brushless motors, propellers, and LiPo batteries. Performed all soldering including high-current motor power leads and delicate flight controller connections. Assembled all ten airframes. Configured and calibrated each Pixhawk. Commissioned each drone to verify stable hovering and control response.

Items Involved

Pixhawk flight controller · PDB · 4× ESC per drone · brushless motors · propellers · LiPo batteries · carbon-fiber frames · soldering station

How the Elements Connect

Battery feeds PDB which distributes power to four ESCs; each ESC drives one motor at a speed commanded by the Pixhawk's PWM outputs. The Pixhawk's IMU and barometer close the attitude control loop. Understanding this energy and signal flow at the component level makes flight-stack integration and field debugging far faster.

Outcome

Ten operational quadcopters delivered. The burn marks from repeated soldering taught resilience, patience, and thorough hardware inspection discipline applied to every subsequent build.

Technical details image
B · Autonomy & Unmanned Systems

Competition Robot — STUDICA Robotics Platform

2025
JavaTeleoperationStudica platform
Client delivery
Challenge

A school team needed a working robot for a robotics competition, and the students needed to understand its code.

Solution

Built and programmed a Studica robot with Java control code and joystick teleoperation; taught the code to the students.

Impact & Scale

Contracted delivery to a school competition (2025); competition result not recorded.

Building blocks
Needs input: Competition result.

Objective

Build and program a competition-ready robot for a school robotics event and transfer the skills to the student team so they could operate and extend the code independently.

Tasks Performed

Assembled the Studica Robotics platform mechanically. Wrote the teleoperation control code in Java, mapping joystick axes to drive and mechanism outputs. Tested and tuned control response. Taught students the control architecture, Java code structure, and how to modify behaviors for their competition strategy. Provided mentoring sessions to build their confidence operating the robot under competition conditions.

Items Involved

Studica Robotics hardware platform · Java · joystick input library · drive controller electronics · mentoring framework

How the Elements Connect

Joystick axis values are read by the Java control loop, scaled, and sent to motor controllers which drive the wheels and mechanisms. Teaching students this loop — input mapping → scaling → actuator command — gives them a mental model they can apply to any robotics platform. The same pattern of "read sensor, compute, actuate" runs from this robot up to the autonomous drone mission generator and the V2X GLOSA controller.

Outcome

Robot competed successfully. Students left with working Java code they understood and could modify. Demonstrated Osama's coaching ability to bring non-engineers to a delivery outcome under a deadline.

Technical details image
C · Edge AI & Computer Vision

AI Inference Cluster from Distributed Edge Nodes

2019
NVIDIA Jetson NX3D CAD & printing🌟 Smart City🔥 O&G/OT⚡ Ind. Power💊 Pharma🏥 Healthcare
Prototype
Challenge

Edge AI workloads needed more compute in a compact, rack-mountable form.

Solution

Connected multiple Nvidia Jetson NX computers into one rack-mount server, including wiring and custom 3D-printed mounts.

Impact & Scale

Pseudo AI inference cluster built at QMIC (2019).

Building blocks
Needs input: Node count, throughput.

Objective

Consolidate multiple NVIDIA Jetson NX AI compute boards into a single rack-mount form factor to create a scalable, pseudo-cluster AI inference server from edge hardware.

Tasks Performed

Designed bespoke mounting hardware using 3D CAD to fit multiple Jetson NX boards into a standard rack-mount enclosure. 3D-printed the mounting brackets. Performed all wiring: power distribution, network interconnects, and cooling. Brought up all nodes and verified network connectivity between them.

Items Involved

Multiple NVIDIA Jetson NX boards · rack-mount enclosure · 3D CAD · 3D-printed brackets · Ethernet switch · power distribution

How the Elements Connect

Each Jetson NX is an independent ARM + GPU compute node. By colocating them in a rack and providing shared network interconnect, inference workloads can be distributed across nodes. The 3D-printed brackets ensure thermal clearance and mechanical rigidity — engineering constraints that directly affect cluster reliability.

Outcome

First exposure to Jetson hardware and the NVIDIA AI ecosystem. The mechanical design skill and familiarity with Jetson bring-up carried directly into the FIFA World Cup edge device and the 2025 Orin refresh.

Technical details image
C · Edge AI & Computer Vision

LIDAR People Counting — RPLIDAR-A3 Pipeline

2020
RPLIDAR-A3C production rewritePython prototype🌟 Smart City💊 Pharma🏥 Healthcare
Internal delivery
Challenge

Counting people through a doorway needs reliable detection and tracking from a LIDAR sensor.

Solution

Implemented the full tracking chain (plot-to-track association, initiation, maintenance, smoothing) on a 360-point stream on a Raspberry Pi; rewrote Python in C, compiled on-device, when Python was too slow.

Impact & Scale

The C version ran much faster with better tracking (2020, QMIC).

Building blocks
Needs input: Counting accuracy.

Objective

Detect, track, and count people passing through a doorway in real time using a 360-degree LIDAR sensor, enabling throughput monitoring without cameras or personal-identifying data.

Tasks Performed

Learned and implemented all four stages of a multi-target tracking pipeline: Plot-to-Track Association (matching new points to existing tracks), Track Initiation (creating new tracks for unassociated points), Track Maintenance (updating track positions, managing track lifetimes), and Track Smoothing (filtering noise from track state). Connected the RPLIDAR-A3 to a Raspberry Pi. Implemented the full pipeline initially in Python; when the streaming 360-point frame rate overwhelmed Python's processing speed, rewrote the entire tracking engine in C compiled directly on the Raspberry Pi. Validated that C achieved real-time performance with significantly improved tracking fidelity.

Items Involved

RPLIDAR-A3 · Raspberry Pi · Python (prototype) · C (production) · multi-stage tracking algorithms · real-time point cloud processing

How the Elements Connect

The LIDAR streams 360 raw distance measurements per scan. The tracking pipeline converts these to Cartesian (x,y) point clusters, matches clusters to known person tracks using a cost matrix, and updates each track's position. The C rewrite eliminates Python's GIL and interpreter overhead, allowing the algorithm to keep pace with the sensor's scan rate — a textbook case of choosing the right language for real-time embedded work.

Outcome

Real-time person count at doorway achieved. The Python-to-C rewrite delivered approximately 10× processing speed improvement. Demonstrated research-to-production language migration discipline.

Technical details image
Diagram 4 — LIDAR People-Tracking Pipeline
Diagram 4 — LIDAR People-Tracking Pipeline
C · Edge AI & Computer Vision

Smart-Parking AI Edge Device — FIFA World Cup 2022

2021–2022
★ Smart City Flagship
Jetson NanoTensorRTYOLOMQTTRabbitMQDjangoIPSec VPNSolar powerWatchdog🌟 Smart City
Deployed
Challenge

World Cup 2022 parking needed car counts at entrances from devices independent of grid power and wired internet.

Solution

Led design of a solar-powered Jetson Nano edge device (Dahua camera, 4G, custom watchdog, battery monitor, TensorRT/YOLO), IPSec VPN access, two backends (MQTT/Django status, RabbitMQ counts with map dashboard), 24/7 auto-recovery and one-shot remote updates.

Impact & Scale

Devices were deployed for the Qatar World Cup 2022, with field debugging of hardware and software done in person (2021-22, QMIC).

Building blocks
Needs input: Number of units and sites, counting accuracy, uptime.

Objective

Design, build, and deploy a fleet of fully autonomous AI edge devices to count vehicles entering and exiting parking facilities across Qatar for the FIFA World Cup 2022, with no reliance on mains power or fixed network infrastructure at each site.

Tasks Performed

Selected all hardware components: Dahua CCTV camera, NVIDIA Jetson Nano, Huawei 4G LTE dongle, AC-DC power supply, solar charge controller, battery bank, bespoke watchdog circuit, and battery monitoring module. Wired and assembled the complete system. Flashed Jetson Nano OS, installed TensorRT and Ultralytics YOLO for vehicle detection, and set up hardware-accelerated video decoding. Configured IPSec VPN for secure remote access from the office. Wrote the full application software: vehicle detection and counting loop, MQTT device-health reporting (IP, temperature, battery) to a Django/MySQL backend, car-count streaming to a RabbitMQ backend powering the map dashboard, remote relay control, automated error recovery, and fleet-wide one-shot OTA code deployment. Ran multiple field campaigns: installation, live debugging, hardware repairs, software patches. Extended to the 2025 Jetson Orin refresh.

Items Involved

NVIDIA Jetson Nano · TensorRT · Ultralytics YOLO · Dahua CCTV · Huawei 4G dongle · IPSec VPN · MQTT (Mosquitto) · RabbitMQ · Django + MySQL · Python · custom watchdog circuit · battery monitor · solar power · relay board

How the Elements Connect

Solar power keeps the battery charged; battery monitor feeds voltage readings into the health telemetry. The camera streams video to Jetson Nano; YOLO runs in TensorRT detecting and counting vehicles per-frame. Detection counts are published over MQTT to RabbitMQ; the map dashboard subscribes and updates in near-real-time. Device health (IP, temperature) is published to the Django backend for NOC visibility. The watchdog independently monitors the Jetson process and reboots the device if it hangs, ensuring 24/7 unattended operation. IPSec VPN provides the secure tunnel for remote SSH, OTA updates, and relay control commands.

Outcome

Fleet deployed nationally for FIFA World Cup 2022. Provided Qatar's World Cup operations team with real-time parking availability data across multiple venues. The project spans the full product lifecycle from first component selection to sustained field operation — the single project that most comprehensively demonstrates Osama's end-to-end engineering capability.

Technical details image
Diagram 5 — Smart-Parking AI Edge Device Architecture (FIFA WC2022)
Diagram 5 — Smart-Parking AI Edge Device Architecture (FIFA WC2022)
C · Edge AI & Computer Vision

Jetson Orin Next-Generation Edge Device Refresh

2025
Jetson OrinJetPackGStreamer nvv4l2Modbus watchdogVendor negotiation🌟 Smart City🔥 O&G/OT⚡ Ind. Power
Deployed
Challenge

The World Cup edge device needed a refresh with better hardware and simpler supply.

Solution

Redesigned around Jetson Orin: custom Modbus watchdog, battery voltage sensor, switch for up to 4 cameras; sourced parts, negotiated quotes, assembled, flashed, set up Ultralytics on GPU and hardware-accelerated GStreamer decoding.

Impact & Scale

Managed field installation with VPN access and data flowing to the backend (2025, QMIC).

Building blocks
Needs input: Units installed, cost vs. previous generation.

Objective

Redesign the World Cup 2022 Smart-Parking AI Edge device around the NVIDIA Jetson Orin platform for the Smart Campus program, with a custom Modbus watchdog, multi-camera networking, and full procurement ownership.

Tasks Performed

Designed the system architecture around the Jetson Orin. Designed a custom Modbus/RS485 watchdog circuit to monitor the Orin's heartbeat and trigger a hardware reset on hang. Added a battery voltage sensor for telemetry. Selected and integrated a 4-port Ethernet switch to support up to four networked cameras simultaneously. Identified all required components and located suppliers. Negotiated quotations with vendors. Coordinated with the finance department through purchase order issuance and payment to achieve delivery. Assembled all hardware. Flashed JetPack firmware. Installed Ultralytics and verified GPU-accelerated inference. Configured and verified hardware-accelerated GStreamer (nvv4l2) for video decoding offload. Managed field installation including VPN provisioning and backend telemetry validation.

Items Involved

NVIDIA Jetson Orin · JetPack OS · Ultralytics (GPU inference) · GStreamer nvv4l2 · Custom Modbus/RS485 watchdog · voltage sensor · 4-port Ethernet switch · VPN · Tailscale/Headscale

How the Elements Connect

The Orin's superior GPU compute handles multiple camera streams simultaneously via hardware-accelerated decode (GStreamer), with YOLO inference running in TensorRT. The custom Modbus watchdog monitors a heartbeat register; if the Orin stops updating it within a timeout, the watchdog triggers a relay to cut and restore power — providing hardware-level fault recovery independent of software state. The Ethernet switch unifies all camera streams into a single network segment the Orin can poll.

Outcome

Next-generation fleet deployed in the Smart Campus program. Full procurement cycle ownership — from component identification to vendor payment to field commissioning — demonstrated that Osama can run the business as well as the engineering side of a hardware program.

Technical details image
C · Edge AI & Computer Vision

Thermal Camera Driver & Occupancy Analytics

2024
★ Pharma/Healthcare/Industrial Flagship
Thermal cameraUSB driverMJPEG/HTTP⚡ Ind. Power💊 Pharma🏥 Healthcare
Internal delivery
Challenge

A thermal camera's video had to be usable in software, with control of its recalibration.

Solution

Wrote a driver reading frames from USB endpoints and streaming MJPEG over HTTP; worked with the vendor to implement their proprietary protocol for refresh control.

Impact & Scale

Driver used to count people through a doorway for office occupancy analysis (2024, QMIC).

Building blocks
Needs input: Site, accuracy.

Objective

Extract thermal video frames from a proprietary USB camera and stream them over the network, then extend the driver to support vendor-proprietary recalibration control for accurate occupancy sensing.

Tasks Performed

Read the camera's USB interface documentation and implemented a driver that read raw frame data directly from the USB endpoints. Built an MJPEG-over-HTTP streaming server to distribute the thermal frames. Coordinated with the vendor to understand their proprietary recalibration command protocol and implemented that control interface within the driver. Connected the thermal stream to a people-counting pipeline for office occupancy analysis.

Items Involved

Thermal camera (USB interface) · Python USB library · MJPEG/HTTP streaming · vendor proprietary protocol · occupancy counting pipeline

How the Elements Connect

Thermal cameras drift in absolute temperature reading over time; periodic recalibration (shutter closure) is required for accuracy. By implementing the vendor's recalibration command in the driver, the occupancy system can trigger correction at known intervals without human intervention, maintaining counting accuracy around the clock.

Outcome

Working thermal pipeline deployed for office occupancy analytics. Extended the vendor protocol reverse-engineering skill set applied in NTCIP, SCATS ITSPort, and RFID interfaces.

Technical details image
C · Edge AI & Computer Vision

Edge AI Hardware Optimization Study

2025
OpenVINOTensorRTJetsonBenchmarking🔥 O&G/OT⚡ Ind. Power💊 Pharma
Internal delivery
Challenge

Edge AI deployments needed lower cost and better use of compute.

Solution

Compared OpenVINO on Intel mini PCs, Jetson edge computers and GPU servers on cost, resource use and size; rewrote large parts of the parking-counting application, including a web tool to draw counting zones on a camera snapshot.

Impact & Scale

Study of cost/performance trade-offs across three hardware classes, plus the rewritten counting app (2025, QMIC).

Building blocks
Needs input: Cost or performance figures.

Objective

Systematically benchmark AI inference across three hardware classes — Intel CPU mini-PCs (OpenVINO), ARM-based Jetson boards, and GPU servers — to give QMIC an evidence-based hardware selection guide for all future edge AI programs, optimizing for cost, compute utilization, and design footprint.

Tasks Performed

Procured and configured representative hardware from each class. Deployed the same inference workload (vehicle/person detection) on each platform using the appropriate acceleration framework: OpenVINO on Intel, TensorRT/Ultralytics on Jetson, CUDA on GPU server. Measured throughput (FPS), power draw, latency, and unit cost. Rewrote significant parts of the counting application including a configuration web app for drawing counting zones on camera snapshots. Documented results and produced a hardware selection recommendation matrix.

Items Involved

Intel mini-PC + OpenVINO · NVIDIA Jetson (multiple tiers) · GPU server · Python benchmarking code · Ultralytics · TensorRT · counting app rewrite

How the Elements Connect

The study's value is the controlled comparison: same model, same workload, different silicon. The counting application rewrite ensures the software overhead is consistent across platforms, so measured differences reflect hardware, not code quality. The resulting matrix lets project managers choose the right platform before procurement — eliminating expensive mid-project hardware pivots.

Outcome

Results now guide hardware selection across all QMIC edge AI programs. The counting application rewrite became the production codebase deployed on the Orin refresh fleet.

Technical details image
C · Edge AI & Computer Vision

Portable Voice-Based AI Product

2025
On-device STTOn-device TTSLocal LLMRaspberry Pi
Client delivery
Challenge

A client wanted a portable voice assistant.

Solution

Built wake-word detection with on-device speech-to-text, an audio cue, an LLM response and on-device text-to-speech on a battery-powered Raspberry Pi with screen, mic and speaker.

Impact & Scale

Contracted delivery of a portable voice AI product (2025).

Building blocks
Needs input: Client, latency.

Objective

Build a fully portable, battery-powered, on-device conversational AI product that listens for a wake word, accepts a spoken query, generates an LLM response, and speaks it back — all running locally on a Raspberry Pi without cloud dependency.

Tasks Performed

Selected a fast on-device speech-to-text (STT) model small enough to run on Raspberry Pi hardware. Implemented a wake-word detection loop that triggered an audio cue to signal the user. Captured the subsequent utterance and passed it to a lightweight LLM for response generation. Converted the LLM response to speech using a fast on-device text-to-speech (TTS) model. Integrated all components (screen, microphone, speaker) into a battery-powered Raspberry Pi enclosure for portability. Tuned latency at each stage to achieve a natural conversational response time.

Items Involved

Raspberry Pi · fast on-device STT model · lightweight LLM (local) · fast on-device TTS model · microphone · speaker · display · battery pack

How the Elements Connect

The pipeline is a cascade: STT produces text from audio, text feeds the LLM, LLM output feeds TTS which produces audio. Each stage must complete fast enough that the total round-trip feels natural. Running entirely on-device means no network dependency — the device works in RF-denied or air-gapped environments, a key capability for defense and field applications.

Outcome

Working portable voice AI product delivered. Proved on-device Physical AI concept with full hardware-software integration. Directly previews the Physical AI Engineering role target.

Technical details image
D · Embedded IoT & Ultra-Low-Power Hardware

Tunnel Flood Sensor — 1-Year Battery Life

2019
★ Insurance / Utilities Flagship
ATmega328PSIM800 2GEasyEDA PCBMQTTDeep sleepESP32 (later)🔥 O&G/OT🔒 Insurance/Utilities
Internal delivery
Challenge

Tunnels needed water-detection alerts from sensors able to run a year on battery.

Solution

ATmega328p with SIM800 and solid-state relays cutting power in deep sleep; EasyEDA through-hole PCB made in China; C/C++ firmware; MQTT to a Python backend; dark-mode Google Maps dashboard; later moved to a Lilygo ESP32 board.

Impact & Scale

End-to-end sensor-to-map system (2019, QMIC), designed for one-year battery life; field battery life not recorded.

Building blocks
Needs input: Measured battery life, sites installed.

Objective

Design a fully independent IoT water-detection sensor for road tunnels that could operate for a full year on battery power alone, sending alerts over the cellular network with no maintenance intervention.

Tasks Performed

Selected the ATmega328P microcontroller for its proven deep-sleep capability and the SIM800 2G module for cellular connectivity. Designed the PCB in EasyEDA with all through-hole components for hand-solderability, minimizing assembly error. Had the PCB manufactured in China. Manually burned the ATmega328P bootloader and set the correct fuses by reading the datasheet meticulously — a step that required careful research to identify the correct bit patterns. Wrote the full firmware in C/C++ using the Arduino IDE, implementing periodic wake-up, sensor polling, MQTT packet construction using AT commands to the SIM800, and return to deep sleep. Implemented solid-state relays to cut power to peripheral components (SIM800, sensors) during deep sleep, since standby current through the module alone would exhaust the battery far too quickly. Wrote a Python backend to receive MQTT messages and a JavaScript/Google Maps web app to display sensor locations and alert states. Later migrated to an ESP32-based LilyGO board for improved reliability.

Items Involved

ATmega328P · SIM800 2G module · solid-state relays · EasyEDA PCB design · through-hole assembly · Arduino IDE (C/C++) · MQTT · Python backend · Google Maps API · JavaScript · ESP32 (LilyGO, later revision)

How the Elements Connect

The key insight is power gating: solid-state relays (with near-zero leakage current) disconnect the SIM800 and sensors entirely during the multi-hour sleep interval. Only the ATmega's deep-sleep oscillator and the relay coil driver draw current at rest — an order of magnitude less than a conventional power design. When the MCU wakes, it powers the SIM800 via relay, waits for network registration, posts the MQTT message, and cuts power again before sleeping.

Outcome

Target 1-year battery life achieved through power-gating design. PCB manufactured and deployed. Demonstrated full-cycle embedded hardware engineering: datasheet research, PCB design, bootloader configuration, firmware writing, and backend construction — all on one project. The ESP32 revision improved field reliability.

Technical details image
Diagram 3 — IoT Tunnel Flood Sensor: Power & Data Flow
Diagram 3 — IoT Tunnel Flood Sensor: Power & Data Flow
D · Embedded IoT & Ultra-Low-Power Hardware

Anti-Spoof BLE Quarantine Wristband

2021
nRF52Zephyr RTOSC firmwareBLE GATTAnti-spoofing🔥 O&G/OT💊 Pharma🏥 Healthcare
Client delivery
Challenge

Quarantined patients during the pandemic needed location tracking that could not be spoofed.

Solution

Designed a Nordic nRF52 BLE wristband with anti-spoofing; C firmware (nRF SDK, then nRF Connect SDK on Zephyr) with GATT configuration and beacon transmission; integrated with a mobile app for location and geofencing.

Impact & Scale

Contracted delivery (2021); deployment scale not documented.

Building blocks
Needs input: Number of wristbands, deployment site.

Objective

Design a Bluetooth wristband for tracking quarantined patients during the COVID-19 pandemic, with anti-spoofing technology that prevented users from generating fake signals to circumvent location monitoring — a novel security requirement not addressed by off-the-shelf BLE beacon products.

Tasks Performed

Selected the nRF52 SoC for its excellent BLE capability and long battery life. Wrote firmware in C targeting first the legacy Nordic SDK and then the nRF Connect SDK (Zephyr RTOS) when the platform evolved. Implemented a GATT server on the wristband for secure remote configuration of patient ID and beacon transmission parameters. Designed the anti-spoofing mechanism to ensure signals could only originate from genuine wristband hardware. Integrated with a mobile application that received beacon signals, determined the patient's location, and triggered geofencing alerts when a patient moved outside their permitted zone.

Items Involved

nRF52 SoC · Zephyr RTOS · nRF Connect SDK · C firmware · BLE GATT server · iBeacon broadcast · mobile app integration · geofencing logic · anti-spoofing design

How the Elements Connect

The wristband continuously broadcasts an iBeacon advertisement with a patient-specific UUID. The mobile app receives the beacon, attaches GPS coordinates, and checks the location against the permitted geofence. The anti-spoofing mechanism ensures that the beacon originates from the legitimate wristband hardware rather than a software replay — preventing patients from leaving their wristband at home and spoofing the signal from a different location. The GATT server provides a secure channel for authorized staff to configure each wristband without requiring physical programming access.

Outcome

Working wristband system delivered. Demonstrated depth in BLE stack programming across two SDK generations and the ability to design security properties at the firmware level — not merely use an off-the-shelf beacon.

Technical details image
Diagram 8 — Anti-Spoof BLE Quarantine Wristband System
Diagram 8 — Anti-Spoof BLE Quarantine Wristband System
D · Embedded IoT & Ultra-Low-Power Hardware

Airport RFID Baggage-Handling Interface

2023
RFIDTCP binary protocolMQTT🌟 Smart City🔥 O&G/OT⚡ Ind. Power
Client delivery
Challenge

Airport baggage handling needed industrial RFID scanner readings in a backend system.

Solution

Raspberry Pi connected to the scanner over TCP, decoded its binary protocol and published readings over MQTT.

Impact & Scale

Contracted interface delivered (2023).

Building blocks
Needs input: Airport, volume.

Objective

Interface a commercial industrial RFID scanner to an airport baggage-handling operations backend by decoding the scanner's proprietary binary protocol and republishing readings over MQTT.

Tasks Performed

Established a TCP connection from a Raspberry Pi to the RFID scanner's data port. Analyzed the raw byte stream to understand the binary frame format — field widths, delimiters, CRC or checksum logic. Wrote a Python decoder that parsed the binary frames into structured RFID read events. Published each decoded read event to an MQTT topic consumed by the operations backend.

Items Involved

Industrial RFID scanner · Raspberry Pi · TCP socket · Python binary protocol decoder · MQTT

How the Elements Connect

The RFID scanner speaks its own proprietary binary language over TCP. The Raspberry Pi acts as a protocol bridge: raw TCP bytes in, structured MQTT JSON out. The backend only needs to consume clean MQTT events — the translation complexity is fully encapsulated in the bridge.

Outcome

Working integration delivered. Another instance of the recurring protocol reverse-engineering pattern that defines Osama's research methodology: study the raw bytes, write a decoder, expose a clean interface.

Technical details image
D · Embedded IoT & Ultra-Low-Power Hardware

Custom ESP32 Cellular PCB — Multi-Year Battery Life

2025
ESP32Cellular modemCustom PCBSMD assembly🔥 O&G/OT⚡ Ind. Power🔒 Insurance/Utilities
Internal delivery
Challenge

Remote IoT devices need to run for years on a single charge.

Solution

Owned the whole chain for an ESP32 cellular board with deep sleep: component selection, circuit and PCB design, manufacturing, programming, testing.

Impact & Scale

Board designed for multi-year battery life (2025, QMIC); measured life not recorded.

Building blocks
Needs input: Measured battery life.

Objective

Design a purpose-built ESP32-based board integrating a cellular modem and optimized deep-sleep power management capable of running for years on a single battery charge — replacing the earlier off-the-shelf module approach with a fully custom design.

Tasks Performed

Performed component selection for ESP32 module, cellular modem, power management ICs, and passive components. Drew the complete schematic. Laid out the PCB, applying best practices for RF clearance around the antenna and decoupling for the cellular modem. Sent the design for manufacturing. Assembled the board by hand (SMD soldering). Programmed the firmware implementing the sensing and deep-sleep cycle. Tested and debugged in the lab to validate actual current draw against design targets.

Items Involved

ESP32 · cellular modem · EasyEDA PCB design · SMD components · firmware (C/C++) · power profiling tools

How the Elements Connect

Custom PCB design allows precise control of every quiescent current path — unlike module-based designs where other components share the power rail. The result is a provably optimized power budget: every component's sleep current is known from its datasheet and measured in circuit, giving a calculable battery life from first principles.

Outcome

Full hardware design cycle completed end-to-end by one engineer. Demonstrates that Osama can take a hardware product from concept to tested physical board independently.

Technical details image
D · Embedded IoT & Ultra-Low-Power Hardware

FPGA Exploration — Gowin Toolchain & UART IP

2025
FPGA (Gowin)Gowin EDAUART IP coreHDL🔥 O&G/OT⚡ Ind. Power
Self-study
Challenge

Personal learning project; no commercial problem.

Solution

Used the Gowin FPGA board's tooling and IP blocks to generate a UART signal.

Impact & Scale

Working UART on an FPGA (2025, personal time).

Building blocks

Objective

Develop hands-on familiarity with FPGA design flow — from toolchain setup to IP block instantiation and functional hardware validation — as a foundation for understanding hardware-accelerated signal processing.

Tasks Performed

Acquired a Gowin FPGA development board. Installed and configured the Gowin EDA toolchain. Used the Gowin IP catalog to instantiate a UART IP block. Wrote the top-level HDL to connect the UART IP to the board's I/O pins. Synthesized, placed, routed, and programmed the design onto the FPGA. Validated the UART signal output with a logic analyzer or terminal.

Items Involved

Gowin FPGA board · Gowin EDA toolchain · UART IP core · HDL (VHDL/Verilog) · synthesis + place-and-route · logic analyzer

How the Elements Connect

FPGAs implement logic in reconfigurable hardware rather than sequential software. The IP block instantiation flow — select a verified IP, configure its parameters, connect it to top-level ports, synthesize to bitstream — is the gateway skill for integrating more complex accelerators (MIPI CSI, high-speed ADC interfaces, cryptographic cores) into future physical-AI edge designs.

Outcome

Functional UART signal produced from FPGA fabric. FPGA design flow demystified. Adds a hardware-depth dimension that differentiates the embedded engineering profile beyond MCU/SoC work.

Technical details image
E · Traffic & Smart-City / V2X Integration

V2X System Handover & GLOSA Feature Development

2022
C (large codebase)V2X / DSRCGLOSA algorithmMQTT🌟 Smart City
Deployed
Challenge

QMIC's V2X system was owned by one senior engineer, and vehicles needed GLOSA speed advice from signal timings.

Solution

Took handover of the V2X boards and tens-of-thousands-of-lines C codebase, documented it, and added GLOSA with MQTT intake of intersection timings.

Impact & Scale

Code deployed and tested working (2022, QMIC).

Building blocks
Needs input: Test location, vehicles equipped.

Objective

Assume full ownership of QMIC's entire V2X technology system from the company's most senior V2X engineer, ensure knowledge continuity, and extend the system with Green Light Optimal Speed Advisory (GLOSA) — a feature that delivers optimal driving speeds to motorists approaching signalized intersections.

Tasks Performed

Conducted a deep, structured handover with the departing engineer covering: all V2X hardware boards and their programming interfaces, the full C codebase (tens of thousands of lines spanning multiple modules), deployment topology, and previously undocumented behavioral logic. Wrote comprehensive documentation for all previously unexplained system functionality. Then designed and implemented the GLOSA feature in C: connected the existing signal-phase database to the V2X onboard message generator, implemented the speed advisory calculation (optimal speed to clear the intersection safely given remaining green time and distance), and interfaced with the MQTT broker for receiving live signal timing updates from the SCATS integration. Deployed and field-tested the GLOSA implementation.

Items Involved

V2X hardware platform (DSRC/ETSI) · C codebase (large, legacy) · MQTT · GLOSA algorithm · SCATS signal timing database · field test vehicles · technical documentation

How the Elements Connect

The SCATS integration (separate project) provides a continuously updated database of signal phases and timing. The GLOSA module reads the current green-remaining seconds for the approaching intersection and the vehicle's distance/speed from V2X position messages, then computes the speed window within which the vehicle can cross on green. This computed advisory speed is broadcast over the V2X radio to all equipped vehicles in the approaching zone. The MQTT interface ensures the signal timing data stays synchronized without polling overhead.

Outcome

Full V2X system custody transferred, documented, and extended without any loss of operational capability. GLOSA feature deployed and tested in field conditions. The handover+extend pattern — taking ownership of a complex legacy system from a departing senior engineer and immediately adding production features — is one of the most demanding engineering challenges and one of Osama's strongest portfolio stories.

Technical details image
Diagram 6 — V2X Ecosystem: DMS → SCATS → GLOSA
Diagram 6 — V2X Ecosystem: DMS → SCATS → GLOSA
E · Traffic & Smart-City / V2X Integration

DMS / VMS Content Extraction → V2X Broadcast

2022
NTCIPOCRPython🌟 Smart City
Internal delivery
Challenge

Messages shown on roadside signs needed to reach drivers inside their vehicles.

Solution

Python NTCIP client downloads the sign image in chunks, reassembles pixels, runs OCR, and sends the text to the V2X backend for broadcast.

Impact & Scale

Pipeline from DMS/VMS screen image to V2X vehicle message (2022, QMIC).

Building blocks
Needs input: Number of signs connected.

Objective

Automatically extract the text displayed on Dynamic Message Signs (DMS / Variable Message Signs) across Qatar's road network and relay it to vehicles via the V2X communication system, giving drivers real-time road advisory information on their in-vehicle display.

Tasks Performed

Studied the NTCIP (National Transportation Communications for ITS Protocol) specification governing DMS communication. Implemented a Python client that connected to each sign's controller and downloaded the displayed bitmap image in chunks, as the NTCIP protocol does not deliver a complete image in a single transaction. Assembled the downloaded chunks back into the correct pixel order to reconstruct the full sign image. Passed the reassembled bitmap through an OCR engine to extract the displayed text string. Forwarded the extracted text to the V2X backend for broadcast to equipped vehicles.

Items Involved

NTCIP protocol · Python · chunked image download and reassembly · OCR engine · V2X backend MQTT

How the Elements Connect

NTCIP was designed for traffic management systems communicating over slow serial links — hence the chunked transfer. Understanding that design constraint is why the image must be reassembled: each chunk is a fixed-size page of the bitmap, and their correct ordering must be tracked by the client. The OCR step bridges the gap between a bitmap-oriented traffic protocol and a text-oriented V2X message format.

Outcome

Working extraction pipeline integrated into the V2X system. Demonstrated the ability to implement a non-trivial transport-layer protocol (NTCIP) from its specification without vendor SDK assistance.

Technical details image
E · Traffic & Smart-City / V2X Integration

SCATS Traffic Management Integration

2022
SCATS ITSPortBinary protocolPython / Tornado🌟 Smart City
Internal delivery
Challenge

Traffic signal phases and timings had to be obtained from SCATS and kept up to date in a database.

Solution

Built a Python/Tornado library for the binary ITSPort protocol (encode/decode, licensing), covering Site Status and Congestion messages.

Impact & Scale

Integrated and tested against a SCATS test server and a signal controller cabinet in the office (2022, QMIC).

Building blocks
Needs input: Live intersection count.

Objective

Integrate with Qatar's SCATS intelligent traffic management system to continuously retrieve signal phase and timing data, storing it in a database that feeds the GLOSA advisory system.

Tasks Performed

Studied the ITSPort specification — a binary protocol (not a public open standard) used by SCATS for external API access. Implemented the ITSPort encoding and decoding library in Python from the specification, including the licensing handshake that SCATS requires before releasing data. Used the Tornado networking framework for the async TCP client. Specifically extracted Site Status and Congestion message types. Validated against a test SCATS server and then against a real signal controller cabinet set up in the office. Populated the signal phase database for the GLOSA module.

Items Involved

SCATS ITSPort binary protocol · Python (Tornado async framework) · binary encode/decode library · SCATS license mechanism · signal controller hardware · MySQL phase database

How the Elements Connect

SCATS is a closed, proprietary system that predates modern open APIs. Implementing ITSPort from its specification document — including the licensing protocol — is the only way to access its data. The resulting continuously-updated database is the real-time input the GLOSA algorithm requires. Without this integration, GLOSA cannot know when the next green phase will arrive.

Outcome

Working SCATS integration tested against hardware. Licensing protocol fully implemented. Signal phase database populated and live. Another instance of binary protocol reverse-engineering as a core research skill.

Technical details image
F · AI / LLM & Platform Infrastructure

LLM/RAG Hackathon — Most Innovative Project Award

2023
LangChainChromaDBRAG architectureLLM🔥 O&G/OT💊 Pharma🏥 Healthcare
Award
Challenge

Charities need to know country-level internet regulations, with only 36 hours to build a solution.

Solution

Built a RAG system with LangChain and ChromaDB over regulation PDFs.

Impact & Scale

Won Most Innovative Project at the LLM/RAG hackathon (2023).

Building blocks
Needs input: Event name, team size.

Objective

In 36 hours, build a Retrieval-Augmented Generation (RAG) assistant that helps non-profit organizations navigate internet access regulations across different countries — enabling humanitarian and charitable entities to understand the legal constraints they will face before beginning operations.

Tasks Performed

Extracted text content from a large corpus of regulatory PDF documents using PDF parsing tools. Built a RAG pipeline using LangChain and ChromaDB: chunked the extracted text, embedded the chunks using an embedding model, and stored the vectors in ChromaDB. Implemented a query interface: user questions were embedded, the most relevant document chunks were retrieved by vector similarity, and the retrieved context was passed to the LLM alongside the question to generate grounded answers. Presented the complete system within the 36-hour deadline.

Items Involved

LangChain · ChromaDB · PDF text extraction · embedding model · LLM (generation) · Python · RAG architecture

How the Elements Connect

RAG solves the LLM knowledge cutoff problem: instead of asking the model to recall regulatory facts from pre-training (where it would likely hallucinate or be outdated), each query dynamically retrieves the exact relevant passages from the actual regulation documents and provides them as context. The LLM's role shifts from fact retrieval to reasoning and synthesis — a much more reliable use of the technology. ChromaDB provides millisecond-latency approximate nearest-neighbor search over the embedded corpus.

Outcome

Most Innovative Project award at the hackathon. Demonstrated ability to rapidly architect and deliver an AI system under extreme time pressure — a direct signal for high-tempo innovation contexts. Established the conceptual foundation for the company-wide RAG-over-repositories system deployed in 2026.

Technical details image
F · AI / LLM & Platform Infrastructure

Sovereign Local LLM Infrastructure Stack

2026
llama.cppGPU layer offloadingOpencode CLIChromaDB RAGMCP serverSovereign AI🔥 O&G/OT⚡ Ind. Power💊 Pharma
Deployed
Challenge

QMIC's software team needed AI coding support without a cloud service.

Solution

Tuned llama.cpp (maximum layers in VRAM, no disk memory mapping) on an 8 GB GPU, then a 100 GB VRAM machine; set up Opencode against the local LLM; wrapped RAG over repositories as an MCP and guided colleagues.

Impact & Scale

AI coding CLI available to everyone in the company (2026, QMIC).

Building blocks
Needs input: Users, tokens/second.

Objective

Design and deploy a fully on-premises LLM inference system serving QMIC's software engineering team with AI-assisted coding capabilities — without sending any company code or data to external cloud services — and maximize inference performance through careful GPU memory management.

Tasks Performed

Started with Ollama; identified its configurability limitations. Switched to llama.cpp for full control over model loading. On an 8 GB GPU development machine, experimented with layer-offloading: maximizing the number of model layers resident in GPU VRAM (fast), minimizing layers in CPU RAM (slower), and eliminating disk memory-mapping entirely (which would make inference I/O-bound). Validated the performance improvement in tokens-per-second. Applied the optimized configuration to the company's 100 GB VRAM production server. Configured Opencode (AI coding CLI) to use the local LLM endpoint, giving every engineer an AI pair-programmer. Built RAG over company code repositories using ChromaDB and wrapped the RAG query capability as an MCP server, allowing any agent harness to call it. Trained team members on effective use of RAG for code search, agentic workflows, and MCP tool invocation. Documented the architecture and onboarding guide.

Items Involved

llama.cpp (model inference) · 8 GB GPU dev machine · 100 GB VRAM production server · Opencode CLI · ChromaDB · RAG (repositories) · MCP server · Docker containers · Tailscale/Headscale (access)

How the Elements Connect

llama.cpp's layer-offloading is the performance core: the model is split — fast layers live in GPU VRAM where tensor operations run in parallel, slower layers are offloaded to CPU RAM, and nothing is swapped to disk. The production server's 100 GB VRAM can host an entire large model in GPU memory, eliminating CPU bottleneck. The RAG-MCP layer adds company-specific knowledge on top of the LLM's general capability: when an engineer asks Opencode about a QMIC API or protocol, the MCP retrieves the relevant source code context and passes it to the LLM, dramatically reducing hallucination. Because everything is on-premises, no proprietary code, algorithms, or communications leave the organization.

Outcome

Company-wide AI-assisted coding capability delivered. Sovereign infrastructure: no cloud dependency, no data leakage. Proved ability to architect, build, and roll out a production AI system beyond a simple API integration. Establishes Osama as the company's internal AI infrastructure authority.

Technical details image
Diagram 9 — Sovereign Local LLM Infrastructure Stack
Diagram 9 — Sovereign Local LLM Infrastructure Stack
F · AI / LLM & Platform Infrastructure

Self-Hosted IoT Server Infrastructure

2025
★ All-Sector Infrastructure Flagship
Docker / ComposeEMQX MQTTHeadscaleWireGuardNode-RED🌟 Smart City🔥 O&G/OT⚡ Ind. Power💊 Pharma🏥 Healthcare🔒 Insurance/Utilities
Deployed
Challenge

The company's IoT services needed a secure, maintainable home.

Solution

Dockerised stack managed with compose files: EMQX MQTT broker, Headscale, WireGuard, Node-RED and Python scripts; documented, backup-safe, minimal exposure.

Impact & Scale

Hosts QMIC's IoT services (2025).

Building blocks
Needs input: Devices served, uptime.

Objective

Consolidate all of QMIC's IoT backend services onto a single, well-documented, fully Dockerized server stack with secure access control, reliable backups, and clear operational runbooks — eliminating the fragile, undocumented service configurations that had accumulated across previous projects.

Tasks Performed

Designed the overall service architecture. Wrote well-structured Docker Compose files for each service with clear dependency ordering, environment variable management, and persistent volume configuration. Deployed: EMQX MQTT broker (with access control lists), Headscale (self-hosted Tailscale control server for VPN management), WireGuard (alternate VPN for scenarios where Tailscale tunneling is unavailable), Node-RED (backend flow programming for IoT automation), and custom Python services. Implemented backup procedures for all persistent data. Configured firewall rules to expose only necessary ports with TLS. Wrote operational documentation covering deployment, backup/restore, and service management.

Items Involved

Docker / docker-compose · EMQX MQTT · Headscale (Tailscale OSS) · WireGuard · Node-RED · Python services · firewall configuration · backup strategy · operational documentation

How the Elements Connect

Docker Compose provides the orchestration layer: each service runs in an isolated container with defined resource limits, network access, and volume mounts. Headscale provides a self-hosted alternative to Tailscale's commercial control plane, giving the company full control over its VPN mesh without external dependency. EMQX's ACL rules ensure that only authorized devices can publish or subscribe to each MQTT topic — preventing a compromised field device from poisoning the message bus.

Outcome

Production IoT infrastructure serving all QMIC field deployments. Fully documented, backed up, and maintainable by any engineer with Docker knowledge. Embodies the "sovereign infrastructure" philosophy applied to IoT operations.

Technical details image
G · Industrial Safety & Critical Infrastructure

QAPCO Heat Stress Monitoring System — Redesign & Ownership

2026
★ O&G / OT Flagship
ESP32Modbus RTU / RS485Heat Stress monitoringNode-REDOTA updates🔥 O&G/OT⚡ Ind. Power
Deployed
Challenge

QAPCO's industrial facilities relied on a manual flag system for heat stress, and the monitoring system needed an owner and a simpler design.

Solution

Took handover, then redesigned a Raspberry Pi/RS485 Modbus system into a single ESP32 board (relays, RS485, Ethernet) for simpler procurement and maintenance; OTA updates, Tailscale via self-hosted Headscale, Node-RED email alerts.

Impact & Scale

Deployed for QAPCO, replacing a manual flag-based system (2026, QMIC).

Building blocks
Needs input: Number of sites and sensors.

Objective

Take ownership of a deployed worker safety system at QAPCO (a major Qatari petrochemical operator) that monitors outdoor heat stress levels and triggers light-based alerts for workers, then redesign it from a complex multi-board Raspberry Pi assembly to a single-board ESP32 solution to improve maintainability and simplify procurement — replacing a traditional manual flag system.

Tasks Performed

Conducted structured handover from the departing engineer covering all system components, wiring, configuration, and backend logic. Audited the existing design: Raspberry Pi + separate RS485 transceiver module + separate relay board + industrial 4G router + Tailscale configuration — multiple points of failure and complex procurement. Designed the replacement architecture around a custom or commercial ESP32 board with RS485, relays, and Ethernet built into a single unit. Implemented the replacement firmware in C/C++, maintaining Modbus RTU communication with the heat stress sensors and relay logic for the warning lights. Configured OTA update capability for field updates without physical access. Took ownership of the Node-RED backend that receives sensor data, computes the Heat Stress Index, and triggers email alerts to QAPCO operations staff. Continues to perform regular OTA updates and backend modifications as the primary system owner.

Items Involved

ESP32 (integrated RS485 + relays + Ethernet) · Modbus RTU protocol · industrial heat stress sensors · relay-controlled warning lights · 4G industrial router · Tailscale/Headscale VPN · Node-RED (backend) · email alerting · OTA firmware updates

How the Elements Connect

The ESP32's Modbus master reads Heat Stress Index sensor registers over RS485 at regular intervals. Based on the index value, it drives relay outputs that switch different colored warning lights (green/amber/red) visible across the industrial site. The same ESP32 reports the data over Ethernet through the 4G router and Tailscale VPN tunnel to the Headscale server, which forwards it to the Node-RED flow. Node-RED evaluates thresholds and dispatches email alerts to QAPCO's safety management team. The redesign from multiple boards to one eliminates four distinct procurement line items and two potential failure points in the field wiring.

Outcome

System redesign completed and deployed. OTA updates in operation. Node-RED backend under active ownership. The QAPCO relationship maintained and the safety system improved. Demonstrates the ability to take ownership of a live critical-infrastructure system and improve it without operational interruption.

Technical details image
Diagram 10 — QAPCO Heat Stress System: Before → After Redesign
Diagram 10 — QAPCO Heat Stress System: Before → After Redesign
H · IT Operations & Foundations

Qatar University IT Technical Support — Student Task Force

2016–2018
Ghost / SysprepHardware repairIT networkingCustomer-facing
Employment
Challenge

University staff and students needed IT help.

Solution

Imaged laptops with Ghost/Sysprep, staffed the walk-in help desk, replaced hardware, supported events.

Impact & Scale

Two years of daily face-to-face support at Qatar University.

Building blocks

Objective

Provide first-line technical support to students and staff at Qatar University while completing a B.Sc. in Electrical Engineering part-time, building the customer-facing communication and systematic troubleshooting skills that underpin all subsequent engineering work.

Tasks Performed

Managed the IT help-desk front desk daily, receiving walk-in customers with diverse issues from password resets to hardware failures. Imaged and deployed new laptops using Ghost and Sysprep for rapid, repeatable provisioning. Performed hardware repairs including component replacements (RAM, storage, keyboards). Received decommissioned laptops and issued replacements. Provided IT operational support at university events including attendee registration, AV setup, and network provision. Supported other IT teams during events to ensure smooth operations. Maintained composure and clear communication when facing a high volume of simultaneous customer issues.

Items Involved

Norton Ghost / Windows Sysprep · laptop hardware · network infrastructure · event IT operations · customer-facing communication · Active Directory / password management

How the Elements Connect

The help-desk role is the origin of several career-long patterns: methodical troubleshooting (isolate, test, fix, confirm), the communication discipline to explain technical issues to non-technical users, and the operational rhythm of running a system that other people depend on. These same qualities appear in field deployment campaigns (FIFA WC2022, QAPCO) where devices fail under pressure and clear-headed diagnosis under stress produces faster resolution.

Outcome

Two years of consistent performance in a high-volume customer-facing role while maintaining full engineering studies. Built the social intelligence and systematic thinking that distinguishes a well-rounded engineer from a pure specialist. The IT networking knowledge (IP addressing, DNS, DHCP, firewall, WiFi) gained here is directly applied in every subsequent project's connectivity layer.

Technical details image