Posts | Comments

Planet Arduino

Archive for the ‘Holiday Hacks’ Category

We all know that one neighbor who always goes the extra mile when decorating for the holidays, and after taking inspiration from these large displays of light and sound, Marcelo Arredondo, Andres Sabas, and Andrea ZGuz of the Electronic Cats crew decided to build a smaller version for their Christmas tree using the Arduino Opta micro PLC.

The team chose to create their music-synchronized light show with the Opta because of its reliability and bank of four built-in relays that could be utilized to switch specific light strings on or off. Lining up and triggering certain lighting effects for the music was all handled through the open-source Vixen Lights software. In here, the Opta was configured as a quad-channel controller that receives its commands over a GPIO connection sent by an Arduino UNO mediator. The PLC is programmed visually to read a programmable input pin for each relay and then leverage a comparator to toggle the relay when the signal is high.

Back in the Vixen Light software, the team imported their favorite Christmas song and began the process of charting it. First, they generated markers over the audio waveform to signify the beats and overall tempo. Next, various effects were added to the timeline which trigger the lighting channels in a particular sequence. Lastly, the UNO was flashed with a sketch that allowed it to read the incoming Serial data from Vixen over USB and then toggle its digital outputs for the Opta to register.

More information about this project can be found in its write-up here on Hackster.io.

The post Syncing tunes to Christmas tree lights with the Arduino Opta appeared first on Arduino Blog.

Whether it’s an elf that stealthily watches from across the room or an all-knowing Santa Claus that keeps a list of one’s actions, spying during the holidays is nothing new. But when it comes time to receive presents, the more eager among us might want to know what presents await us a few days in advance under the tree, which is what prompted element14 Presents host Milos Rasic to build a robotic ornament equipped with vision and a compact movement system.

On the hardware side, Rasic went with an Arduino Nicla Vision board as it contains a camera and the ability to livestream the video feed over the network. A pair of continuous servo motors allow the mobile robot platform to drive along the ground while another set of servos open the ornament’s trapdoor to expose the wheels and carefully lower it from the tree through a clever system of bands and thread.

The livestreaming portion of the project was based off an existing MJPEG RTP example that exposes a web API endpoint for fetching the latest frame from the Nicla’s onboard camera and delivering it via Wi-Fi. To control the robot, including winching, driving, and toggling the lights, Rasic created a Node-RED interface that sent MQTT messages to the Nicla.

To see more about how this creative device was designed, watch Rasic’s video below or read his full write-up here.

The post This Nicla Vision-powered ornament covertly spies on the presents below appeared first on Arduino Blog.

Sometimes, projects start in somewhat unlikely places. This one began when [Istvan Raduly] scored a fake raven at a neighbor’s garage sale and decided to turn it into a thunder-and-lightning decoration that would frighten even the bravest trick-or-treater.

Get close enough to this raven and you’ll set off the PIR sensor, which triggers lighting and sound effects, including some spooky glowing and blinking red eyes, general cawing, and of course, thunder. The light comes from a whopping 10-watt, 12-volt power LED. This bird’s brain is an Arduino Nano, which is protected from the 12V supply with a boost converter. As you might expect, the sounds are on an SD card and played through a DF Player Mini.

Spookiness aside, our favorite part might be the absolutely lovely job that [Istvan] did decorating the raven’s base. Hiding electronics and hot glue is one thing, but this is above and beyond. Be sure to check it out after the break, both in the safety of the house, and outside in the scary darkness.

What could be better than a Halloween decoration? Something more perennial, or even something that could also be found in a classroom or lab. Something like [Markus Bindhammer]’s spooky muscle-brain interface. It was inspired by a series called “Tales From the Loop” in which a character’s muscle electrical activity is measured in preparation to adjust his prosthetic hand.

Essentially, it does what you think it does: attach the sensors to your muscles, move them around, and watch the brain light up. [Markus] started with a children’s learning kit that involves molding the brain and discs out of red rubbery goop, the vertebrae out of plaster, and then assembling the whole thing.

