Connecting Raspberry Pi 4 to NRF51822 Bluetooth Chip using OpenOCD

This’ll be a rather technical short article on how to properly connect a Raspberry PI 4 to an NRF51822 Nordic Semiconductor SoC chip. The NRF51822 is a very small low energy Bluetooth chip that I’ll be using in my Honours project as a gateway between a Bluetooth Low Energy device and a ESP8266 WiFi chip with the overall goal being to create a smart tracker … Continue reading Connecting Raspberry Pi 4 to NRF51822 Bluetooth Chip using OpenOCD

C#/ Unity – Building a 2D Genetic Algorithm

So this article will be a little different to most of what’s on this site, but the benefit to writing your own blog is you’re not limited on what you can post so here goes!

Today I’ll be demonstrating a 2D genetic algorithm using some fun little aliens, this will basically represent how genetics can diverge over generations, in this case selecting for the reddest coloured alien. I’ll also include how to introduce mutations over several generations.

This article is based on “How to build a genetic algorithm” by Wael Dimassi, which provided a good basis for this work.

This won’t cover any Unity basics as is more focused on the coding aspect.

Continue reading “C#/ Unity – Building a 2D Genetic Algorithm”

Raspberry Pi 3 – How to Output 4K Resolution to a TV

So I recently acquired a fairly nice LG smart TV with a 4k resolution which would be great if we could actually use it all with the connected Raspberry Pi, unfortunately, ‘officially’ the Pi only supports up to 1920×1080 @60fps.

But it’s a Pi and it’ll let us try anything we want so let’s make it run at 4k and see how it handles it.

Continue reading “Raspberry Pi 3 – How to Output 4K Resolution to a TV”