Aaron Leyburn – Final Project Demo

This is my project “EMT” (Elder Motion Technology)

Below is a video demonstration:

(320p Version – RT Max File size 10MB)

Or a HD version on YouTube


The Project uses a motion sensor and a contactless sensor on the door. When the motion sensor is activated for over a set threshold “40” minutes in this case, (this can be customized) the device will send an email to a set amount of contacts.

If the motion sensor stops detecting movement or if the door is opened the device will cancel the timer and restart it when the motion detector sense movement once again.

The Device is completely automated, one install is necessary after that there are no button presses or setup needed.

It is possible for the device to work without the door sensor however this will make the timer not work as well and cause more false positives.

Final Project – Week 12 +

Week 12 & onward has focused on finishing areas of this project, from physical to written, the device overall circuitry has been completed alongside the casing, with multiple tests.


This is my current setup, the device consists of three parts, the Switch to reset the machine, a Pressure Pad to recognize if the room has been entered, and Finally a motion sensor to check if there is movement inside the room.

My next step was to take the device to the Fab Lab in Londonderry, Derry – to prepare for this I made a Logo for some branding, to make the overall device have more polish, Here is my original design:


The Logo is supposed to look like the Arduino Unit & the Ethernet Shield, with the white poliginal ball being the Motion Sensor and the black square representing the door switch. after printing this as a vinyl sticker at the Fab Lab, the grey text on the logo unfortunately just didn’t stand out enough, as it was too hard to read, so I created another one with more suitable colours:


The light grey text is much easier to see on the device and has shown up quite nicely on the sticker. The next step is to customize the case, at the fab lab I was able to cut out an appropriate sized hole to place the motion sensor into, it makes the device look more like an all in one:


Here is a close up:


It occurred to me that there was no way of telling if the system was active or not. To fix this I added some LEDs, a green LED was to show if the device was active, and a blue LED was added to show the status of the motion sensor. this is a simple change but is very helpful. Here is the layout of the device in a Fritzing sketch:



Here is a Photograph of the device with the LEDs:

IMG_3112 IMG_3113

I Have also been in the process of making a demonstration video to showcase all of this projects features.

Final Project – Week 11

Week 11 has consisted of building the framework for the project, I have connected 3 LED’s to the Arduino unit through ports 13 – 11, the power to these is provided through the digital ports of the Arduino and then is routed to the ground, alongside this the three sensors which I will be using are connected to the digital ports 7 – 5 like so:


My code simply has an if loop, and if any of the sensors give a HIGH value then each led will light for 2 seconds and the cycle will continue, here is an example of the code:


Each LED is set up then set to a pin, then each sensor is activated as an input then assigned a pin, the if loop will add to a number variable which will count up if the status is HIGH. I plan to do more with this status as this is my planned framework for my time clock.

Here is a Video of my project in action!:

In a nutshell:

Each LED will light in this order, Green, Red & Blue.

If the Pressure Pad is pressed the green LED will not light in the cycle. 

If the LDR senses light the Red LED will not light,

& if the Switch is pressed the blue LED will not light.

Final Project – Week 10

Week 10 has been a roller coaster of stress and pride! between the Arduino working & not working and finding out why there were errors to begin with.

Problems were encountered, as my email sketch wouldn’t work, I fiddled with the unit for hours, until it finally hit me, the Ethernet cable must be plugged in beforehand, The email sketch contains a counter of errors and if this counter reaches over 10 the sketch will not run, my assumption was that this check would be gradual, however it was instant as there was no delay present. an LED was added to check if the code was a success, it is obvious if the code was a success as an email was sent, however it is more important for the Arduino unit itself to know if the email was a success. Here is a simple Fritzing drawing of the email sketch hardware:


Here is a photo of the setup, this was a little awkward as my Ethernet cable only goes so far from my desktop, so the unit had to dangle a bit:


The Physical foot switch has been upgraded from cloth sitting on a chair to an actual unit which is much easier to transport and works much better, the unit previously had to be lined up appropriately to get working results, whereas now it can be used anywhere and is much more sturdy.

Small Progress has been made with the project written work I have included some references from the books which have been supplied to me by John Harding.

Here is a Video of the Unit Working with the foot switch:

I am currently thinking about alternative methods of timing as the RTC was unfortunately a no go.

Final Project – Week 9

Week 9 – Success my Arduino unit has sent an email when the pressure switch was pressed, I will upload a video of it working here, this was rather difficult as the original way I was trying to send emails with my Arduino was halted by the windows smart screen filter which would automatically delete the e-mails as they arrive.

After some research a website called Temboo offered exactly what I needed, they would save the e-mail details and allow it though their servers which meant that Google & Microsoft were not receiving emails through some random device but rather an actual company which is known for the Internet of things. in doing this none of my emails were detected as spam.

During my weekly meetup with John he offered me some documentation about the Arduino unit it’self and the Internet of things, he heavily recommended:

Dr. Pfister, C (2011) Getting Started with The Internet of Things

So I am currently working my way through it while Playing with my Arduino unit.

Final Project – Week 8

This week has involved Analyzing the interviews for the Key findings or trends which all of the Interviewees have mentioned. The Key findings confirmed my assumptions about the pendants, it would seem that most elderly people would rather not wear them at all. The key findings also shows that if their internet was to go down they would not panic, however if their phone was to stop they would see to it immediately.

This week has also seen the end of my other projects, this is great as I can now focus all my available time to this project.

As for my Arduino work, I have been following the tutorials and practice on the official Arduino website to get my device to send an email, some progress is being made but it is proving to be unsuccessful, the device is saying it has sent the e-mail, but yet I have not yet received it online on my computer, I will be investigating new ways of doing this.

