3D Printed ESP8266 TV Is A Blast From The Past

We’ve often said that one of the best applications for desktop 3D printing is the production of custom enclosures, but you certainly aren’t limited to an extruded version of the classic Radio Shack project box. As [Marcello Milone] shows with this very clever retro TV enclosure for the Wemos D1 Mini, 3D printing means your imagination is the only limit when it comes to how you want to package up your latest creation.

As nice as the printed parts are, it’s the little details that really sell the look. [Marcello] has bent a piece of copper wire into a circle to make a faux antenna with vintage flair, and while the ESP is connecting to the WiFi network, it even shows an old school TV test pattern on its 1.8″ TFT display.

In the video after the break you can see the device go through its startup routine, and while displaying the Hackaday Wrencher at boot might not be strictly on theme…we’ll allow it.

While you could certainly use this little enclosure for whatever ESP project you had in mind, [Marcello] says he’s building a distributed environmental monitoring network using HTU21D temperature and humidity sensors. It sounds like he’s still working on the software side of things though, so hopefully he posts an update when the functionality is fully realized.

Continue reading “3D Printed ESP8266 TV Is A Blast From The Past”

Bluepill Copies Code So You Don’t Have To

You really should learn to read Morse code. But if you can’t — or even if you can, and just want a break — you can always get a computer to do it. For example, [jmharvey1] has a decoder that runs on a cheap Bluepill dev board.

The device uses a touchscreen and a few common components. The whole thing cost about $16. You can see it at work along with a description of the project in the video below.

Continue reading “Bluepill Copies Code So You Don’t Have To”

Smooth(er) Text Scrolling On HD44780 LCDs

Most Hackaday readers are likely to be familiar with character LCDs driven by the extremely common Hitachi HD44780 controller chip. If you’re looking for a cheap and easy way for your microcontroller project to display some data, they’re pretty much the go-to solution. But as popular as these displays are, there’s no denying that they’re starting to look a bit dated in 2020. Which is why the tweaks [Joseph Rautenbach] is working on are so interesting.

With one of these displays, the controller puts a single character on each 5×8 block of pixels. There’s also support for creating custom characters, which can be used for rudimentary icons. You’re pretty limited by the per-block resolution, but with a little imagination, you can usually get the point across. With a bit of dead space between each block of the display there’s little point in trying to make icons that “bridge” multiple blocks, as they’ll always be segmented.

Hardware support is not guaranteed.

But as [Joseph] realized, that’s less of a problem for scrolling text. So he wrote some code that takes an ASCII string and breaks it down into partial letters and numbers which can be displayed as custom characters. The controller only has space for 8 of these characters though, so the code needs to continually step through the string and generate the appropriate offset characters as the position of the text changes.

While the effect looks pretty good in the video after the break, [Joseph] has found that real-world utilization is a bit finicky. He tried the same code on one of the displays that uses white text on a blue background, and the scrolling text ended up ghosting together so it looked like gibberish. So while he’s released the source code for others to experiment with this trick, your mileage may vary.

This certainly isn’t the first time we’ve seen somebody make clever use of custom characters on the HD44780. We’ve seen it used for an exceptionally tiny game of Tetris, a rendition of Conway’s Game of Life, and even a horizontal space-shooter.

Continue reading “Smooth(er) Text Scrolling On HD44780 LCDs”

Touch Screen Reflow Oven Pulls Out All The Stops

We’ve seen plenty of simple reflow ovens, and there’s an excellent chance that some of the people reading these words have even thrown their own together. A minimal example isn’t much more than a old toaster oven, a Solid State Relay (SSR), a thermocouple, and a microcontroller to get them all talking. But if you’re like [Mangy_Dog] and willing to put in a bit more effort, the final result can be a capable piece of equipment that will be the envy of the hackerspace.

This build started as most do, with a search for a used toaster oven. But in the end he actually found a German model cheap enough that he could buy it new without going over budget for the project. Though he soon found out why: when it arrived, the so-called “pizza oven” was far smaller than he’d imagined. Luckily, it ended up being the perfect size for PCBs.

Unfortunately, the heating elements weren’t quite where he wanted them. Even after wrapping the heating chamber with ceramic insulation, a feature that was likely left off the original oven to cut costs, he says the temperature would only rise about 1 degree per second. So he added an additional halogen heating element at the top of the oven which pushed that rate up to 6 degrees per second.

Control is provided by an Arduino Pro Mini and a touch screen display with some very slick graphics. There’s the expected thermocouple to detect the current temperature, but while the earlier versions of the electronics used the aforementioned SSR to control the heating elements, [Mangy_Dog] eventually replaced it with a dimmer module rated for 4000 watts. After coming up with a circuit that allowed him to control the dimmer with the Arduino, this module gave for much finer control over the chamber temperature. Plus it apparently kept all the lights in his house from flickering when the elements kicked in at 100%, which was a nice bonus.

