Muggle magician builds the Weasley family clock from Harry Potter

It is now possible to build your own piece of magic with the help of computer code and old antique clock...

Muggle born genius, Trey Bagley, has built a piece of real life Harry Potter magic.

The Computer Science senior student from Duke University has put his intellect to good use and reconstructed the magical Weasley family clock from the Harry Potter books and films.

Designed to keep track of all the Weasley children, the magical clock can tell you the whereabouts of each member of the family.

Everyone has their own clock arm that points to a series of place names, whether that be at Hogwarts, home at the Burrow, at the dentist or even lost.

Coming from a Harry Potter fanatic family, Trey decided to re-invent the Weasley clock for his family.

So, first step – Bagley attended an Innovation Co-lab class at his university to learn about microcontroller programming… stay with us!

This enabled him to send the clock messages that would make different sections of the clock light up using an LED light.

Then, with the permission of the family, he was able to locate each member using the GPS on their mobiles.

Then came the small matter of designing and building the clock.

After finding an old antique to repurpose, Trey labelled each side of the hexagon clock face with a different destination (home, work, holiday etc) and little initialled shapes to light up according to where each family member is.

Whilst many have contacted Trey about purchasing Weasley clocks from him, he is more interested in seeing how other people get on with their own builds, and he will send you the computer code to try yourself – if you know what to do with it, that is…

Ideal Home loves...

Budget kitchen sinks | Update your kitchen on a budget | Budget kitchens | PHOTO GALLERY | Housetohome.co.uk

Update your kitchen on a budget

Pink utility room | Adding colour to a utility room | Decorating with colour | PHOTO GALLERY | Housetohome

How to add colour to a utility room

Conservatory and glass extension ideas

Conservatory and glass extension ideas

Children's room with blackboard wardrobes | Country children's room design ideas | Children's room | PHOTO GALLERY | Style at Home | Housetohome.co.uk

8 super simple DIY hacks for your child’s bedroom

Shabby chic kitchen ideas

Shabby chic kitchen ideas that are packed with character

Decking with outdoor shower and stool

Urban garden ideas