Smartphone TV Remote Courtesy Of Homekit And ESP8266

Good grief, this smartphone-to-TV remote really drives home how simple hardware projects have become in the last decade. We’re talking about a voltage regulator, IR LED, and ESP8266 to add TV control on your home network. The hardware part of the hack is a homemade two sided board that mates an ESP with a micro-USB port, a voltage regulator to step down fom 5 to 3.3 v, and an IR LED for transmitting TV codes.

Let’s sit back and recount our good fortunes that make this possible. USB is a standard and now is found on the back of most televisions — power source solved. Cheap WiFi-enabled microcontroller — check. Ubiquitous smartphones and established protocols to communicate with other devices on the network — absolutely. It’s an incredible time to be a hacker.

Television infrared remote codes are fairly well documented and easy to sniff using tools like Arduino — in fact the ESP IR firmware for this is built on [Ken Shirriff’s] Arduino IR library. The rest of the sketch makes it a barebones device on the LAN, waiting for a connection that sends “tvon” or “tvoff”. In this case it’s a Raspberry Pi acting as the Homekit server, but any number of protocols could be used for the same (MQTT anyone?).

Continue reading “Smartphone TV Remote Courtesy Of Homekit And ESP8266”

Hackaday Prize Entry: Neopixel Pocket Watch

A timepiece is rather a rite of passage in the world of hardware hacking, and we never cease to be enthralled by the creativity of our community in coming up with new ones.

Today’s example comes from [Joshua Snyder], who has made a pocket watch. Not just any pocket watch, he’s taken the shell of a clockwork watch and inserted a ring of Neopixels, which he drives  from an ESP8266 module. Power comes from a small LiPo battery, and he’s cleverly engineered a small push-button switch so that it can be actuated by the knob from the original watch. Different colour LEDs traverse the ring to simulate the hands of a traditional timepiece, and the whole nestles behind the perforated cover of the watch shell for something of a steampunk feel.

He admits the battery life is not very good at the moment, probably because for now the WiFi is always enabled so he can reach its web interface for debugging. Sadly he appears to have not yet posted the software, but he does tell us it uses NTP to update its time, and that it supports over-the-air updating for new versions. He suggests a future version might dispense with the ESP and use an ATtiny or similar with a real-time clock giving better battery life.

We’ve covered a lot of LED timepieces over the years, including quite a few watches. Only a small selection are this PIC LED ring in a pocket watch case, another LED ring this time powered by an ATMega645, and this very stylish OLED wristwatch.

Tiny House Forecasts Weather

Before the information age, it wasn’t quite as easy to glean information about the weather. Sure, there were thermometers and barometers and rhymes about the sky, but if you lived in or near Germany back then you might have also had access to something called a “weather house” which could help predict rain. [Moritz] aka [Thinksilicon] found one of these antequated devices laying around, and went about modernizing it. (Google Translate from German)

A traditional weather house is essentially a hygrometer housed in an intricate piece of artwork. Two figures, typically a man and woman, are balanced on a platform that is suspended in the middle by a small section of horsehair. When the humidity is low, the hair tightens up and turns the platform one way, and when humidity is high — suggesting rain is coming — it turns the other way. When the man comes out of the house, it predicts rainfall.

To get the weather house upgraded, [Moritz] outfitted the front with an OLED display which replaced the traditional thermometer. Instead of using horsehair to spin the figures he installed a small servo on the platform. The entire house is controlled by an ESP8266 which pulls data from the Open Weather API and spins the figures based on the information it receives.

Much like unique clocks, we enjoy interesting weather indicating/forecasting builds. This one’s right up there with using squirrels to predict the weather, or having a small weather-recreation right on your bookshelf.

Bewegungsfelder Is A Wireless IMU Motion Capturing System

For several years, hackers have been exploring inertial measurement units (IMUs) as cheap sensors for motion capturing. [Ivo Herzig’s] final Diploma project “Bewegungsfelder” takes the concept of IMU-based MoCap one step further with a freely configurable motion capturing system based on strap-on, WiFi-enabled IMU modules.

Continue reading “Bewegungsfelder Is A Wireless IMU Motion Capturing System”

Simple Clock From Tiny Chip

If you haven’t jumped on the ESP8266 bandwagon yet, it might be a good time to get started. If you can program an Arduino you have pretty much all of the skills you’ll need to get an ESP8266 up and running. And, if you need a good idea for a project to build with one of these WiFi miracle chips, look no further than [Ben Buxton]’s dated, but awesome, NTP clock.

Continue reading “Simple Clock From Tiny Chip”

Overhauling The ESP8266’s Flash Memory Handling

If you’ve ever corrupted a flash memory on a power failure, you’ll be glad to hear that the ESP8266 SDK implements a very secure and almost infallible read/write management for its flash memory. The catch: It’s also very wasteful. For a single memory block of stored data, three memory blocks of physical flash memory are occupied. [Peter Scargill] enlightens us with a better solution.

Continue reading “Overhauling The ESP8266’s Flash Memory Handling”

Reverse Engineering And Networking The A/C Remote Control

IoT has become such an polarizing, overused term. But here it is in its essence: [zeroflow] had a thing (his airconditioner) and he needed to put it on the Internet.

For his contribution to this modern vernacular atrocity, he first had to build an IR debugging tool and reverse engineer the signals coming from the air conditioner’s remote. He wrote up a really good summary of the process, and worth reading. He loads up an IR library onto an Arduino and dumps the resulting 32 bits of information to his computer. In a process much like filling in the blanks on a word puzzle, he eventually determines which blocks of the data correspond to the remote’s different buttons.

Next he throws an array of IR LEDS and an ESP8266 onto a bit of protoboard. After writing some code, available on GitHub, he could set the temperature of his room from anywhere on the planet. We take it on faith that [zeroflow] has a compelling reason for doing so.

Bolstered by this success, he didn’t stop there. [Zeroflow] admits to having more than one thing on the Internet. Boom! Internet of things.