Skip To Content

    This College Student Used His Family's Cell Phones To Re-Create The Weasleys' Clock

    Who said Muggles can't do magic?!

    Trey Bagley is a senior at Duke University who used his knowledge as a computer science major to create a real-life, digital version of the magical clock from the Weasleys' house in Harry Potter.

    As all Harry Potter fans know, the Weasleys' clock that was located at the Burrow helped keep track of where the individual family members were at all times.

    Bagley told BuzzFeed that the Harry Potter series was always special to his family.

    "From midnight book releases to Halloween costumes and birthday parties to visiting the filming locations, it’s been something that we could all share and get excited about," he said.

    "Now we’re all beginning to go our separate ways, which seemed all the more reason to create something that tied us back to home."

    The student explained that Duke has an Innovation Co-Lab and held an open class to learn about programming something called the Particle Photon, which is a a microcontroller that connects to W-iFi.

    Once he had his sisters' permission, he was able to program all of their cell phones with GPS and connect them to a broken antique clock.

    After working on the project during his exam week, Bagley was able to finish the clock in time for Christmas at home with his family.

    "I helped everyone set up rules on their phones," Bagley explained. "And now the clock is an always-changing conversation piece on the wall at home."

    While a lot of people have apparently told Bagley they'd love to buy more Weasley clocks from him, he's more excited by the thought of others trying to build their own.

    "I would love to see unique takes on this concept created around the world, and I’ve publicly posted the code the clock runs on so that anyone can use it," he said, "and to show that it’s not even that complicated!"