Schlagwort: Sean Hodgins

  • Project anyone’s face onto your own with Raspberry Pi Zero

    Project anyone’s face onto your own with Raspberry Pi Zero

    Reading Time: 2 minutes

    Sean Hodgins is back with a new Halloween-themed project, this time using a pico projector and a Raspberry Pi Zero to display images and animations onto a mask.

    It’s kinda creepy but very, very cool.

    Face Changing Projection Mask – Be Anyone

    Have a hard time deciding what to be on Halloween? Just be everything. Some links for the project below. Support my Free Open Source Projects by becoming joining the Patreon!

    Face-changing projection mask

    Sean designed his own PCB – classic Sean – to connect the header pins of a Raspberry Pi Zero to a pico projector. He used Photoshop to modify video and image files in order to correct the angle of projection onto the mask.

    He then 3D-printed this low poly mask from Thingiverse, adapting the design to allow him to attach it to a welding mask headband he purchased online.

    As Sean explains in the video, there are a lot of great ways you can use the mask. Our favourite suggestion is using a camera to take a photo of someone and project their own face back at them. This idea is reminiscent of the As We Are project in Columbus, Ohio, where visitors sit inside a 14-foot tall head as their face is displayed on screens covering the outside.

    For more of Sean’s excellent Raspberry Pi projects, check out his YouTube channel, and be sure to show him some love by clicking the ol’ subscribe button.

    Website: LINK

  • Sean Hodgins’ video-playing Christmas ornament

    Sean Hodgins’ video-playing Christmas ornament

    Reading Time: 3 minutes

    Standard Christmas tree ornaments are just so boring, always hanging there doing nothing. Yawn! Lucky for us, Sean Hodgins has created an ornament that plays classic nineties Christmas adverts, because of nostalgia.

    YouTube Christmas Ornament! – Raspberry Pi Project

    This Christmas ornament will really take you back…

    Ingredients

    Sean first 3D printed a small CRT-shaped ornament resembling the family television set in The Simpsons. He then got to work on the rest of the components.

    Pi Zero and electronic components — Sean Hodgins Raspberry Pi Christmas ornament

    All images featured in this blog post are c/o Sean Hodgins. Thanks, Sean!

    The ornament uses a Raspberry Pi Zero W, 2.2″ TFT LCD screen, Mono Amp, LiPo battery, and speaker, plus the usual peripherals. Sean purposely assembled it with jumper wires and tape, so that he can reuse the components for another project after the festive season.

    Clip of PowerBoost 1000 LiPo charger — Sean Hodgins Raspberry Pi Christmas ornament

    By adding header pins to a PowerBoost 1000 LiPo charger, Sean was able to connect a switch to control the Pi’s power usage. This method is handy if you want to seal your Pi in a casing that blocks access to the power leads. From there, jumper wires connect the audio amplifier, LCD screen, and PowerBoost to the Zero W.

    Code

    Then, with Raspbian installed to an SD card and SSH enabled on the Zero W, Sean got the screen to work. The type of screen he used has both SPI and FBTFT enabled. And his next step was to set up the audio functionality with the help of an Adafruit tutorial.

    Clip demoing Sean Hodgins Raspberry Pi Christmas ornament

    For video playback, Sean installed mplayer before writing a program to extract video content from YouTube*. Once extracted, the video files are saved to the Raspberry Pi, allowing for seamless playback on the screen.

    Construct

    When fully assembled, the entire build fit snugly within the 3D-printed television set. And as a final touch, Sean added the cut-out lens of a rectangular magnifying glass to give the display the look of a curved CRT screen.

    Clip of completed Sean Hodgins Raspberry Pi Christmas ornament in a tree

    Then finally, the ornament hangs perfectly on the Christmas tree, up and running and spreading nostalgic warmth.

    For more information on the build, check out the Instructables tutorial. And to see all of Sean’s builds, subscribe to his YouTube channel.

    Make

    If you’re looking for similar projects, have a look at this tutorial by Cabe Atwell for building a Pi-powered ornament that receives and displays text messages.

    Have you created Raspberry Pi tree ornaments? Maybe you’ve 3D printed some of our own? We’d love to see what you’re doing with a Raspberry Pi this festive season, so make sure to share your projects with us, either in the comments below or via our social media channels.

    *At this point, I should note that we don’t support the extraction of  video content from YouTube for your own use if you do not have the right permissions. However, since Sean’s device can play back any video, we think it would look great on your tree showing your own family videos from previous years. So, y’know, be good, be legal, and be festive.

    Website: LINK

  • Sean Hodgins’ Haunted Jack in the Box

    Sean Hodgins’ Haunted Jack in the Box

    Reading Time: 3 minutes

    After making a delightful Bitcoin lottery using a Raspberry Pi, Sean Hodgins brings us more Pi-powered goodness in time for every maker’s favourite holiday: Easter! Just kidding, it’s Halloween. Check out his hair-raising new build, the Haunted Jack in the Box.

    Haunted Jack in the Box – DIY Raspberry Pi Project

    This project uses a raspberry pi and face detection using the pi camera to determine when someone is looking at it. Plenty of opportunities to scare people with it. You can make your own!

    Haunted jack-in-the-box?

    Imagine yourself wandering around a dimly lit house. Your eyes idly scan a shelf. Suddenly, out of nowhere, a twangy melody! What was that? You take a closer look…there seems to be a box in jolly colours…with a handle that’s spinning by itself?!

    Sidling up to Sean Hodgins' Haunted Jack in the Box

    What’s…going on?

    You freeze, unable to peel your eyes away, and BAM!, out pops a maniacally grinning clown. You promptly pee yourself. Happy Halloween, courtesy of Sean Hodgins.

    Clip of Sean Hodgins' Haunted Jack in the Box

    Eerie disembodied voice: You’re welco-o-o-ome!

    How has Sean built this?

    Sean purchased a jack-in-the-box toy and replaced its bottom side with one that would hold the necessary electronic components. He 3D-printed this part, but says you could also just build it by hand.

    The bottom of the box houses a Raspberry Pi 3 Model B and a servomotor which can turn the windup handle. There’s also a magnetic reed switch which helps the Pi decide when to trigger the Jack. Sean hooked up the components to the Pi’s GPIO pins, and used an elastic band as a drive belt to connect the pulleys on the motor and the handle.

    Film clip showing the inside of Sean Hodgin's Haunted Jack in the Box

    Sean explains that he has used a lot of double-sided tape and superglue in this build. The bottom and top are held together with two screws, because, as he describes it, “the Jack coming out is a little violent.”

    In addition to his video walk-through, he provides build instructions on Instructables, Hackaday, Hackster, and Imgur — pick your poison. And be sure to subscribe to Sean’s YouTube channel to see what he comes up with next.

    Wait, how does the haunted part work?

    But if I explain it, it won’t be scary anymore! OK, fiiiine.

    With the help of a a Camera Module and OpenCV, Sean implemented facial recognition: Jack knows when someone is looking at his box, and responds by winding up and popping out.

    View of command line output of the Python script for Sean Hodgins' Haunted Jack in the Box

    Testing the haunting script

    Sean’s Python script is available here, but as he points out, there are many ways in which you could adapt this code, and the build itself, to be even more frightening.

    So very haunted

    What would you do with this build? Add creepy laughter? Soundbites from It? Lighting effects? Maybe even infrared light and a NoIR Camera Module, so that you can scare people in total darkness? There are so many possibilities for this project — tell us your idea in the comments.

    Website: LINK