Building an Arduino based capacitive touch kitchen timer – Part 3

This part of the Arduino based capacitive touch kitchen timer series discusses the software that will make the capacitive kitchen timer come alive. It also talks about how I implemented the capacitive touch ring and some experiments I conducted to ensure good gesture detection and user experience.

Continue reading Building an Arduino based capacitive touch kitchen timer – Part 3

Use genetic algorithms to improve enemy AI over time in video games

I’ve played my fair share of video games in the past twenty years, and ever since I played for the first time, I was fascinated with how someone could make these games work. More often than not, a special mechanic in a game left me wondering how the programmers could implement a certain feature. However, i often notice patterns in enemy behavior. Therefore, it is way too easy for the player to predict how enemies might react to certain situations. While this might have to do with limited AI design, I recently had the idea to experiment with genetic algorithms to make enemies adopt to the player’s style over time to make it more difficult for the player to achieve his goals. My theory is that this way, enemies will adapt to the player over time, and this, in turn, forces the player to try different strategies to succeed. This article summarizes my experiments and discusses the results and how they could be applied in game development.

Continue reading Use genetic algorithms to improve enemy AI over time in video games

How to use interrupts on the LPC55S69 powered Okdo E1

In the last article, I summarized the process of enabling and using GPIO pins on the Okdo E1 by configuring the MCU in the MCUXpresso IDE. This time, I’ll enable pin interrupts that allow an application to react to various events.

Continue reading How to use interrupts on the LPC55S69 powered Okdo E1

How to use the GPIO pins on the LPC55S69 powered Okdo E1

Over the last couple of years, I’ve utilized a few different Arduino, Raspberry Pi, and other Linux based hobbyist development boards, like the BeagleBone Black, for many of my projects. I, however, never used other microcontroller boards that weren’t Arduino compatible. Recently, I started experimenting with the Okdo E1, a development board that’s powered by the LPC55S69, a very capable NXP microcontroller.

Continue reading How to use the GPIO pins on the LPC55S69 powered Okdo E1

Arduino MKR Vidor 4000 Verilog FPGA and MCU hello world tutorial

This article discusses how user code can be uploaded to both, the MCU and the FPGA, of the Arduino MKR Vidor 4000. Some time ago, I wrote this summary of the topic which, however, didn’t include an easy to follow tutorial. Instead, it was more of an outline aimed at more experienced users. However, today I tried to re-create the steps, and I noticed that the original article wasn’t as simple to follow for beginners as I’d have liked it to be.

Continue reading Arduino MKR Vidor 4000 Verilog FPGA and MCU hello world tutorial

Simple Swinging Power Lines and Ropes in Unity

I wanted to create dynamic power lines for a game that I’ve been working on in Unity for the last few weeks. I couldn’t find a solution that satisfied my requirements, and so I decided to implement a custom solution, which I wanted to share with you.

Continue reading Simple Swinging Power Lines and Ropes in Unity

How to build a responsive Angular Frontend

Smartphones and tablet computers have become more and more important over the last couple of years. Today, it’s almost impossible to image the internet without websites that function and look great on almost any screen. However, with business apps, that is often not the case. And, to be fair, it’s often also not required. In my case, however, I wanted to add basic responsive support for an Angular frontent that I’m working on, and in this article, I’d like to present the method that I used.

Continue reading How to build a responsive Angular Frontend