A few days ago the Raspberry Pi foundation made the surprise announcement that they’d had their own silicon produced in the form of a dual-core ARM Cortex M0+ microcontroller. I say “surprising” for a number of reasons: (1) until now, Raspberry Pi have focused on their eponymous single-board computer series,...
[Read More]
Hello! I'm Hammond (kiwih on Github) and I like to tinker and build things!
Tutorial: Timers and PWM (and a cheeky AM radio transmission) using STM32CubeIDE
And a brief look at timer interrupts
Measuring, monitoring, and reacting to the passage of time in embedded systems is an ubiquitous requirement. For instance, you might decide that you want to toggle an output every millisecond. You might be tasked to implement a system that samples an ADC once a second. You might want to change...
[Read More]
Tutorial: An SD card over SPI using STM32CubeIDE and FatFS
Let's have some fun with files
Embedded projects often call for some kind of data storage and retrieval. For instance, you might have need for a data logger to record data points over long periods of time. You might have user settings that need to be preserved after the device is shut off and rebooted. You...
[Read More]
Walkthrough: Updating the Firmware on an Anet A8 (Mainboard Version 1.7)
Depicted in 2020
For the first time ever, I have a 3d printer! Well, it’s not actually mine, but it’s on my desk - it’s mine to use (and abuse). I wanted to update the firmware on it, but was worried about bricking it. This blogpost is about the procedure I went through...
[Read More]
Improving Snakes and Ladders
A simple change to add agency to an otherwise autonomous game
I just moved to the USA, and as a leaving gift, a work colleague gave a New Zealand themed version of the classic game Snakes and Ladders (the NZ theme being that this was Taniwha and Ladders, of course).
[Read More]