Making Something Useful With The ESP8266

The ESP8266 is the latest and greatest way to get a project connected to the Internet, but so far we haven’t seen many projects that actually do something with this very cool chip. Yes, there are a few people pinging away with AT commands, and there is a thriving community building interpreters and flashing new code on this chip, but not much in the way of actual projects. [Martin] is the exception. He’s come up with two projects that use the ESP8266.

The first project is one that puts the readings from a DHT22 temperature/humidity sensor up on the Internet. Following the spirit of all the recent development of the ESP8266, [Martin] isn’t using an external microcontroller. Instead, he’s using the SDK to run an HTTP daemon using [Sprite_TM]’s code. This web server provides an interface to turn an LED on and off, and reports the temperature and humidity readings from the DHT22. It’s simple, but it’s easy to see how this tiny chip could become the basis for a smart thermostat.

If lighting up LEDs isn’t enough, [Martin] has another project that includes three solid state relays. This one is a bit more complex with MQTT support, a fancy jQuery interface, and support for network time. [Martin] isn’t quite ready to publish the complete code for this project, but that’s only because there are a few features he’d like to implement before making it public. These include dynamic DNS, scheduling functionality, and support for an I2C status display. Even without these fancy features, it’s still a great project that’s still extremely capable for an Internet of Things thing. You can check out [Martin]’s video demo of this board below.

Continue reading “Making Something Useful With The ESP8266”

Hackaday Links: January 4, 2015

Chips as furniture is now a thing. It started off with a 555 footstool from Evil Mad Scientist and moved on to an EPROM coffee table. Now [msvm] over on the War Thunder forums has constructed a Nixie tube driver table. It’s based on the K155, and as a neat little addition, he’s included a real vintage chip under glass in the table.

Have some tongs, an anvil, and a blowtorch? Make some bottle openers out of framing nails. There’s a lot of variety here in the shapes of the bottle openers.

[Stephen] used a solid state relay he found on eBay to drive some Christmas lights. The SSR failed. That meant it was time to see inside of this relay looked like. The short answer is, ‘a lot of goop and epoxy’, but the traces look big enough to support the current it’s rated for.

Imagine a part of your 3D printer breaks. That’s alright, just print another…. oh, yeah. Well, I guess it’s time to make a bearing bracket out of wood.

The Electronica MK-54 and MK-61 (actually the Электроника МК-54) were incredibly popular Soviet programmable calculators. Now there’s an emulator for them.

[Rue Mohr] found a very cheap TFT display on an Arduino shield. The chip for the display was an SPF5408, a chip that isn’t supported by the most common libraries. He eventually got it to work after emailing the seller, getting some libraries, and renaming and moving a bunch of stuff. If you have one of these displays, [Rue] just saved you a bunch of time.

Push-Button Degaussing for an Arcade CRT

[Ed] was tasked with adding push-button degaussing to an arcade cabinet’s CRT console. The display can be rotated to portrait mode for games that require it, but each time this is done, the magnetic fields get out of whack.

Fortunately, the schematics arrived with the display. [Ed] found that the degauss coil is connected in series with a PTC fuse in an odd arrangement that he didn’t agree with. He decided to use an SSR to switch the coil, and after making lots of transistor-based designs on paper, grabbed a nearby Arduino.

[Ed] took off the PTC and soldered in two wires to its pads for the SSR. He added a wire to the power supply decoupling cap to power the new deguassing circuit and connected the SSR to the Arduino as an open collector input. There was just enough space available to mount the relay to the frame’s base and the Arduino on the side. [Ed] wrote a short method to trigger the SSR and reconnected the PTC fuse. Now it degausses at power up as well as on demand.

The Fridge Hacking Guide by BrewPi


The team behind BrewPi are at it again! This time they have created an online guide showing how to convert a min-fridge into a Raspberry Pi & Arduino controlled fermentation chamber. In it, they describe 3 possible options:

  • Option 1: Make a simple switched power cord, without hacking into the fridge electronics.
  • Option 2: Make a switched power cord, but also override or remove the thermostat.
  • Option 3: Rip out the thermostat and fully integrate the SSRs into your fridge (which is what [Koen] and [Elco] did).

