Building a Clay Pigeon Remote (part 3): Precision cutting with milling machines

For the past few weeks I’ve considered purchasing a milling machine. These seem to be the best tool for modifying off the shelf enclosures in a non mass produced way. The primary reason for this is that they offer precision and allow for boring into metals and plastics in a variety of different ways.

They are relatively expensive tools for a hobby workshop, a typical pillar drill may cost around £100 (mine cost £120 and when matched up with a steppper drill bit it’s perfect for drilling button holes) but at a minimum a capable desktop milling machine is £800 which seemed quite surprising as my understanding of them is that they are essentially pillar drills with special drill bits and an adjustable base.

However, I’ve come to understand they are far heavier and sturdier machines. This is because a milling machine is required to apply pressure perpendicular to the drill rather than vertically is much more strenuous while at the same time maintain precision.I’m sure there is more to it than that and please feel free to comment and let me know.

I’ve bit the bullet and gone for the Draper variable speed mini mill as it should fit the purpose of cutting accurate shapes into enclosures for rectangular instruments such as lcd’s ad switches. and I look forward to putting it to the test. It should be here by mid April and at that point I’ll give the machine a try write up a review on here. I’m looking forward to it as it’s going to be quite an upgrade from a handheld Dremel!



Shutter Speed Tester

So first of all what is a shutter speed tester? It’s simply a tool that times how long a camera shutter (in the lens) is open for. This is not typically needed for newer cameras as they tend to be accurate. However, older film camera tend to loose their precision due to wear and tear, and exposure settings can be inaccurate. Using a shutter speed tester allows the photographer to gain a true measure of the shutter speed rather than using a trial and error process which can waste film.

The shutter speed tester has been quite a quick project primarily because it is relatively simple and and it was a case of making alterations to a project developed by c-s-1. These modifications essentially consisted of trimming it down and modifying it to work on a 2 x 16 screen and removing one of the buttons (an lcd light toggle).

The project is cased in a hammond stomp box enclosure (1590XX) and runs off a dc power supply. If you would like any further information about it to build your own, please get in touch and I’ll fill out the blog with further details.

Here are some potential questions and their corresponding answers

Q: Why is the tester is not picking anything up?

A: There are a few things that need to be checked.

  • Check the receiver and emitters are as close as they can be to the lens. If they are further than a few centimetres from each other the receiver may not pick anything up.
  • Check the wires are actually connected to the right sockets.

Q: The device is giving some random results and I have not used it yet.

A: After you have set it up, before actually using the device, click ‘reset’ it first. During setup the receiver and transmitter can get into contact and give off odd readings.


Links index


Building a Clay Pigeon Remote (part 2): Comparing 3D printed and premade enclosures

This blog post is essentially a recount of my experiences trying out 3d printing to make enclosures and may be useful to read if you’ve never made an enclosure before and are thinking about whether to take the 3d printed (printing a box) or ready made route (machining an existing metal box).

When I first started out working with enclosures I typically purchased a handheld enclosure and drilled or cut out each section for the buttons, cable gland, lcd or whaever else warrented the enclosure being cut into.

Due to having few tools and almost always having to make do, the end result always looked terrible with major flaws that really stuck out. Shortly after my first few initial attempts, 3d printers started coming into the mainstream and becoming affordable. I thought this was fantastic, I’d just have to do some CAD designs and the printer would magically produce the thing (I ended up going for the wanhao I3).

It ended up not being quite like that. The CAD software took a couple of weeks to get my head around (Freecad) which is fair. However, while I made some suitable enclosures, they took hours, sometimes days for the printer to produce and if there were any mistakes the whole thing needed to be redone.

This is the latest example – this is a rotatable model so you can use your mouse to zoom in and out.

The same problem found with enclosures arose again – the quality was not great and after messing up screw inlays multiple times I finally decided it was not suitable. The whole thing seemed too fragile and the amount the filament and electricity cost would come to the same price as a solid aluminum enclosure by Hammond which would be rock solid. That’s not even taking into account the time it takes to built the thing.

So, what next … do a 180 and go back to enclosures.

I knew the issue was precision so after browsing youtube it looked like the way to go was to either have it machined at a manufacturer (expensive and only worth it if you do 100+ enclosures) or draw a stencil, print it out and overlay it on the enclosure. I chose the latter

The next step is cutting out the sections now that the stencil is on. 90% of the sections to be cut were circles. I went all out and bought a pillar drill along with a step drill bit. The pillar drill combined with the stencil and a vice would give the most precision. The only thing better would be a cnc machine (low end models which drill into metal are a few thousand pounds from what I can gather) or sending it off to a fabrication company.

