ESP32 Makes Not-So-Smart Lights Smart

Long taken for granted – lights are a basic necessity of modern life. From the time of the first light bulb, we’ve been able to navigate the dark without the use of fire. With the advent of the Internet of Things, it has become somewhat of a requirement to bring a little intelligence to lights before labeling yourself as a hardware hacker. There are many ways to do this; one of the most common being making use of an ESP32. [Luca Dentella] is somewhat of an ESP32 expert, and has written a fantastic tutorial on how to use the chip. The tutorial builds up to making a set of lights controllable from a smartphone web browser as well a light intensity sensor.

Now before you brush this off as simple n0Ob stuff – consider the following. He’s using a Lolin32 lite dev board, a BH1750 light intensity sensor and a relay to interface with mains for the lights. He wrote his own firmware and gets into the gritty details of developing the HTTP interface and flashing code to the correct memory.

We’ve seen a lot of ESP32 projects here at Hackaday, including this most interesting clock. Be sure to check out the video below to see the smart lights in action.

Continue reading “ESP32 Makes Not-So-Smart Lights Smart”

Automating Your Door For $20

We love the doors on Star Trek’s Enterprise. We should have known they were human-operated though because they were too smart. They would wait for people, or fail to open when someone was thrown against them during a fight. [SieuweE] has a much more practical automatic door that he calls ArduDoor.

You might guess from the name it uses an Arduino. It also uses a windshield wiper motor which is perfect since it is high-torque and low speed. You might even be able to pick one up for little or nothing if you frequent the junkyards.

Continue reading “Automating Your Door For $20”

Digital Mouse Trap

Plenty of PC games rely on the mouse for input, and browser games are no exception. Unfortunately though, this isn’t always the most intuitive controller. [Nathan Ramanathan] combined a couple hacks to get the controller he wanted for playing browser games like Agar and Slither. No rodents were harmed in this project.

The games he wanted to dominate were top-down view so there was no need to move the mouse far from the center of the screen. For a more intuitive interface, a Wii nunchuck with its integrated joystick was selected. Nunchucks were notoriously hackable. An Arduino converted the nunchuck’s data into mouse movements. Inside the computer, Autohotkey kept the mouse pointer reined in where it was useful. Autohotkey was a scripting tool for executing keyboard and mouse macros.

The result was a joystick which controlled these browser games exactly the way you would expect a joystick to control a game. Mouse functionality, including standard and fast scrolling, was an added bonus so games like Minecraft aren’t left behind. The ergonomics of the nunchuck make us wonder why it hasn’t been seen in more wearable hacks.

Custom game controllers are no stranger to Hackaday readers. We’ve seen them built from LEGO blocks, automobiles, and even a decorative rug.

Continue reading “Digital Mouse Trap”

3D Printed Hovercraft Takes Flight

Last time we checked in on [Ivan Miranda] he was putting a drill press on the Internet. Lately, he has been trying to 3D print a hovercraft with some success. He made four attempts before arriving at one that works fairly well, as you can see in the video below. We will warn you, though, the screwdriver cam is a bit disconcerting and we suggest waiting at least an hour after you eat to watch.

The starboard impeller broke midway through the test, although with a single impeller it was working pretty well. [Ivan] thinks he can print the impeller frames more strongly to prevent future failures. The design is in Fusion360 and there is enough detail that you can probably duplicate his work if you have the urge. There’s a mount for a headlight and an action camera on the bow.

Continue reading “3D Printed Hovercraft Takes Flight”

Making A Headphone Amp Perform New Tricks

Hands up if you’ve had the misfortune to work in an office with a fondness for following the latest fads. Paperless office, how long did that last? Or moving from physical telephones to a flaky VOIP application on your Windows computer, that’s sure to be a resounding success! We’ve all been there at some point, haven’t we?

[Joshua Wise] found himself in that unenviable situation of the VOIP app move, and since he is a habitual headphone music listener the prospect of wearing his company-supplied headset was not appealing. His solution was to take his HeadRoom BitHead amplifier and plumb into it a microphone channel, and though he went through quite some work to reach that point the quality of his final work is very high.

He was in luck with the headphone amplifier, because the USB audio codec turns out to have an unused audio-in function as well as some HID input lines. His headset has a set of buttons as well as the microphone, which switch in and out a set of resistors to indicate which of them is pressed. Some work with a microcontroller to detect this resulted in a working interface, which he put along with the microphone circuitry on a beautifully done piece of protoboard.

Most constructors would have been happy at this point, but not [Joshua]. He proceeded to design a PCB to fit into the space around the headset socket, to contain the circuitry and better fit within the case. The result is an exceptionally high quality piece of work which he admits consumed a huge amount of resources but for which we applaud him.

So [Joshua] has a cool headset. But is it solar powered?

Fail Of The Week: Engine Flips Out

A few weeks ago an incredible video of an engine exploding started making the rounds on Facebook. This particular engine was thankfully in a dyno room, rather than sitting a couple of feet away from a driver on a track. We’ve all seen engine carnage videos before, but this one stands out. This diesel engine literally rips itself apart, with the top half of the engine flipping and landing on one side of the room while the bottom half sits still spinning on the dyno frame.

Building performance engines is part science, part engineering, and part hacking. While F1 racing teams have millions of dollars of test and measurement equipment at their disposal, smaller shops have to operate on a much lower budget. In this case, the company makes their modifications, then tests things out in the dyno room. Usually, the tests work out fine. Sometimes though, things end spectacularly, as you can see with this diesel engine.

The engine in question belongs to Firepunk diesel, a racing team. It started life as a 6.7 liter Cummins diesel: the same engine you can find in Dodge Ram pickup trucks. This little engine wasn’t content to chug around town, though. The Firepunk team builds performance engines — drag racing and tractor pulling performance in this case. Little more than the engine block itself was original on this engine. Let’s take a deeper look.

Continue reading “Fail Of The Week: Engine Flips Out”

Glitch Delays And Teensy Audio

With the release of the Teensy 3.6 and the associated audio processing libraries, it’s never been a better time to get into DIY synth and effects projects. [Scott] is a musician and maker of electronic musical instruments, so he decided to leverage the power of the Teensy and make a delay module that really can’t be done any other way.

The function of this delay module is somewhat similar to a multi-head tape-based delay, only it’s completely impossible outside of the digital domain. There are four ‘read heads’ on a circular buffer. The first three heads play small loops within the buffer at different speeds, one at the original speed, one at half speed (and an octave below) and one at double speed (and an octave above). The fourth head doesn’t loop, instead, it plays the delay buffer in reverse. There are, of course, handy knobs for setting the level of each ‘read head’.

This project is built around [Scott]’s port of the JUCE framework, a very powerful audio API that’s now well suited for laptop and embedded development. The files for this project are all available on the GitHub, and [Scott] plans to build an expansion module for CV control of all the parameters.

So, how does this glitch delay sound? Pretty good. The video below is just a tele into a looper pedal, and into the glitch delay. There are surely some ambient post-rock stars wetting their skinny jeans over this one, and it’s a great application of the Teensy’s audio processing power, to boot.

Continue reading “Glitch Delays And Teensy Audio”