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
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
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
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
A while ago, I wrote this article about a simple implementation of an Arcball camera in C++. In it, I described how that could get done without using Quaternions, spherical coordinates, or a lookAt function. Anyway, just out of curiosity, I decided to create a minimal implementation of an orbiting arcball camera in C# using spherical coordinates.Continue reading How to program an arcball (orbiting) camera in Unity using spherical coordinates
Visit this page for a Unity3D example using spherical coordinates.
I recently had to implement a drag and drop camera feature for a college course. The OpenGL program, we had to submit, had to contain a camera that can be controlled by moving the mouse around. The camera itself should always look at a fixed point in the 3D space while being rotated on two different axes like it’s stuck to the inside of a sphere.Continue reading How to program an arcball (orbiting) camera in C++ and OpenGL
Shift registers can be used in a wide variety of applications. You can, for example, use them to convert multiple parallel data lines to a single serial line and vice-versa. This technique can be used to extend the number of available in- and outputs of a microcontroller and this article will show you how you can achieve this.Continue reading Serial to parallel and parallel to serial conversion with shift registers