Greg Stretton

I love building systems that create value. I seek to be on the cutting edge of the integration of emerging technology and automation.

Please see my CV here, and scroll down for a selection of my work


Karakuri

August 2022 - July 2023

Karakuri built /FRYR210 to automate deep-fry lines in quick-service restaurants. I worked in the platform team doing Golang backend and React TS frontend work. We built a great product from nothing in very limited time, a significant technical achievement.

  • Golang gRPC microservice development across on-prem IoT gateway and cloud.
  • Built simulation of hardware and embedded system for use by the platform team
  • Frontend work building "Tunr 🐟" an on-prem configuration webapp interface in React.
  • Full stack work on our remote management platform KOS (Karakuri OS).
  • Built PoC for OpenTelemetry in our system to remove vendor lock-in and give better monitoring, with distributed tracing etc.
  • Go, gRPC, React, Typescript, MQTT, Docker + compose, Telegraf, AWS.

Unfortunately Karakuri couldn't secure funding to continue operating, and began wind-down in June 2023.

This was an excellent role with lots of hands-on testing and development. Me in the lab:


A Study of Light

May 2022 - Now

Solo art / robotics project using milk, food dye and detergent. Working to automate all processes. Built a fluid handling robot and supporting infrastructure.

I am solely responsible for the full scope of this project, including:
  • The idea and work planning
  • Mechnical design and assembly
  • 3D printing
  • Electronics
  • C++ firmware controller - including IK algorithm for translating x/y commands to a rotational coordinate system.
  • Serial/MQTT bridge to a backend system
  • Integration with smart home devices - plugs for main power toggling, and window blind to "dim the lights"
  • Web interface for local and public remote control. React / WebRTC / MQTT / Websockets.
  • Automated recording and editing of content. E.g. production of Youtube shorts.

Also see: Halloween Special


Lake Parime

July 2021 - August 2022

Lake Parime built modular data centres that operated under a passive cooling model, until their insolvency in January 2023. I took ownership for the software design and implementation of the environmental control system on the Powerbox product. This was a full stack project (Svelte and Golang) with several components:

  • Requirements gathering
  • Hardware interfacing (actuators and temperature and humidity probes)
  • Middleware software architecture
  • Frontend for user control
  • Automation
  • Simulation

This diagram outlines the physical design principle of the environmental control system:

I engaged in many other projects, including control of the smart power distribution units, and building out monitoring frontend interfaces. I also gained experience in cross-team communication, interviewing candidate hires, conducting user interviews, and writing requirements.

I took initiative in building a bespoke documentation system for our code-base. The system is based on README.md markdown files and drawio hybrid svg files stored in each repo. The markdown files support diagram insertion through go-template, and each readme can be viewed on the internal website.

My last few months were spent improving system efficiency and scalability. I built comprehensive simulations of Powerbox and rolled out dozens of these to highlight and fix scaling bottlenecks.


Sensorum

January 2020 - May 2021

During university, a friend and I founded Sensorum together to gain experience in product and business building. We sought to develop sensory augmentation devices in a cost-effective manner for multiple consumer groups. The initial product was a device enabling magnetoreception (a sense of north) in humans. This works through a wearable device that vibrates when it faces north.

As co-founder, I formulated and presented the initial concepts that would become Sensorum's domain. I led product and technical development for the business, involving significant hardware and software engineering. We chose to discontinue the project to focus on full-time work, but the experience was excellent overall. I learnt a lot about technology development and we won a cash prize in a Durham university enterprise competition.

Hardware engineer

There was much physical work to be done, initially prototyping on bread- and perf-board. The first boards used an ATtiny controller but I decided to change to STM32 for improved performance. I designed this circuit board which has the following all on a single board: a magnetometer; a gyroscope and accelerometer; an STM32 microprocessor; 3.3v LIPO charging circuitry over USB-C; vibration motor driver; and a debugging/programming interface. I am self-taught in electronics and I was very pleased with my learning rate in this domain.

Software engineer

I have written firmware for the product, including custom drivers for the MPU-9250 and QMC-5883L sensors to simplify code and reduce flash requirements. The bulk of the software challenge was in the implementation of the inertial measurement unit (IMU). The main challenge being interference from the on-board vibration motor, which affects accelerometer and gyroscope data. Also the design and implementation of user-friendly calibration and operation functionality was challenging. For the brain to take the outputted data on as sensory input, it must be highly responsive with low latency, demanding efficient real-time algorithms.


Body Tracking Research

October 2020 - May 2021

I self-proposed my final 4th Year project in the area of IMU body tracking. I went with this because I saw an opportunity to combine multiple domains I had some experience in and produce novel research. This project exposed me to more in the following areas:

  • PCB design and system architecture
  • Embedded software
  • Visualisation
  • Applied Mathematics

I came up with a novel algorithm for inertial-measurement-unit body tracking that works in the absence of magnetic and gravitational fields. I designed, implemented, and tested hardware and software to demonstrate the viability of this algorithm. Excerpt from poster:

You can view the work and pictures of the system here:

Skills

Programming Languages & Tools
Workflow
  • Strong within a team and independently
  • Able to move across abstraction layers easily (hardware, software, theoretical etc.)
  • Experienced with git, project tracking software, and general team communication
  • Command line oriented workflow where possible
Public Speaking

I enjoy sharing ideas with others and have given talks in the past on various topics. My most recent talk "The Octopus, Neuroplasticity, and the Future of the Mind" was given at my university college.

Leadership

I was Chair for the Durham University Meditation Society 2020-2021, and took initiative in updating and moving to expand the society's operations. Including updating the website, and facilitating the transition to online sessions.


Interests

I have many interests within and outside of the technical fields including space industrialisation, decentralisation, and personal development. Here are some highlights:

Customising computer interfaces and workflows

I look forward to the day I can get a high-bandwidth brain-computer interface and no longer have to use my body to interact with computers. To satisfy the itch in the meantime I often spend time customising how I interact with my computer. This often involves writing scripts, macros, and code snippets to automate workflows, and then increasing the accessbility of these through custom shortcuts and bindings.

And here's when I had more screens than sense:

Weightlifting

I have recently invested in a home gym in an effort to improve the consistency of my lifting. My main focus is compound movements: squats, deadlifts, press, and bench.



Triathlon training

For the first half of 2023 I was training for the Walden Tri sprint distance with my Mum on 14th May. I love the variety that comes with multi-sport training like this, it's so much more engaging than just doing one thing. Here is my time sheet for the 400m swim + 23km bike ride + 5km run:

I was aiming for 1:45:00 so was happy with the result, but my cycling was clearly the main weakness. I'm now focusing on training for a standard distance triathlon (1.5km swim + 40km bike + 10km run). I plan to do a few this year in 2024.