Dumb STB Gets Smart

[Vincent Deconinck] gave a fresh lease of life to an old set top box by adding a few Euro’s worth of hardware and some software smarts. The device in question is an old VOOcorder – a Cisco set-top box provided by VOO, his cable service provider in Belgium.

The VOOcorder doesn’t have any WiFi hardware or browser / app based interfaces. It’s a simple device controlled either via an IR remote or front panel buttons. [Vincent] added an ESP8266 and hooked it up to the IR receiver on the set-top box. He also set it up as an SPI slave to the front panel VFD display controller and connected it to the debug serial interface of the VOOcorder as well. The software, on the other hand, required a lot more work consisting of code running on the ESP itself, several HTML pages and JavaScript code for the browser front end, and a few scripts running in the background.

The result was bidirectional interactivity from within a browser, allowing him to send commands and receive status information as well as providing a user-friendly search interface. Further, his browser interface was integrated with information from the service providers website letting him do scheduling and recording of programs. The stuff that interested us is how he sniffed out the IR signals, figured out the SPI protocol used by the front panel controller, and implemented SPI-slave mode for the ESP8266. [Vincent] was surprised that such a cheap device could handle three distinct web servers while parsing two message streams without a hitch.

It’s a great hack showing us how to use super cheap electronics to upgrade and modernize old hardware. Check out the two videos after the break – showing a demo of the hack in action, and a walk through of the hardware modifications.

Continue reading “Dumb STB Gets Smart”

New Part Day: Pluggable ESP Modules

Almost exactly four years ago, we came across a really neat module for sale on SeeedStudios. It was a $5 WiFi chip, able to connect your microcontroller project to the Internet with just a handful of wires and a few AT commands. This was the ESP8266, and it has since spawned an entire ecosystem of connected devices.

Now, there’s a new version of the ESP8266 that simply showed up on the Seeed website. Officially, it’s called the, ‘ESP8285 01M Wi-Fi SoC Module’, but you might as well start calling it ‘the Pluggable ESP module’. It’s the smallest ESP8266 module yet at 18mm square, and this one is designed to be plugged into a card-edge connector. It’s eighteen pins of wonder and 1MB of Flash, all ready to be stuffed into the next Internet of Things Thing.

The documentation for this module is sparse, and there isn’t even a mention of it on the AI Thinker website. That said, we can make some reasonable assumptions about what’s going on in this chip and what it can do. This module appears to be based on the ESP8285 SoC. Basically, it’s an ESP8266 with built-in 1MB SPI Flash. There are a handful of GPIOs available, and you should be able to build anything with this module that you could with other ESP8266 modules.

The highlight here is, of course, the card-edge connector. This is a module designed to be dropped into an existing product. You can program the module before hand, and assembly is a snap. The problem, though, is sourcing the relevant connector. It doesn’t look like Seeed has bothered to put a link to the right connector in the product description, although sourcing it shouldn’t be that much of a problem. The only question is if the card edge connectors on this module are hard gold (for multiple mating cycles) or just ENIG. Either way, if you’re plugging these modules into connectors dozens of times, you’re probably doing something wrong.

ESP8266 Adds Slick Touchscreen Controls To A Stretch Limo

The popularity of the ESP8266 WiFi module has a lot to do with its ability to inexpensively connect to the Internet. However, [hwhardsoft]’s stretch limousine environmental control system explores another use for these modules: a simple way to tie together disparate systems with a common user interface.

On a basic level, the problem is one we’ve all faced: multiple devices with multiple control interfaces create an awkward user experience. Have you ever worked in an office with 6 brands of air conditioner requiring 6 different remotes? Because of its low-cost, support for Wi-Fi, serial, and GPIO, ESP8266 boards are a reasonable candidate to create a unified control system for multiple devices. This is even more true for the ESP32, as it adds Bluetooth support.

[hwhardsoft]’s use case is fairly straightforward. The limousine (a Lincoln stretch) has multiple LED lighting controllers, climate control, and a laser projector. This was not exactly a smooth user experience, so [hwhardsoft] tied all the controls to two slick touchscreen interfaces (presumably one for the driver and one for the passengers).

Each touchscreen sends commands over Wi-Fi using UDP to a control board that switches relays to control the different devices, as we’ve seen previously.

While relays are arguably not the ideal solution here, these control boards already existed and were functional, so it would have been wasteful to throw them out. An easy improvement suitable for future projects would be to use NPN transistors to simulate button presses on the remote controls. This works quite well and lowers cost, power, and parts count, while being faster, more reliable, and quiet.

