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.
Last updated: 26 Feb 2017 - 21:41
GNU Make is still a brilliant tool for managing embedded software project build systems. The main strength of the system is the way you can define the dependencies of each stage and then let Make figure out what's changed (based on file dates) and build all the bits required. You may be familiar with rules of the form:
file1.o: file1.c gcc -c file1.c -o file1.o
Where file1.o is the object file, file1.c is the source file. This declares that if file1.c is changed, file1.o must be re-made.
Last updated: 20 Feb 2017 - 06:57
In this article I plan to describe the toolchain I use for bare-metal ARM Cortex-M development. I'm not necessarily advising you to use this toolchain, but it works well for me and this article will help form the basis of various future articles about debugging and robust development.
I use the toolchain developed by ARM under the "GCC ARM Embedded" name. This is a free toolchain based on a patched version of the open source GCC compiler and GNU binutils. Since it's free and available as source, there is a good chance if you are using a free or low cost IDE or other development tool for ARM microcontrollers that it's based on this compiler.
I don't really recommend using the PPA. In development for embedded systems you should consider the compiler to be a dependency of your project and make sure that you are
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 .
Last updated: 09 Apr 2015 - 19:38
About 2 years ago British DIY store B&Q started stocking a 36V lithium battery based garden tool set. I picked up the mower and the strimmer which was all I needed at the time. You could buy individual tools and batteries separately, the battery pack is an impressive 36V 2.6 or 4Ah lithium pack. Initially the 2.6Ah pack was around £100 and the 4Ah was around £130. I've always been thinking it would be an interesting pack to use for other things but at that price hadn't got around to it, however about a month ago the line was discontinued and piles of the batteries can be found in B&Q stores all over the country for around £30.
Last updated: 30 Aug 2014 - 16:08
A few weeks ago Chris Gammell (of The Amp Hour and more recently Contextual Electronics) has released his set of KiCAD videos, and set up a forum for users to discus the software, all available on the new kicad.info site. I've been using KiCAD for about 6 years now (I looked up my first PCB order I designed with it and it was September 2008) and whilst I happily recommend it to anyone who wants to get into PCB design, I've completely forgotten how complex it is to learn to use. I think the video series is a great starting point and the forums are a good way to troubleshoot specific issues you have. There are a good number of people on there now but the more people, the better the range of discussion. There are a couple of existing mailing lists for KiCAD, the developers mailing list on Launchpad and a users mailing list which is a Yahoo group that always gave me a really terrible user experience. The new forum is much more intuitive and interactive.
Last updated: 24 Aug 2014 - 22:06
One of my contacts at Element 14 got in touch last week to let me know they've been putting together an Engineering Glossary. There's a good range of terms there with brief definitions. The great thing about a subject specific list like this is that you know you're going to get the thing you're looking for rather than the same acronym in a completely unrelated field. It isn't a wiki, so you can't add or update definitions but there's a feedback form on the page if you want to send in a comment.
Last updated: 21 May 2014 - 21:59
Before cheap prototype PCB services like OSHPark, Ragworm and iTeadStudio options for building circuits for prototype or hobby projects were much more limited. You could etch your own board, carve a board out of copper clad with an abrasive tool, wire-wrap it all or use stripboard.
Stripboard, sometimes known as Vero-board (after a popular manufacturer) is a kind of circuit board, usually a cheap substrate like SRBP, with long strips of copper about 2mm wide running the length of the board. Holes are typically punched on a 0.1" (2.54mm) grid across the board, making it easy to fit traditional through-hole components.
The basic technique of construction is to use a small drill type tool, known as a spot-face cutter, to cut the long traces to make separate parts of the circuit. Wires are run, perpendicular to the copper tracks to create links in the opposite direction, allowing complex circuits to be built up.
Last updated: 18 May 2014 - 15:03
Sometimes when submitting boards for cheap panelised manufacture you need to keep all of the layers of the gerber file within the size of the PCB. In some boards I find there are bits of silk screen (e.g. connector outlines) which overlap the edge of the board. As far as I can see there's no way to limit the silk screen to the edges of the board by default, but I have a work around that might be useful.
Last updated: 10 May 2014 - 12:50
Stripboard construction and home-made PCBs are going out of fashion these days, but for the odd power supply or prototype they're still often worth doing. One of the most annoying problems I regularly face when building things (especially power supplies) on stripboard is components with leads too big to fit. Most cheap stripboard tends to use punched holes between 0.8 and 1.0mm in diameter (about 40 thou). With power-handling components particularly leads can be 1.0mm or even bigger, and they just won't push through the board. Opening out holes with a craft knife can be tricky, and having a range of tiny drill bits can be costly (especially as they're really easy to snap). The best solution is a mini reamer.