Instead, [Markus] molded the brain and vertebrae in two-part silicone for durability, and used two-component colored epoxy for the discs.

As the inspiring series is set in the 80s (we assume the brown, dingy 80s and not the fun, neon 80s), [Markus] gave the enclosure/stand an appropriate color scheme. Inside that box there’s an Arduino Pro Micro, a Grove EMG detector, and a mini step-up converter module. And of course, under the brain, there’s a NeoPixel ring. Don’t miss the build and demo video after the break.

There are a ton of things you can do with blinkenlights for Halloween. How about a light-up candy slide, or a bucket that seems them coming?

Even though it seems the worst of COVID has passed, October generally kicks off cold and flu season, so why not continue to pass out Halloween treats in a socially-distanced fashion?

That is, of course the idea behind [Gord Payne]’s Halloween Treat Trough of Terror. Lay a treat at the top of the trough and it will activate the LED strips that follow the treat down to the end, as well as some spooky sounds. The treat in question is detected by an SR-04 ultrasonic distance sensor connected to an Arduino Nano.

All in all this was a highly successful build as far as neighborhood entertainment value goes. Toddlers stared in awe at the blinkenlights, teenagers proclaimed it ‘sick’, and we can only assume that the adults were likely happy to see something aimed at kids that’s not scary.

[Gord] has a nice how-to if you want to build your own, and of course, the Arduino sketch is available. Be sure to check it out in action after the break.

Don’t have room to build a treat slide? Here’s a socially-distanced dispenser that lets them stomp a giant button.

 

Even though it seems the worst of COVID has passed, October generally kicks off cold and flu season, so why not continue to pass out Halloween treats in a socially-distanced fashion?

That is, of course the idea behind [Gord Payne]’s Halloween Treat Trough of Terror. Lay a treat at the top of the trough and it will activate the LED strips that follow the treat down to the end, as well as some spooky sounds. The treat in question is detected by an SR-04 ultrasonic distance sensor connected to an Arduino Nano.

All in all this was a highly successful build as far as neighborhood entertainment value goes. Toddlers stared in awe at the blinkenlights, teenagers proclaimed it ‘sick’, and we can only assume that the adults were likely happy to see something aimed at kids that’s not scary.

[Gord] has a nice how-to if you want to build your own, and of course, the Arduino sketch is available. Be sure to check it out in action after the break.

Don’t have room to build a treat slide? Here’s a socially-distanced dispenser that lets them stomp a giant button.

 

Yet another Day of the Chocolate Bunnies has passed by, and what did you do to mark the occasion? You likely kicked back and relaxed, surrounded by whatever you gave up for Lent, but good for you if you mixed chocolate and electronics like [Repeated Failure] did. They created a completely edible chocolate Easter bunny that screams when bitten.

So obviously, the hardest part is figuring out something to build the circuit with that is both conductive and safe to eat. [Repeated Failure] spent a lot of time with carbon oleogel paste, which is made from natural oils and waxes. Not only was it less conductive than [Repeated Failure]’s skin, it came out pitch black and tasted like nothing, which kind of a bonus, when you think about it.

Then came the cake paint, which [Repeated Failure] laced with trace amounts of silver powder. While that worked somewhat better, a successful circuit would have likely required near-fatal amounts of the stuff. Yikes!

The winner turned out to be edible silver leaf, which is like gold leaf but cheaper. Ever had Goldschläger? Gold leaf is what’s suspended inside. The really nice thing about silver leaf is that it comes in thin sheets and can easily be cut into circuit traces with scissors and connected to I/O pins with copper tape. Be sure to check it out after the break, including [Repeated Failure]’s friend’s reaction to innocently biting the chocolate bunny’s ears off, as one tends to do first.

Think you’d rather hear plants giggle? Sure, it sounds cute, but it’s actually kind of creepy.