First things first though. They had to clean the fridge. And depending on where they got it or how long it has been unplugged for, the inside might have been pretty rank and disgusting from mold growing out of every corner. This took a good hour or so to clean properly lest the brewing process get infected with external grossness. This is all worth it because a well-controlled fermentation chamber results in a superior batch of beer.

They put their laser cut case on top of the fridge, holding an LCD, Raspberry Pi, Arduino and the BrewPi Arduino shield. The Arduino reads the temperature sensors inside the fridge, the beer and the ambient temperature. Then it controls the SSRs they added to switch the compressor and a heater. Then, the cables were routed through the fridge and take control of the compressor.

Continue reading “The Fridge Hacking Guide by BrewPi”

MIDI Melodies Make Moody Milieu

MIDI piano lights

In this beautiful, well-documented, cat-assisted hack, [capricorn1] adds visual dimension to his impressive piano skills by using his keyboard’s MIDI output to drive Edison bulbs.

He hung them from a rod of electrical conduit pipe and threaded the wires through it to a DB25 connector. The lights are controlled by an Arduino Mega plus a custom shield with an optocoupler to handle zero cross detection. He happened to already have a board with 12 SSRs on it from another project. All of the electronics are in a re-purposed switch box—the switches control four different modes: classic, velocity, scrolling, and automatic. You’ll see the scrolling mode in the video after the jump.

[capricorn1] used a small sampling of the Arduino MIDI Library, namely the note on/off functions and the control change function to handle his sustain pedal. He’s listed the full code for the project, which includes usage of the ipMIDI module for automation over WiFi.

If you don’t have a MIDI keyboard or any Edison bulbs, you could make a MIDI floor piano. You’re required to play both “Chopsticks” and “Heart and Soul” on it, though. Those are like the Hello, World for floor pianos.

Continue reading “MIDI Melodies Make Moody Milieu”

Arduino-Controlled Marquee Arrow Points the Way to Whatever You Like

Reader [pscmpf] really digs the scrolling light look of old marquee signs and as soon as he saw some Christmas lights with G40 bulbs, he was on his way to creating his own vintage-look marquee arrow.

We must agree that those bulbs really do look like old marquee lights or small vanity globes. [pscmpf] started by building, varnishing, and distressing the wooden box to display the lights and house the electronics. He controls the lights with an Arduino Pro and an SSR controller board. The 24 lights are divided into ten sections; each of these has its own solid-state relay circuit built around an MC3042 as the opto-coupler, with a power supply he made from a scrap transformer.

[pscmpf] shares some but not all of his code as it is pretty long. There are five patterns that each play at three different speeds in addition to a continuous ‘on’ state. In his demonstration video after the jump, he runs through all the patterns using a momentary switch. This hack proves that Arduino-controlled Christmas lights are awesome year-round.

Continue reading “Arduino-Controlled Marquee Arrow Points the Way to Whatever You Like”

Update: Grow controller rebuilt to last


[The Cheap Vegetable Gardener] assembled his first grow controller about three and a half years ago. He’s been very happy with it and knows that he’ll be using it for years, maybe even decades to come. He just finished overhauling the grow controller design to help make sure he doesn’t burn down his garage one day. You have to admit, without knowing anything about the project this rendition does look safer than his original offering.

Pictured above is the weather-proof enclosure he used to house four mains-rated solid state relays. This box is isolated from the control hardware, providing heavy-duty utility plugs to interface with the heater, lights, fan, and water pump.  He mounted the Arduino board which controls the relays to the outside of the box, using the Ethernet wire to switch the SSRs. It uses a manufactured shield he designed which will help ease the pain of fixing the system if parts ever go bad.

Later on in the build he shows the grow light and heaters used in his operation. The heaters simply screw into light sockets; something we’ve never come across before.