DIY DNA Lamp

DIY Electronics Plus Woodworking Equal Custom Lamp

There is something about wooden crafts that when combined with electronics, have a mesmerizing effect on the visual senses. The Gesture Controlled DNA Wooden Desk Lamp by [Timber Rough] is a bit of both with a nice desk piece that’s well documented for anyone who wants to build their own.

Construction starts with a laser cutter being employed to add kerfs, such that the final strips can be bent along a frame tube to form the outer backbone of the DNA helix structure. Add to the mix some tung oil, carnauba wax, and some glue — along with skill and patience — and you get the distinct shape of sugar-phosphate backbone.

The electronics include an ESP8266 with the PAJ7620 gesture sensor that controls two WS2812B RGB LED Strips. The sensor in question is very capable, and comes with the ability to recognize nine human hand gestures along with proximity which makes it apt for this application. The sensor is mounted atop the structure with the LEDs twisting down the frame to the base where the ESP8266 is tucked away. Tiny glass bottles are painted with acrylic spray varnish and then glued to the LEDs to form the base pairs of the double helix. We thought that the varnish spray was a clever idea to make light diffusers that are quick and cheap for most DIYers.

We previously covered how this particular gesture sensor can be used to control much more than a lamp if you seek more ideas in that realm.

Continue reading “DIY Electronics Plus Woodworking Equal Custom Lamp”

Supercon 2023: Alex Lynd Explores MCUs In Infosec

The average Hackaday reader hardly needs to be reminded of the incredible potential of the modern microcontroller. While the Arduino was certainly transformative when it hit the scene, those early 8-bit MCUs were nothing compared to what’s on the market now. Multiple cores with clock speeds measured in the hundreds of megahertz, several MB of flash storage, and of course integrated WiFi capability mean today’s chips are much closer to being fully-fledged computers than their predecessors.

It’s not hard to see the impact this has had on the electronics hobby. In the early 2000s, getting your hardware project connected to the Internet was a major accomplishment that probably involved bringing some hacked home router along for the ride. But today, most would consider something like an Internet-connected remote environmental monitor to be a good starter project. Just plug in a couple I2C sensors, write a few lines of Python, and you’ve got live data pouring into a web interface that you can view on your mobile device — all for just a few bucks worth of hardware.

But just because we’re keenly aware of the benefits and capabilities of microcontrollers like the ESP32 or the Pi Pico, doesn’t mean they’ve made the same impact in other tech circles. In his talk Wireless Hacking on a $5 Budget, Alex Lynd goes over some examples of how he’s personally put these devices to work as part of his information security (infosec) research.

Continue reading “Supercon 2023: Alex Lynd Explores MCUs In Infosec”

Baseboard Heaters Get Automated

If you’re lucky enough to have central heating and/or air conditioning, with an automatic thermostat, you probably don’t have to worry too much about the outside temperature. But central HVAC is far from the only way of maintaining temperature in a home. From wood stoves to boilers there are many options depending on your climate and home type, and [Murphy’s Law] has a decentralized baseboard system instead of something centralized. An ESP8266 solution was found that was able to tie them all together.

There are other types of baseboard heaters, but in [Murphy’s Law]’s case the heaters were electric with a separate thermostat for each heater. Rather than build a control system from the ground up to replace the thermostats, turnkey smart wall switches were used instead. These switches happened to be based on the popular ESP8266 microcontroller, like plenty of other off-the-shelf automation solutions, which meant less work needed to be done on the line voltage side and the microcontroller’s firmware could be easily customized for use with Home Assistant.

While [Murphy’s Law] doesn’t live in the home with the fleet of electric baseboard heaters anymore, the new home has a single baseboard heater to keep a bathroom warm since the central heating system doesn’t quite keep it warm enough. This system is able to scale up or down based on number of heaters, though, so it’s still a capable solution for the single room and has since been updated to use the ESP32. All of the code for this project is available on GitHub as well, and for those of you attempting to add other HVAC components to a home automation system this project that loops in a heat pump is worth taking a look at as well.

Saving A Clock Radio With An LM8562

Smart phones have taken the place of a lot of different devices especially as they get more and more powerful. GPS, music and video player, email, and of course a phone are all functions tied up in these general-purpose devices. Another casualty of the smart phone revolution is the humble bedside alarm clock as its radio, alarm, and timekeeping functionalities are also provided by modern devices. [zst123] has a sentimental attachment to the one he used in the 00s, though, and set about restoring it to its former glory.

