e-tinkerer

A Place for my train of thought, mainly electronics, mcus and math

  • OOP and design patterns

    Design is a decision

    Functional proramming, imperative programming, object-oriented programming… In university courses the focus was on learning codeing principles like a linguist views languages. There, the focus is often correctionistic, about syntax, lexical integrity, correct sematics, and, how expressive a given language is. Constructing an expressive langauge is an art of it’s own, do not concider me an expert on the subject, but still, there are patterns we follow as developers when designing software that we typically orient towards.

    Read more…
  • Deploying local LLM using ollama and openweb-ui

    Main header image generated by AI

    At the time of writing deploying local LLMs has gotten straightforward, and it can be done directly from the command line. Let’s walk through setting up ollama and a frontend for some freely available llm models.

    Prerequisites

    Installing nvidia drive, or ollama are not addressed here, there are plenty of resources online.

    Confirm that ollama is running with:

    curl -s http://127.0.0.1:11434/api/tags | head
    

    The status of nvidia hardware is queried with the command:

    Read more…
  • FPV drones: a technological overview

    Motivation

    Many types of unmanned systems have been researched over the last decade. Lately I’ve been interested in fpv (first-person view) drone systems especially from an engineering perspective. There is a surprisingly lot to cover in these seemingly simple flying systems which are built on multiple engineering disciplines: hardware design, software design, RTOS and RF systems. I’ll share my findings in this post with a main focus on software components. After reading this post you should have a basic understanding of how pilots can fly drones over a span of several kilometers with precision, and what technology makes this possible.

    Read more…