This isn’t the first time we’ve seen somebody shoehorn an LCD into an off-the-shelf toaster oven, but it’s certainly one of the most polished examples to ever come our way. When even commercially available units need some hacking to reach feature parity with DIY versions, building your own reflow oven still seems like the way to go in 2020.

Continue reading “Touch Screen Reflow Oven Pulls Out All The Stops”

Hacked Case Fan Follows The Leader With IR Sensor

Adding an additional fan to your PC is usually pretty straightforward, but as [Randy Elwin] found, this isn’t always the case with the newer Small Form Factor (SFF) machines. Not only was the standard 80 mm fan too large to fit inside of the case, but there wasn’t even a spot to plug it in. So he had to come up with his own way to power it up and control its speed.

Now if he only needed power, that wouldn’t have been a problem. You could certainly tap into one of the wires coming from the PSU and get 12 V to spin the fan. But that would mean it was running at max speed the whole time; fine in a pinch, but not exactly ideal for a daily driver.

Note the SATA connector pulled from a dead HDD.

To get speed control, [Randy] put together a little circuit using an ATtiny85, an IR LED, and a LTR-306 phototransistor. The optical components are used to detect the GPU fan’s current speed, which itself is controlled based on system temperature. Using the GPU fan RPM as an input, a lookup table on the microcontroller sets an appropriate speed for the 80 mm case fan.

One could argue that it would have been easier to connect a temperature sensor to the ATtiny85, but by synchronizing the case fan to the computer-controlled GPU fan, [Randy] is able to manually control them both from software if necessary. Rather than waiting on the case temperature to rise, he can peg the GPU fan and have the external fan speed up to match when the system is under heavy load.

You may think this is overkill for a simple case fan, but compared to some of the cooling hacks we’ve seen in the past, it’s pretty tame.

Heater Joins The Internet Of Things With ESP32 Board

The wood-burning heater [g3gg0] has at home works perfectly, except for one flaw: the pellet reservoir needs to be manually refilled every few days. Humans being notoriously unreliable creatures, this critical task is sometimes overlooked, which naturally leads to literally chilling results.

With automatic fill systems expensive and difficult to install, [g3gg0] wanted to find some kind of way for the heater to notify its caretakers about any potential fault conditions. Not just the fact that it was out of fuel (though that would naturally be the most common alert), but any other issue which would potentially keep the heater from doing it’s job. In short, the heater was going to get a one-way ticket to the Internet of Things.

As it turns out, this task was not quite as difficult as you might expect. The Windhager heater already had upgrade bays where the user could insert additional modules and sensors, as well as a rudimentary data bus over RS-485. All [g3gg0] had to do was tap into this bus, decode what the packets contained, and use the information to generate alerts over the network. The ESP32 was more than up to the task, it just needed a custom PCB and 3D printed enclosure that would allow it to slot into the heater like an official expansion module.

When an interesting message flashes across the bus, the ESP32 captures it and relays the appropriate message to an MQTT broker. From there, the automation possibilities are nearly endless. In this case, the heater’s status information is being visualized with tools like Grafana, and important alerts are sent out to mobile devices with PushingBox. With a setup like this, the Windhager will never go hungry again.

Continue reading “Heater Joins The Internet Of Things With ESP32 Board”

Your Microcontroller Is Your IDE

What if your microcontroller IDE was running on the microcontroller itself and not hosted on the computer you use to do the programming? The greatest legacy of Arduino in all its forms has arguably been a software one, in that it replaced annoying proprietary development environments with one that installed easily on a range of operating systems, was easy to use, and above all, worked. The next level of portability is to get rid of any specialize computer-side software. [Ronny Neufeld] wrote MicroIDE for ESP32 as an IDE accessible through a web browser, which interestingly is hosted on the target device itself.

Using the IDE is easy enough, install a binary, connect to the ESP with a web browser, start writing MicroPython code. There is a choice of connecting directly to the chip as a hotspot, or connecting via another WiFi network. The interface is looking pretty slick but he’s at pains to remind us that it’s a work in progress. Sadly there is no source code yet as it’s a binary distribution that is free for non-commercial use, we’d hope that an open-source release might one day happen. It’s not for everyone, but the convenience of accessing the same interface from almost any modern device should help attract a healthy community.

This appears to be the first web-based on-chip ESP IDE we’ve shown you. But it’s not the first on-chip coding example, as this BASIC interpreter shows.

[Main image source: Ubahnverleih / CC0]