Every year, [Conor O’Neill] hacks something together to spook and entertain trick-or-treaters who happen by his home on Halloween. He’s noticed a pattern — every year the project involves a mess of code, often slapped together using different frameworks and languages. Attempting to alleviate that, and maybe make things a bit more friendly to beginners who understandably find code-intensive project daunting, this year he set out to write as little code as possible.
Okay, so this is still by no means simple, but it is interesting how much can be done without writing much code (and the end result was great!). [Conor] says he’s been building similar Halloween projects every year for the last ten or so, and it shows — we wrote about another one of his haunted doorbells back in 2015. We’re looking forward to seeing what he cooks up next year, and we hope you’ll have some awesome automated Halloween decorations as well!
Continue reading “Halloween Hack Requires Minimum Code, Produces Maximum Fun”
If you prefer to draw boxes instead of writing code, you may have tried IBM’s Node-RED to create logic with drag-and-drop flows. A recent [TensorFlow] video shows an interview between [Jason Mayes] and [Paul Van Eck] about using TensorFlow.js with Node-RED to create machine learning applications for Raspberry Pi visually. You can see the video, below.
The video doesn’t go into much detail since it is only ten minutes long. But it does show how easy it is to do things like identify images using an existing TensorFlow model. There is a more detailed tutorial available, as well as a corresponding video, which you can see below.
Continue reading “Visual Raspberry Pi With Node-Red And TensorFlow”
Those of you who were regular office dwellers before the pandemic: do you miss being with your coworkers at all? Maybe just a couple of them? There’s only so much fun you can have through a chat window or a videoconference. Even if you all happen to be musicians with instruments at the ready, your jam will likely be soured by latency issues.
[Eden Bar-Tov] and some fellow students had a better idea for breaking up the work-from-home monotony — a collaborative sequencer built for 2020 and beyond. Instead of everyone mashing buttons at once and hoping for the best, the group takes turns building up a melody. Each person is assigned a random instrument at the beginning, and the first to go is responsible for laying down the beat.
Inside each music box is an ESP8266 that communicates with a NodeRed server over MQTT, sending each melody as a string of digits. Before each person’s turn begins, the LED matrix shows a three second countdown, and then scrolls the current state of the song. Your turn is over when the LED strip around the edge goes crazy.
Music can be frustrating if you don’t know what you’re doing, but this instrument is built with the non-musician in mind. There are only five possible notes to play, and they’re always from the same scale to avoid dissonance. Loops are always in 4/4, which makes things easy. Players don’t even have to worry about staying in time, because their contributions are automatically matched to the beat. Check it out after the break.
Tired of sitting indoors all day, but still want to make music? Build a modular synth into a bike and you’ve solved two problems.
Continue reading “Slack Off From Home With A Networked Jam Session”
With Google’s near-monopoly on the internet, it can be difficult to get around in cyberspace without encountering at least some aspect of this monolithic, data-gathering giant. It usually takes a concerted effort, but it is technically possible to do. While [Mat] is still using some Google products, he has at least figured out a way to get Google Home to work with location data without actually sharing that data with Google, which is a step in the right direction.
[Mat]’s goal was to use Google’s location sharing features through Google Home, but without the creepiness factor of Google knowing everything about his life, and also without the hassle of having to use Google Maps. He’s using a few things to pull this off, including a NodeRED server running on a Raspberry Pi Zero, a free account from If This Then That (IFTTT), Tasker with AutoRemote plugin, and the Google Maps API key. With all of that put together, and some configuration of IFTTT he can ask his Google assistant (or Google Home) for location data, all without sharing that data with Google.
This project is a great implementation of Google’s tools and a powerful use of IFTTT. And, as a bonus, it gets around some of the creepiness factor that Google tends to incorporate in their quest to know all the data.
Continue reading “Location Sharing With Google Home”