A Hackvent calendar made of LEDs!

Who says it’s too early to get in the holiday spirit? We say it’s not. After all, people need time to get in the spirit before it comes and goes. And what better way to count down the days until Christmas than an electronic Advent calendar?

Soldering up a bunch of LEDs to nails, old school style.[Tom Goff]’s kids had some pretty cool ideas for building a decoration, like a musical, lighted sleigh complete with robotic Santa Claus. While that’s a little much to pull off for this year, they did salvage the music and lights part for their Hackvent calendar.

There are 24 small LEDs for December 1st through the 24th, and a big white star for December 25th. Each day, the kids just push the button and the day’s LED lights up. On the big day, all the small lights cascade off and the white one lights up, then it plays Jingle Bells through a sound playback module.

Each LED is connected directly to an input on an Arduino Mega. While there are several ways of lighting up 25 LEDs, this one is pretty kid-friendly. We think the coolest part of this build is that [Tom] and the kids did it old school, with nails hammered into the laser-cut plywood and used as connection terminals. Be sure to check it out in action after the break.

The more time you have, the more you can put into your Advent calendar build. Like chocolates, for instance.

It’s that time of year again when production in Shenzhen grinds to a halt. Lunar New Year has kicked off the annual month-long Spring Festival, and the whole country has taken time off to be with family and celebrate. One tradition of Spring Festival is that everyone gives each other red envelopes with various amounts of money in them called hongbao. The point of this ‘lucky money’ is to spread good fortune in the new year, and it’s easy to amass a whole pile of hongbao by the end of the festival.

[Makerming] made this lovely counting box for anyone looking to keep track of their hongbao in style. It probably goes without saying that this would make an awesome mailbox for Valentines (or anything else that fits in the slot), but there you go. The circuit is pretty simple thanks to a Grove connector shield meant for Arduinos. An IR break-beam module detects the incoming envelope, and the Uno increments the count on the display. The wiggly, servo-driven example hongbao on top are there to add to the fun.

We love the laser-cut decoration on the front, which is an homage to the intricate paper cut decorations. If you don’t like that one, [Makerming] included design files for several other options. Watch it wiggle after the break!

If you won’t be looking to collect valentines because you’ve already found that special someone, give them something that lasts longer than chocolate or roses.

Via Adafruit

Hackaday readers have certainly seen more than a few persistence of vision (POV) displays at this point, which usually take the form of a spinning LED array which needs to run up to a certain speed before the message becomes visible. The idea is that the LEDs rapidly blink out a part of the overall image, and when they get spinning fast enough your brain stitches the image together into something legible. It’s a fairly simple effect to pull off, but can look pretty neat if well executed.

But [Andy Doswell] has recently taken an interesting alternate approach to this common technique. Rather than an array of LEDs that spin or rock back and forth in front of the viewer, his version of the display doesn’t move at all. Instead it has the viewer do the work, truly making it the “Chad” of POV displays. As the viewer moves in front of the array, either on foot or in a vehicle, they’ll receive the appropriate Yuletide greeting.

In a blog post, [Andy] gives some high level details on the build. Made up of an Arduino, eight LEDs, and the appropriate current limiting resistors on a scrap piece of perfboard; the display is stuck on his window frame so anyone passing by the house can see it.

On the software side, the code is really an exercise in minimalism. The majority of the file is the static values for the LED states stored in an array, and the code simply loops through the array using PORTD to set the states of all eight digital pins at once. The simplicity of the code is another advantage of having the meatbag human viewer figure out the appropriate movement speed on their own.

This isn’t the only POV display we’ve seen with an interesting “hook” recently, proving there’s still room for innovation with the technology. A POV display that fits into a pen is certainly a solid piece of engineering, and there’s little debate the Dr Strange-style spellcaster is one of the coolest things anyone has ever seen. And don’t forget Dog-POV which estimates speed of travel by persisting different images.

[Thanks to Ian for the tip.]



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook