One of the sticking points for us with our own Internet of Things is, ironically, the Internet part. We build hardware happily, but when it comes time to code up web frontends to drive it all, the thrill is gone and the project is only half-done.
Including some simple web-based scripting functionality along with the microcontroller basics is one of the cleverest tricks up ESP8266 BASIC’s sleeves. BASIC author [mmiscool] puts it to good use in this short demo: a complete learning IR remote control that’s driven through a web interface, written in just a few lines of BASIC.
Note that everything happens inside the ESP8266 here, from hosting the web page to interpreting and then blinking back out the IR LED codes to control the remote. This is a sophisticated “hello world”, the bare minimum to get you started. The interface could look slicker and the IR remote could increase its range with more current to the LED, but that would involve adding a transistor and some resistors, doubling the parts count.
For something like $10 in parts, though, this is a fun introduction to the ESP and BASIC. Other examples are simpler, but we think that this project has an awesome/effort ratio that’s hard to beat.
Using your smartphone to control your home automation system gives you a lot of flexibility. But for something as simple as turning the lights on and off, it can be a pain to go through the whole process of unlocking your phone, choosing the right browser page or app, and then finally hitting the button you need. It’d be much simpler if it could all be done at the touch of a single, physical button – but phones don’t have many of those anymore. [falldeaf] brings the solution – a four-button Bluetooth remote for your smartphone that’s wearable, to boot.
The project is built around the RFDuino, an Arduino platform used for quickly and easily building Bluetooth compatible projects. So far, so simple – four buttons wired into a microcontroller with wireless capability onboard. The real trick is the 3D-printed clothespin style case which allows you to clip the four-button remote onto your clothes. [falldeaf]’s first attempt was a palm-mounted setup that they found got in the way of regular tasks; we agree that the wearable version offers a serious upgrade in utility.
The smartphone side of things is handled with a custom app [falldeaf] coded using PhoneGap. This is where actions for the buttons can be customized, including using the buttons to navigate a menu system to enable the user to select more than just one function per button. It adds a high level of flexibility, so you can create all kinds of macros to control your whole home automation system from your button clip.
It’s really great to see a project that considers ergonomics and usability above and beyond just creating the baseline functionality. Follow this train of thought and you’ll find yourself enjoying your projects in the use phase well beyond the initial build. Another great example is this self-charging electrically heated jacket. Video after the break.
Continue reading “Bluetooth Automation Remote Hangs Around”
Until the industrial revolution, humans made use of animals to make our labor easier. This is still seen in some niche areas, like how no machine yet has been invented that’s as good at sniffing out truffles as pigs are. [William] has hearkened back to humanity’s earlier roots, but in a more modern twist has made something of a general purpose dog that could feasibly do any work imaginable. Now his dog is remote-controlled.
[William] accomplished the monumental task in a literally cartoonish fashion using the old trope of hanging a hot dog in front of something’s face to get them to chase it. The attachment point was fitted with a remote control receiver and an actuator to get the hanging hot dog to dangle a little bit more to the dog’s right or left, depending on where the “operator” wants the dog to go. [William]’s bulldog seems to be a pretty good sport about everything and isn’t any worse for wear either.
Believe it or not, there has been some actual research done into remote controlling animals, although so far it’s limited to remote-controlled cockroaches. We like the simplicity of the remote-controlled dog, though, but don’t expect to see these rigs replacing leashes anytime soon!
Continue reading “Remote Controlling A Dog”
The time for putting up festive lights all around your house is nigh, and this is a very popular time for those of us who use the holiday season as an excuse to buy a few WiFi chips and Arduinos to automate all of our decorations. The latest in this great tradition is [Real Time Logic]’s cloud-based Christmas light setup.
In order to give public access to the Christmas light setup, a ESP8266 WiFi Four Relay board was configured with NodeMCU. This allows for four channels for lights, which are controlled through the Light Controller Server software. Once this is setup through a domain, all anyone has to do to change the lighting display is open up a web browser and head to the website. The creators had homeowners, restaurants, and church displays in mind, but it’s not too big of a leap to see how this could get some non-holiday use as well.
The holidays are a great time to get into the hacking spirit. From laser-projected lighting displays to drunk, animatronic Santas, there’s almost no end to the holiday fun, and you’ve still got a week! (Or 53!)
If you aren’t already living on the spacecraft Discovery One, you may not have HAL listening to your every voice command. If that’s the case for you, as it is for us, you may have to resort to mashing buttons on little black monoliths like a primitive monkey. [Barnr]’s universal remote project, and some black PLA filament, will get you there in no time.
The remote is based on a nRF24 radios with a PIC to read the button presses. A Raspberry Pi and another nRF24 are listening on the other end. The code that runs either side of the connection is so minimal that both sides fit in the project description. It gets the job done, and it’s easily hackable. And with that, [barnr] can control anything that he can connect up to the Pi without getting up from his campfire.
While [barnr] is shy about his 3D design skills, we think that the box is fantastic. It’s got 3D-printed keycaps for the tactile switches that sit inside, and it’s an easily printed case. Maybe it’s a little blocky and, frankly monolithic, but it gets the job done. Aesthetics are for version 2.0.
When you build something yourself, and it’s not a HAL 9000, you pretty much need a way to control it. It’s no wonder we’ve seen so many projects on Hackaday. If your 2.4 GHz spectrum is too crowded to run a nRF24 remote, you might consider infrared: tiny, tiny, infrared. Or if you want to see the craziest remote that we’ve ever seen, check out this DTMF-over-cellphone build. But if you just want something sweet and minimal that gets the job done, [barnr]’s build is for you.
Thanks [Mikejand] for the tip!
Arthur C. Clarke said that “any sufficiently advanced technology is indistinguishable from magic.” Even though we know that something isn’t “magic”, it’s nice to see how close we can get. [Dofl] and his friends, big fans of the magic in Harry Potter, thought the same thing, and decided to create a magic wand that they could use themselves.
The wand itself is 3D printed and has a microcontroller and WiFi board, a voice recognition board, a microphone, and a vibrating motor stuffed inside. The wand converts the voice into commands and since the wand is connected to WiFi, the commands can be used to communicate with your WiFi connected lights (or your WiFi connected anything, really.) Five voice commands are recognized to turn on and off music, the lights, and a “summon” command which is used in the video to request a hamburger from delivery.com. For feedback, the motor is vibrated when a command is recognized.
There’s not much technical information in the original article, but I’m sure our readers could figure out the boards used and could suggest some alternatives to get the wand’s form factor down a bit. Over the years, other wands have appeared on our pages, using some different technologies. It’s a fun way to interact with the environment around you, even if you know the “magic” involved is just boring old technology.
Continue reading “A Smart Wand for all us Muggles”
Not all hacks have to be deeply technical. Sometimes a good show of skill is just as impressive. [lyberty5] takes two completely different hunks of plastic and somehow epoxies them into a convincing and, most impressively, reliable chimera.
While the WiiMote’s motion controls certainly caused a lot of wordy debate on the Internet when it was debuted. While everyone and their grandmother who owned a game company rushed out to copy and out-innovate it once they saw Nintendo’s hoard of dragon gold. Most game designers had other thoughts about the concept, mostly that it wouldn’t do for a platformer. So the gamer caught in the middle of it all had to rotate their grip-optimized rectangle 90 degrees and blister their thumbs on tiny buttons to play. Continue reading “Learn Some Plastic Techniques With This SNES WiiMote Mod”