Streaming Video From An ESP32

The ESP32, while first thought to be little more than a way of adding wireless capabilities to other microcontrollers, has quickly replaced many of them with its ability to be programmed as its own platform rather than simply an accessory. This also paved the way for accessories of its own, such as various sensors and even a camera. This guide goes over taking the input from the camera and streaming it out over the network to multiple browsers.

On the server side of things, the ESP32 and its attached camera are set up with MQTT, a lightweight communications protocol which uses a publish/subscribe model to send information. The ESP32 is configured to publish its images only, but not subscribe to any other nodes. On the client side, the browser runs a JavaScript program which is able to gather these images and stitch them together into a video.

This can be quite a bit of data to send out over the ESP32’s compact hardware, so there are some tips and tricks for getting more out of these little devices, including using an external antenna for better Wi-Fi signal, or omitting it entirely in favor of Ethernet. As far as getting a lot out of a tiny microcontroller, though, leveraging MQTT really helps the ESP32 go a long way. These chips have come along way since they were first introduced; they’re powerful enough to act as 8-bit gaming consoles too.

Thanks to [Surfskidude] for the tip!

USB-C Power For Ham Radio

Even though manufacturers of handheld ham radios have been busy adding all sorts of bells and whistles into their portable offerings, for some reason, many of them lack a modern USB-C port. In the same vein, while some have USB for programming or otherwise communicating between the radio and a computer, very few can use USB for power. Instead , they rely on barrel jacks or antiquated charging cradles. If you’d like to modernize your handheld radio’s power source, take a look at what [jephthai] did to his Yaesu.

In the past, USB ports could be simply soldered onto a wire and used to power basically anything that took 5 VDC. But the radio in question needs 12 volts, so the key was to find a USB-C cable with the built-in electronics to negotiate the right amount of power from USB-PD devices. For this one, [jephthai] cut the barrel connector off his radio’s power supply and spliced in some Anderson power pole connectors so he could use either the standard radio charger or one spliced onto this special cable.

With this fairly simple modification out of the way, it’s possible to power the handheld radio for long outings with the proper USB battery bank on hand. For plenty of situations this is much preferable to toting around a 12 V battery, which was the method of choice for powering things like QRP rigs when operating off-grid.

Hands-Free Compass Uses Haptic Feedback

If you’ve never experienced it before, getting turned around on a cloudy day in the woods or getting lost during an event like a snowstorm can be extremely disorienting and stressful — not to mention dangerous. In situations where travel goes outside the beaten path, it’s a good idea to have some survival gear around, including a good compass. But if you need your hands for other things, or simply don’t want to have to stop often to check a compass, you might want to try out something like this belt-mounted haptic feedback compass.

The compass is based around a Raspberry Pi Pico microcontroller and uses a ULN2803a transistor array chip to control a series of motors. The motors are mounted all along a belt using custom 3D printed clips with wires woven to each through the holes in the belt. The firmware running on the belt communicates with an Android app via USB to control each of the motor’s vibration based on the direction the wearer is traveling and their desired heading. With certain patterns, the wearer can get their correct heading based on the vibrations they feel through the belt.

While it does rely on having a functioning phone, a modern smartphone’s built-in compass doesn’t require a signal to work. We would still recommend having a good simple compass in your pack as backup if you’re going to be far off the beaten path, though. There are other ways of navigation besides by compass, map, or GPS too. Have a shot at inertial navigation if you want a challenge.

Thanks to [Peter] for the tip!

Heat Pump Control That Works

Heat pumps are taking the world by storm, and for good reason. Not only are they many times more efficient than electric heaters, but they can also be used to provide cooling in the summer. Efficiency aside, though, they’re not perfectly designed devices, largely with respect to their climate control abilities especially for split-unit setups. Many of them don’t have remotely located thermostats to monitor temperature in an area, and rely on crude infrared remote controls as the only user interface. Looking to make some improvements to this setup, [Danilo] built a setup more reminiscent of a central HVAC system to control his.

Based on an ESP32 from Adafruit with an integrated TFT display, the device is placed away from the heat pump to more accurately measure room temperature. A humidity sensor is also included, as well as an ambient light sensor to automatically reduce the brightness of the display at night. A large wheel makes it quick and easy to adjust the temperature settings up or down. Armed with an infrared emitter, the device is capable of sending commands to the heat pump to more accurately control the climate of the room than the built-in controls are able to do. It’s also capable of logging data and integrating with various home automation systems.

While the device is optimized for the Mitsubishi heat pumps that [Danilo] has, only a few lines of code need to be changed to get this to work with other brands. This is a welcome improvement for those frustrated with the inaccurate climate controls of their heat pumps, and since it integrates seamlessly into home automation systems could also function in tandem with other backup heat sources, used in cold climates when it’s too cold outside to efficiently run the heat pump. And, if you don’t have a heat pump yet, you can always try and build your own.

Motorized Camera Slider Rides On Carbon

While not every camera mount needs to have six degrees of freedom, one or two can be extremely helpful in the photographic world. In order to make time-lapse shots with some motion or shots that incorporate some parallax, a moving camera mount or dolly is needed, and this small one builds upon a pre-existing, although non-motorized, camera slider.

The slider is an inexpensive model from everyone’s favorite online warehouse, with rails that are at least coated in carbon, if not made out of it entirely, to ensure smooth camera motion. To add the motorization to automatically move the camera, a stepper motor with a belt drive is used which is controlled by an Arduino. A few limit switches are added, letting the dolly perform different movement patterns automatically, and a pair of potentiometers for fine and coarse speed control are included as well, letting the camera take both time-lapse and video while using this mount at various controllable speeds.

With everything tucked into a relatively small box at one end of the dolly, the build is both accessible and functional. The code for the microcontroller is also available on the project’s GitHub page for anyone looking to replicate or build upon the project. And, for those looking to add more degrees of freedom to their camera setups, take a look at this DIY pan and tilt mount.

Continue reading “Motorized Camera Slider Rides On Carbon”

3D Printed Engine Gets Carburetor

3D printed materials have come a long way in the last decade or so as printers have become more and more mainstream. Printers can use all kinds of different plastics with varying physical characteristics, and there are even printers now for other materials like concrete and metal. But even staying within the realm of the plastic printer can do a lot of jobs you might not expect. [Camden Bowen] recently 3D printed a single-piston engine which nearly worked, and is back with some improvements to it thanks to a small carburetor.

The carburetor itself isn’t 3D printed (although not from lack of trying) — it’s on loan from a weed eater, and is helping to solve a problem with the fuel-air mixture of his original design. Switching from butane to a liquid fuel also solved some problems as well, and using starter fluid also helped to kick off the ignition. Although it ran for a short period of time over several starts, the valve train suffered some damage with the exhaust valves melting in place to the head. This is actually a problem common to any internal combustion engine like this, especially if the fuel-air mixture is too lean, there’s incomplete combustion, the valves aren’t adjusted properly, or any number of other problems. In this case it seems to have been caused by improper engine timing.

It’s actually noteworthy though that the intake valves weren’t burned, meaning that if the engine can be tuned to allow for complete combustion before the exhaust gasses leave the combustion chamber, the plastic 3D printed head and valve train will likely survive much longer operational periods. We’ll certainly look forward to the next iteration of this engine build to see if that’s the case. If 3D printed piston engines aren’t your speed, though, take a look at this jet engine which uses a 3D printed compressor.

Continue reading “3D Printed Engine Gets Carburetor”

Converting Wind To Electricity Or: The Doubly-Fed Induction Generator

Humanity has been harvesting energy from the wind for centuries. The practice goes back at least to 8th century Persia where the first known historical records of windmills came, but likely extends even further back than that. Compared to the vast history of using wind energy directly to do things like mill grain, pump water, saw wood, or produce fabrics, the production of electricity is still relatively new. Despite that, there are some intriguing ways of using wind to produce electricity. Due to the unpredictable nature of wind from moment to moment, using it to turn a large grid-tied generator is not as straightforward as it might seem. Let’s take a look at four types of wind turbine configurations and how each deal with sudden changes in wind speeds. Continue reading “Converting Wind To Electricity Or: The Doubly-Fed Induction Generator”