As someone who is perennially worried about where her loved ones are, I was always obsessed with the clock that the Weasleys had, which showed where every family member was at all times. If only something like that could exist in real life, I thought.

GIF

Advertisement - Continue Reading Below

Well, turns out that it can, through the magic of technology. Trey Bagley, a senior at Duke University majoring in Computer Science, made a fully-functional replica of the clock and shared the entire process on Imgur.

First, he bought a broken clock at an antique store and gutted it.

Trey Bagley

Most Popular

He mapped out the design and gave the sketches to an illustrator, and then laser cut/etched those vectors onto wood.

Trey Bagley

Then he put in a Particle Photon connected via a breadboard to an addressable LED strip.

Trey Bagley

Advertisement - Continue Reading Below

He used the If This Then That service to "define radii that would send messages to the Photon if my phone entered or exited them." He then did the same with the phones of his five family members.

Trey Bagley

Most of the rules are location-based, so it sets him at WORK if he enters the library at his school and at HOME when he gets to his dorm room. But what makes it extra clever is that there are other triggers as well. If the weather forecast is snowy, for example, it sets him to HOLIDAY, and if the stock of the company he's working for next year dips too low, it sets him to MORTAL PERIL.

Trey Bagley

The coolest feature of all is that the glowing B at the bottom of the clock (which was painted on acrylic) is lit by the tail end of the LED strand and it flashes a different color for every member of the family when it's updating their location.

Trey Bagley

Trey said that Harry Potter was always a big thing in his family so he thought the clock would be a fun way to keep everyone together since they're all going separate ways next year.

"I made the clock as a gift for my parents, as me and my sisters are all going in different directions," he told Seventeen.com. "It seemed like a fun way to keep a connection back to home, as well as back to our collective childhoods."

He said that he also hoped that by posting the instructions he could encourage people of all genders to make the clock themselves, or to experiment mixing art and technology in other ways!