OggCamp 2024: The Printer That Took A Decade To Tune
Last updated: 12 Oct 2024 - 15:17
At OggCamp this year I was on the scheduled track and presented a brief history of my RepRap 3D printer on the main stage. The printer is over a decade old but spent a few years in a box. Actually I've been working on it for about 8 years now but I hope it will be done in the next 2 years...
I should document all this in detail but I don't really have time. For now you can take a look at the slides to see a history of my printer.
DIY hand-held games console: Faster GUI
Last updated: 19 Apr 2023 - 22:19
It's been a while since I got anything done on the Noodle Game console, but I found it on my desk and had a few minutes to spare so thought I'd have a crack at upgrading the screen driver code. It was a little bit of a disappointing exercise but at least I've learned some things.
Stuck in 24 bit
The screen supposedly supports a bunch of different colour depths including 18 bit (6 bits of each colour) note that this isn't a nice multiple of 8, a 16 bit mode where green has 6 bits but red and blue only 5 and apparently even a 3 bit mode where it has just one bit per colour like a Sinclair Spectrum. Unfortunately in SPI mode it only supports either the 8 bit or the full 18 bit modes. In 18 bit mode the colours are padded to a full byte each and so need three bytes per pixel.
Slow clock
The screen module I've got is hard-wired to SPI mode. The module can do parallel RGB, host bus or even MIPI-DSI apparently all of which offer faster data transfers and a choice of colo
DIY hand-held games console: GUI Framework
Last updated: 22 Oct 2022 - 23:00
Now that the screen lights up and displays something, next on my list was a way to make the screen show useful things dynamically with as little code as possible. I decided to go with LVGL which is a framework for creating embedded GUIs on small graphical displays. It's implemented in C and is impressively flexible whilst leaving the programming interface familiar to anyone who's used Qt, GTK etc.
DIY hand-held games console: Screen Driver
Last updated: 13 Jul 2022 - 22:40
Now that the toolchain and the basics are working, the next thing to do is to start getting some of the peripherals working. I like to do this one at a time and it's usually best to start with the outputs first, that way you can use the outputs to test whether the inputs are working. We've proven the basic UART comms already, so the next big output device is the screen. The screen I've got came from eBay but appears to match up with this entry on LCD Wiki.
DIY hand-held games console: Hello World
Last updated: 02 Jul 2022 - 23:53
I've got a collection of parts on hand left over from various projects or bought for projects that never started, so I'm going to try and build a system as a prototype. The core of the system is the STM32F429 which I have on a "Discovery board". The one I'm using is the original production run STM32F429I-DISCO board which has long since been replaced by the STM32F429I-DISC1 board. As far as I can see the only real difference between these is a newer ST-Link which supports virtual serial port as well as SWD/JTAG programming. While more convenient all I need for the old board is an extra serial to USB adapter which I have anyway.
DIY hand-held games console
Last updated: 29 Jun 2022 - 22:40
I've decided to have another crack at a hand-held games console project. I've had various ideas for doing this over the years. I built one based around a PIC18F4520 many years ago but didn't get far with trying to write the software for it. More recently (but still long ago) I had the idea that maybe the OggBox might make a simple console, if you hold it sideways the 4 buttons under one hand and the top two buttons in the other hand. Last year I got most of the way through designing one in my summer holiday, but the parts are all now out of stock and it was based on a PIC32 which I've now decided is a very bad idea having had to use them professionally since.
The chip supply crisis is still in full effect and I have almost no free time so this is going to be an interesting challenge, but I thought I'd document my process from the beginning this time and see where I get.
Bitmap font editor tool
Last updated: 11 Nov 2020 - 14:36
In a project I am currently working on I needed a font to embed in the ROM of an ARM Cortex micro-controller that could be used on one of these ChLCD modules from SparkFun. The display in my application is currently mounted in a landscape orientation, but I didn't want to preclude using it the other way around, or changing the font. I've written a few bitmap font editors over the years for various graphical LCDs, VGA displays and LED matrix displays. They all have a common interface, a character being edited with oversized pixels and a preview of the entire font. I decided this time to do a "proper job" of the code and write a Python GUI app that should be cross-platform and allows saving and loading of fonts.
Virtual Show
Last updated: 04 Aug 2020 - 22:54
My Wife has been helping to organise the arts, crafts & cookery section of the local agricultural show for several years. The show was cancelled for the first time in 19 years due to the COVID-19 lockdown this year and to keep it going in some way she suggested and helped organise a virtual show. You can see the entries online still at https://virtual-stithians.show. To manage the content we first looked at off-the-shelf Wordpress gallery solutions but they were not a good fit. Hosting it on Instagram or Facebook had been suggested but would have excluded a lot of the regular entrants so an email-in solution was picked to be most inclusive. In the end the show had over 250 entries.
I volunteered to write a custom site, and since Django is my preferred platform these days I wrote it in that. It was my first significant Django project in a number of years and the first time working in Python3 but as it promises the framework delivered a robust interface with minimal effort.
A Lot Has Changed in 10 Years
Last updated: 21 Aug 2015 - 12:34
It's ten years today since I registered the domain name for this blog, and a lot has changed in that time! I've gone from being at secondary school to being a full time, professional engineer. I've got a PhD. And I'm now married with a son!
Ten years is a long time in electronics, to put it into context the ARM Cortex-M3 is only 11 years old 1. Ten years ago the first ever video was uploaded to YouTube2 (which wasn't owned by Google), and Smartphones weren't a thing yet 3 4 .
Bistable 555 Circuit
Last updated: 23 Feb 2014 - 21:16
I'm working on a power supply design and I wanted to have the output on/off button just a momentary push button. The main reason for this was to make sure that the output was always off when the power came back on. You don't want to have the output get knocked on whilst moving the power supply and accidentally put too many volts into a prototype!