My family have been kind enough to send me more official policy’s from the NHS and Northern Irish Health Center.


Reading Week 2

My second reading week was dedicated to interviews, as per Greg’s Suggestion it was a perfect time to do four individual face to face interviews with members of the elderly community. the interview script was heavily inspired by “Steve Portigal’s Interviewing Users” & David Travis’s The 7 Deadly Sins Of User Research. Each Interview was approximately 1 – 2 hours long, it depended on how talkative each interviewee was.

Some interviewees were comfortable with audio recordings yet all of them were camera shy, The interviews may need to be slightly altered due to some extremely colorful language which may not be suitable for others to hear.

This is the Interview Script – Aaron Leyburn which I used.

Each question was tailored to get an opinion based response from the interviewees as by Steve Portigal’s Advice. it provokes better material which can be worked with. Each interview was done in my living room at home, which is a quiet area with no distractions, and my sister was able to audio record some of the interviews and transcribe them all.

The interview was split into three sections, 1 – Technology, 2 – Internet & 3 – Alarms, this method was helpful as it kept myself and the interviewees on topic as each question was structured & related.

Reading Week 1

This week has consisted of me reading “Interviewing Users: How to Uncover Compelling Insights by Steve Portigal” The main aspect I have learned from this book is that interviews are not an open and shut case, it is not correct to make your interview questions Pass or fail, this only tells you what you want to hear and actually creates stress for the interviewee, a better alternative is to ask a question which is more conversational, and try to pull as much information from the interviewee in a calm session, the questions need to be controversial rather than pass fail, the reason for this being that the interviewees have to be comfortable and True or false style answers cause the person to feel as though there is a right answer and a wrong answer.

As for the physical aspect my time clock has arrived and I was able to get it wired up, I am currently attempting to allow the library that came with it to be implemented, below is a Fritzing Circuit showing the current circuit I have running, as well as the time clock I have managed to integrate a push mat alongside my led, so this is some of the key framework for my project as when the pressure sensor is activated the variables in my code will change will has the possibility of sounding an alarm or sending a message.

Untitled Sketch_bb

I have found a few Arduino Ethernet shields to get my device connected to the internet however before I order them I am looking into the compatibility between SPI & I2C.

Final Project – Week 7

Week 7 Has consisted of working with the Arduino unit itself along with interviews, I managed to get the Arduino unit set up for use with my PC. Initially I had some trouble as when I downloaded the software I was greeted with port & library errors which confused me as when I worked with Arduino before is was a simple matter of plug and play so long as the drivers were installed, turned out I had downloaded what I thought were the newest drivers when infact I had downloaded the hourly build which requires the full build to be installed beforehand, this was not documented on the Arduino website, however some searching quickly cleared up this problem.

As a refresher I went through the on-line tutorials and while I was using them my prior knowledge returned as I was able to change the status of an LED by using a makeshift switch. I was shown a method by John Harding which essentially removed the need for a resistor with the digital input ports, I was also recommended to buy a small time-clock device rather than using the coded wait feature due to sync issues. Here is a photograph of the Arduino in action:


A simple circuit but this is a good test on how I will use variables or boo-leans to activate and deactivate the unit, from the photo you can see the blue wire is controlling the status of the LED. Here is a Screenshot of the code:


Simple code but I was happy to be making progress towards making this idea an actual reality. As for my first two interviews they were informative and enlightening however my interviewees are from rural areas so I had to reword and remove some areas of the document, I apologise for this however my relatives are very open and free with their use of creative language, and I’d rather not have swear words in my documents! my other interviewees were not available while I was at home so their interview may have to wait until next week. Talking to them reassured my assumptions about the pendant, one interviewee said the pendant device looked too medical and was not fashionable which is understandable, just because someone is at a particular age does not mean that they have to stop being stylish, as for the other interviewee their personal business is in agriculture and they believe that a pendant will simply get in the way of their work.

I was also able to ask my family who have direct involvement with healthcare about information on policies about these types of medical alarms, I was directed to some helpful websites such as:

Delivering the Benefits Of Digital Health Care

NHS Continuing Healthcare

Telecare & Alarms

Pensioner Saved From Fire By Alarm System

Telecare In England

Technology Enabled Care Systems

I was also sent some links by my studies supervisor Greg O’hanlon which have been useful:

NHS Alpha

Writing & How to

Welcome to the Conversation

Final Project – Week 6

Week 6 has mainly consisted of getting myself set up for using the Arduino Unit itself & making more progress on my written essay. I was able to have a short meeting with John Harding about methods of using the Arduino unit. I was informed of a simpler way to use the digital inputs built in resistor by utilising a simple piece of code.

As for research I was able to watch many videos which detailed the Internet of Things & Interviewing users here are some of the videos:

What Is The Internet Of Things & Why should we care

Could The Internet of Things = The Internet of you?


Validating Consumer Demand with prototypes – Steve Cohn

The script for my interviews has also been completed and will hopefully be checked by an NHS official if it meets the standard privacy policy standards.

As for Wednesdays class we focused on how how to write in a suitable fashion for the University’s standard and the appropriate referencing method (Harvard).

A great report was forwarded to me by my supervisor Greg, the report covers many aspects of the Internet Of Things such as Security, Privacy & Application.

The Internet of Things: Making the most of the Second Digital Revolution

This week has been rather stressed for time due to having to micro manage multiple projects, it is rather unsettling that week 6 has arrived ever so quickly however I hope to play more with the Arduino in the coming week which may make me feel more of a sense of progress towards a prototype as currently having no building in progress is a little scary this is also my first late blog post so I apologise for that.

I have also decided to make a logo & Name for my end product, hopefully I will have some designs perfected for my next blog post.