The only time I’d reccomend using a 3d printer is for for smaller components such as mounts. That is if you have a low to mid range printer.

Here’s the latest result which is a clay pigeon remote. As you can see, the sections drilled out are mostly circles (where the pillar drill and step drill bit come into play). Wheras a dremel with a ‘speedclic metal saw’ was used to drill out the square for the lcd.


Building a clay pigeon remote using open hardware (Intro)

A few years ago, myself and a friend purchased a trap from a shooting school that was closing down (North Yorkshire Shooting School).  It came with a basic button switch that released the traps which in essence did the trick in that it released the clays. Nice and simple.

However, we thought about a remote one which allowed for delays, preprogrammed sets and randomly thrown sets. After some searching online we quickly found out these were quite expensive which prompted me to look into alternatives.

As I’d had a play with Arduino microcontrollers before it seemed like the perfect project to learn more about the device and hopefully create a complete product that does the basics but has bells and whistles too.

It’s quite close to being complete now so I thought I’d do a few blogs about some of the key steps involved in its development to demonstrate the progression and hopefully knock out some useful information for anyone interested in developing their own devices. So stay tuned!

Move your projects out of the basement

Lets start off with keeping projects out of the *basement and by that I mean preventing projects from being hidden away and only accessible and used by yourself.Do read on if the following sounds familiar:
  • Start project
  • Finish it (get it to a state where it does what you want)
  • Start using it in some capacity for yourself.
  • Briefly contemplate promoting it but: make excuses that it needs more work, shrugging, hiding under your desk.
  • Start a completely new project

I have a few tips listed below which can help get the project out there. They’re all points I keep in mind personally too.

The project itself

Decent Readme

The first is to write a decent readme explaining what the software does and ideally has all the key stuff like how to contribute, how to ask for help and so forth.

Get them up and running as quickly

Ideally a standalone exe or a single command such as pip install example or apt-get install example. Go on the assumption that a user is mildly interested and may give an installation attempt a few minutes (if you’re lucky) and outline this with in a quickstart heading in the readme.

Getting it out in the open

Find forum posts where people are asking questions.

Think of what questions a user would ask that would lead them to your project. The more specific the better. For example, with the MRISA project I literally googled ‘reverse image search api’ found a user asking for one on stack overflow and popped. Basically all the traffic comes from that post and the project has around 80 stars and multiple contributions. Not bad for 5 mins of ‘marketing’!

The real trick though is to make sure what you are posting is genuinely helping. If you just randomly or insensitively plug your project, it’s going to upset people and backfire.

Submit your project to relevant sites

If your project uses an api, library or has any other dependancy, check the sites and see if they have a place to submit projects.For instance, digitalocean has a projects page which I recently had a project accepted on. The worse they can say is no (I say that as though it’s such a little thing!) and if they come back with suggestions it’s a win because you know what to improve.

I think those four points are particularly useful as they are quite fundamental, should be quickly and easily achievable but have the potential to provide high returns(plenty of visits and users) for minimal investment (takes relatively litte time to implement).

Agree/disagree, have something to add? Let me know in the comments section. Thanks for reading!

* I literally keep my projects on a 1u server in the basement running gogs. But I’m gradually starting to push things onto github

Monitoring your DNS records

Sometimes DNS servers just drop hostnames for a variety of reasons. Perhaps a customer forgets about a bill and their DNS records are wiped or there is an edit to a record, it’s not quite right and needs to be reverted and so on.

In an ideal world this would never happen but it does seem to every now and again. In most cases, this can be recovered but it can be a pain and also time consuming.This is where DNS Historian comes in – an applicaton which monitors and records DNS changes. It also provides an http api to new hostnames can be added and existing ones can be queried.  To find out more, check out:

Calculating the distance between a set of postcodes and ranking them in order.


There are sometimes instances where you have a set of locations and you need to rank them in order. A perfect example of this is allowing customers to find out the closest branch of a shop. The example here involves a set of ice cream shops and showing which one is closest to the postcode we specify.


You can see the code here in action at: As always any patches to the code are very welcome

Getting started with the example

The first step is to download a copy of the source code and sql script which you can do using git:

or downloading it all in a zip file