Most of the issue with the clock involved drift with the timekeeping circuitry. Since it wasn’t accurately keeping the time anymore, losing around 10 minutes a day, the goal to save it was to use NTP to get the current time and a microcontroller to make the correction automatically. Rather than replace everything in the clock except the display, [zst123] is using the existing circuit board and adding an ESP8266 to grab the time from the Internet. A custom driver board reads the current time displayed on the clock directly from the display itself and then the ESP8266 can adjust it by using the existing buttons through a relay wired in parallel.

Using the existing circuitry was certainly a challenge especially since the display was multiplexed, but the LM8562 that came with these clock radios is a common and well-documented chip for driving displays like this, giving [zst123] a leg up over something unlabeled or proprietary. Using NTP is certainly a reliable and straightforward way of getting the current time too but there are a few other options for projects like these like using GPS or even a radio signal.

It’s Never Been Easier To Build A WiFi-Controlled RC Car

Today, wireless-enabled microcontrollers are everywhere and can be had for just a few bucks. You can use them to build all kinds of connected projects more cheaply than ever before. [ROBO HUB] demonstrates this well with an incredibly simple WiFi-controlled RC car build.

The build is based around an NodeMCU ESP8266 microcontroller, paired with an L293D motor driver. This lets the microcontroller drive brushed DC motors for differential drive. Power is courtesy of three 18650 lithium-ion batteries. These parts are assembled into a 3D-printed car of sorts with four wheels. The drivetrain is rather odd, with gear motors installed on the two front wheels, and simple brushed DC motors installed on the two rear wheels. The motors on each side are paired together so the vehicle has tank-style steering.

Meanwhile, the ESP8266 is programmed so it can be controlled via a smartphone app. The touchscreen controls are not as elegant as toy RC cars of years past, but it’s pretty good for a cheap DIY build.

It’s a fairly simple project and one that any high-school student could follow along to learn something. Projects like these can be a great way to learn about everything from mechanics to electronics and even basic programming. It may not be complicated, but that makes it a great learning tool. We see a ton of projects like this on the regular, and every time they’re built, somebody is picking up some new skills.

We’ve been talking about WiFi-controlled RC cars for a long time. Way back when it was nowhere near this easy. Video after the break. Continue reading “It’s Never Been Easier To Build A WiFi-Controlled RC Car”

Retro Unit Converter Is A Neat Little Gadget

These days, unit conversions aren’t something we have to worry about so much. If you’re sitting at a computer, you can usually just tap away in your browser to get a quick conversion done, or you can ask your smartphone for an answer. [HackMakeMod] wanted a bespoke device for this, though, and built a tiny little retro-styled unit converter.

It’s a straightforward build that uses a handful of familiar components. An ESP8266 D1 Mini development board is the heart of the operation, running off a small battery harvested from a disposable vape pen. It runs a 0.96 inch OLED display which has a menu system for selecting from a whole bunch of different unit conversions. Navigating the menu is done via a rotary encoder with an integrated push button. Everything’s wrapped up in a neat 3D printed enclosure that was given a nice worn, weathered finish after printing.

[HackMadeMod] also clearly thought about usability, too. Turning the encoder dial faster ramps up the numbers exponentially so you’re not stuck jogging for ages when you need to enter a bigger figure.

It’s not something a lot of us would have a use case for, given that smartphones are always there and probably faster to use. However, it is a tidy little gadget, and a well-presented one at that. Video after the break.

Continue reading “Retro Unit Converter Is A Neat Little Gadget”

The WebStick Is A Small, Cheap NAS

The ESP8266 was one of the first chips that provided wireless functionality at a cost low enough to be widely popular for small microcontroller projects. This project uses one to provide rapid, small, and inexpensive network-attached storage (NAS) capabilities wherever you happen to go.

With an ESP12F board at the heart to provide network connectivity, the small device also hosts a micro SD card slot and a USB-A port to provide power and programming capabilities for the device. It’s Arduino-compatible, and creator [tobychui] has provided the firmware source code necessary to bring it up on your network and start serving up files. Originally intended for people to host web services without experience setting up all of the tools needed for it, there’s services for storing and streaming music and video over the network as well.

While it includes a lot more functionality than is typically included on a NAS, [tobychui] notes that with a library, something like WebDAV could be added to provide more traditional NAS capabilities. As it stands, though, having networked storage with web hosting capabilities on a PCB with a total cost of around $5 is not something to shy away from. If you’re looking for something a little more powerful for your home network, take a look at this ARM-based NAS instead.