Browsed by
Month: May 2018

Arduino Power Unit

Arduino Power Unit

I needed an uninterruptible power supply for an Arduino Microcontroller. I wanted the Arduino to be powered by a 9V wall adapter with a backup 9V battery. When AC power is available the unit will draw power from the wall adapter, if there is a power cut the unit will seamlessly switch to the battery as a power source and back when power is available. I wanted various indicator lights as well such as during a power cut an LED…

Read More Read More

Making a Replacement Bolt Handle

Making a Replacement Bolt Handle

I needed to make a replacement for this bolt handle as the bolt had rung off and would not tighten properly. I made up a bolt and a nut to use as the bolt section. I designed a new handle to hold the bolt. The printed model can be seen below. The assembled model can be seen below. The model files can be seen on Thingiverse here.   As always if you have any questions please don’t hesitate to ask,…

Read More Read More

LED Post Box

LED Post Box

This project uses an Arduino Nano to add LEDs to a post box to alert the user to when there is post in the box. An Post (Ireland’s National Mail Carrier) sell a “DeliveryBox” which is a post box that can take parcels as well as letters. The post worker puts all your post in the box and scans the box which sends you an email. However I wanted a quick visual indicator to alert me when I passed the…

Read More Read More

Preview latest WordPress posts on an external website

Preview latest WordPress posts on an external website

I wanted to embed a preview of the latest posts from this blog on my main website. The problem was that this blog runs on WordPress and my website is a custom PHP site with Bootstrap. WordPress has a built in API (wordpress-site.com/wp-json/). So I wrote a PHP script to pull the information I wanted from the API (Post Title, URL, Date and the Featured Image). To use the API you call wp-get-post.php?post=0, the post can be changed between 0,…

Read More Read More