Create a new database and import the table with the UK postcodes and their corresponding lat and lon (UK postcode database was provided by

then exit back into your shell, cd to the source code directory and run:

That’s the database all set up so now take a look at the example (search.php).

Essentially what this does is takes a postcode (YO31 8UB), looks up the corresponding lat and lon coordinates and runs a SQL query using the haversine formula and returns the ice cream shops in order of distance. So essentially the customer knows where the nearest place to get an ice cream is. Once you have entered your database credentials to search.php you should be able to run:

which should return (distance in miles):

There you have it! We can now see that out of all the ice cream shops in the database (as the crow flies) ‘Archers Ice Cream’ is the nearest. Hopefully this example will help you gain an idea of how you can implement this functionality yourself into the projects you are working on.

Need help or not exactly what you are looking for?

Vixre is a consulting and software development company based in Northallerton, England. We’re happy to help you with implementing the distance calculation, data preparation, processing, server setup and such. Just let us know what you would like to achieve and we will see if we can be of service.

Possible improvements

Investigating the possibility of integration with the API. This would likely involve porting the existing code (worth chatting with the team before doing this).

Currently the class only provides an ‘as the crow flies‘ distance calculation. Using a path routing tool (e.g. OSRM) would be very useful and should allow for distance estimates that take into account roads and terrain.

Getting started with CharitiesNeed

This is a step by step guide to adding your charity to CharitiesNeed. It’s a nice and simple process and shouldn’t take more than a few minutes.


1. Go to and click on “add charity” at the top right of the screen.


2. Fill in the details you see on  the registration form and then click ‘Register’.


3. You should receive an email shortly with a link to activate your account. Once you receive and click on the link you will be able to log in.

Your charity details and needs

1.  After logging in, you will see your charity listed and the first step is to click on ‘location’ and fill out the details there. There is also a section at the bottom which allows you to give a description about your charity or any thing else (e.g. opening times). Once you are happy, click save.


2. The next step is to add the type of items your charity needs. You can also set a ‘need rating’ next to the item categories. So for instance if you really needed books, you could select ‘5’ indicating to donors that you really need books.


The section at the bottom allows you to write any further details about your needs.  Once you are happy, click save.

4. Adding a charity logo or image relating to your charity can be done by clicking on ‘logo’. Try to pick an image that’s not too big. Again, click save.


5. Done! That’s all that is required, your charity is now on CharitiesNeed. Try putting in a postcode near to your charity on the search page. You should find your charity in the results.


The profile donors will see with all the information you have entered.


Charities with more than one donation point and/or managing multiple charities.

You can add additional charities or donation points in the ‘Donation points’ section.

This is particularly useful if you manage multiple different charities and/or your charity has multiple donation points (e.g. clothes banks, shops, drop off points).

This is a quick run through so If you have any questions or suggestions, please feel free to email or comment. Thanks for reading and I hope CharitiesNeed can help your charity receive more donations, raise awareness of your charity and help donors find out where they can donate their unwanted items.


Automated wordpress installation in under 30 seconds


Recently a client expressed his interest in teaching people how to use wordpress. The goal was to give each student in the class their own site so they could work on it throughout the day to make the lesson practical and give the students some hands on experience. It’s also great because the student has something they can take home with them and can continue to work on. I got through setting up 3 before I realized it had to be automated.


Why not just have each student sign up for a account? is great, someone just has to sign up and poof, they have a site. The issue is flexibility and one of the major ones is lack of plugins. Currently has a list of plugins and as far as I’m aware you are not able to install any plugin you wish – only the ones they have on their set list. Considering the abundance of great plugins and that most users can benefit from them, it’s a major drawback.

Technical Overview

It’s a bash script that starts at the beginning by creating a user on the server, installs the database, creates relevant directories, downloads wordpress and assigns permissions and all the way to using the cloudflare DNS api to create the records and creating a welcome message. The idea was to just type one command and a site is ready for use like so:

./ test123

which would result in a brand new wordpress site at:

It does just that and has saved me quite a lot of time. If you’re inclined to have a look at the code, please feel free to do so.

If you have any questions or would like something changing or enhancing, we are available.

Server details: Debian stable, Apache2, MySQL/MariaDB, PHP, cURL, wget

Overall message

I think the key message is try to take time out and be aware of how you are working and whether it can be improved. If you are familiar with the process and find it is taking up more time than you would like, exploring how to automate the process is definitely something to look in to and something we can help with.

CharitiesNeed – A brief overview for Donors

CharitiesNeed is one of our recent projects and the main goal behind it is to make donating items to charities easier and quicker. In essence, it’s an app where you (the donor) specify your post code and the category (e.g. Clothes, Bric a brac, Food, Books) of the item or items you wish to donate and CharitiesNeed shows the charities listed in the database ordered by distance. With this, the plan is that you can pick up any item and by using CharitiesNeed, find the nearest Charity which would be happy to take the item.

charitiesNeed landing

For more information sign up to the mailing list. We’ll also notify you as soon as it’s released. Charities interested in registering can email for more info.