Schlagwort: Holiday Hacks

  • Syncing tunes to Christmas tree lights with the Arduino Opta

    Syncing tunes to Christmas tree lights with the Arduino Opta

    Reading Time: 2 minutes

    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.

    [youtube https://www.youtube.com/watch?v=ES7W_O3CeZk?feature=oembed&w=500&h=281]

    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.

    Website: LINK

  • This Nicla Vision-powered ornament covertly spies on the presents below

    This Nicla Vision-powered ornament covertly spies on the presents below

    Reading Time: 2 minutes

    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 move 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.

    [youtube https://www.youtube.com/watch?v=UnwMHgpKqw4?feature=oembed&w=500&h=281]

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

    Website: LINK