If you wanted to build something similar in your home or office, but want to use an Android smartphone instead of a touchscreen, the Kivy Python module allows you to do just that. It’s quite easy to set up a simple interface with buttons, dropdown lists, and text inputs that send data to an ESP8266 over UDP.

Determining Kibble Level Via Time-of-Flight

[WTH] is building an IoT kitty food dispenser. There are a few of these projects floating around that measure out portions very sensibly — some use screws to dispense a set amount of food at a time, some measure the weight of the remaining stockpile. This build is definitely not that. This kitty food monitor uses a time of flight sensor to determine the remaining level of food in a hopper. [WTH]’s feeder lets the cat eat all the grub it wants, then alerts the hooman when kibble levels drop below a certain level.

The project starts with one of those pet food dispensers that consist of a hopper that gravity feeds into the food bowl. As the animal eats that food, more dispenses into the bowl. Attached to the lid is an ESP8266 connected to an Adafruit time of flight sensor. This reports the kibble level in centimeters, which is good enough for [WTH]’s purposes. Sensor data is logged to a Google Drive spreadsheet, published as a graph through M2X (AT&T’s IOT service), and texted to [WTH]’s smart watch via IFTTT.

Look for a plethora of Tweeting, Instagramming, and otherwise automated feeding of the cat overlords right here on Hackaday. Check out automatic cat feeder dispenses noms, wants cheezburger, and a cat feeder made with laminator parts.

ESP8266 Based Internet Radio Receiver Is Packed With Features

Have a beautiful antique radio that’s beyond repair? This ESP8266 based Internet radio by [Edzelf] would be an excellent starting point to get it running again, as an alternative to a Raspberry-Pi based design. The basic premise is straightforward: an ESP8266 handles the connection to an Internet radio station of your choice, and a VS1053 codec module decodes the stream to produce an audio signal (which will require some form of amplification afterwards).

Besides the excellent documentation (PDF warning), where this firmware really shines is the sheer number of features that have been added. It includes a web interface that allows you to select an arbitrary station as well as cycle through presets, adjust volume, bass, and treble.

 

If you prefer physical controls, it supports buttons and dials. If you’re in the mood for something more Internet of Things, it can be controlled by the MQTT protocol as well. It even supports a color TFT screen by default, although this reduces the number of pins that can be used for button input.

The firmware also supports playing arbitrary .mp3 files hosted on a server. Given the low parts count and the wealth of options for controlling the device, we could see this device making its way into doorbells, practical jokes, and small museum exhibits.

To see it in action, check out the video below:

[Thanks JeeCee]

Continue reading “ESP8266 Based Internet Radio Receiver Is Packed With Features”

Quick Robin! The Bat Keychain!

We don’t know if Batman has a keychain for the keys to the Bat mobile, the Bat copter, and all his other vehicles. But we are guessing if he did, it didn’t look like the one [krishnan793] picked up cheap. It had a little button that lit up some LEDs and played a little tune. [Krishnan] thought he could do better with an ESP8266. After chopping up some headphones and adding a LiPo battery, he wound up with an improved key chain you can see in the video below. The first video is the before video. The second is after the modification. Sure, it is only a small improvement on LEDs and a simple tune, but now it is hackable to do more interesting things if you want to take the trouble to do so.

Continue reading “Quick Robin! The Bat Keychain!”

Autonomous Boat Sails The High Seas

As the human population continues to rise and the amount of industry increases, almost no part of the globe feels the burdens of this activity more than the oceans. Whether it’s temperature change, oxygen or carbon dioxide content, or other characteristics, the study of the oceans will continue to be an ongoing scientific endeavor. The one main issue, though, is just how big the oceans really are. To study them in-depth will require robots, and for that reason [Mike] has created an autonomous boat.

This boat is designed to be 3D printed in sections, making it easily achievable for anyone with access to a normal-sized printer. The boat uses the uses the APM autopilot system and Rover firmware making it completely autonomous. Waypoints can be programmed in, and the boat will putter along to its next destination and perform whatever tasks it has been instructed. The computer is based on an ESP module, and the vessel has a generously sized payload bay.

While the size of the boat probably limits its ability to cross the Pacific anytime soon, it’s a good platform for other bodies of water and potentially a building block for larger ocean-worthy ships that might have an amateur community behind them in the future. In fact, non-powered vessels that sail the high seas are already a reality.

Continue reading “Autonomous Boat Sails The High Seas”