100% Printed Flashlight: Conductive Filament And Melted-in Leads

Conductive filament isn’t an ideal electrical conductor, but it’s a 3D-printable one and that’s what makes [Hercemer]’s 3D-printed flashlight using conductive filament work. Every part of the flashlight is printed except for the 9 volt battery and LEDs. Electrically speaking, the flashlight is a small number of LEDs connected in parallel to the terminals of the battery, and turning it on or off is done by twisting or loosening a cap to make or break the connection.

The main part of the build is a 3D-printed conductive cylinder surrounded by a printed conductive ring with an insulator between them. This disk- or pad-shaped assembly forms not only the electrical connection between the LEDs and battery terminals, but also physically holds the LEDs. To attach them, [Hercemer] simply melts them right in. He uses a soldering iron to heat up the leads, and presses them into the 3D-printed conductive block while hot. The 9 V battery’s terminals contact the bottom when the end cap is twisted, and when they touch the conductive assembly the flashlight turns on.

Anticipating everyone’s curiosity, [Hercemer] measured the resistance of his conductive block and measured roughly 350 ohms when printed at 90% infill; lower infills result in more resistance. You can see a video of the assembly and watch the flashlight in action in the video, embedded below.

Continue reading “100% Printed Flashlight: Conductive Filament And Melted-in Leads”

Grasp Kotlin’s Coroutines With This Short Tutorial

Kotlin is a relatively new programming language; a derivative of Java with lots of little handy functional bits such as coroutines. [Foalyy] is porting an app to Android and learning Kotlin at the same time, and after wrapping their mind around coroutines, has written up a concise five-part tutorial on them.

Coroutines in Kotlin are a way to simplify writing asynchronous code, which is code that doesn’t necessarily execute in the order it is written. Coroutines are like light-weight threads that can be launched and managed easily, making it simpler to bridge together blocking and non-blocking code. (However, coroutines are not threads. They are more akin to suspending functions that play very well together.)

[Foalyy] found that the official Kotlin documentation on coroutines went into great detail on how coroutines function, but wanted a more bottom-up approach to understanding how they work and can be used. Luckily for anyone who thinks the same way, [Foalyy] wrote it all up and begins with a great recap of important elements, but if you prefer you can jump straight to the examples.

Kotlin has been around for a while, and readers with sharp memories may recall it was featured in this excellent introduction to what neural networks are and how they work.

Art of 3D printer in the middle of printing a Hackaday Jolly Wrencher logo

3D Printering: The World Of Non-Free 3D Models Is Buyer Beware

There are more free 3D models online than one can shake a stick at, but what about paid models? Hosting models somewhere and putting a buy button in front of the download is certainly a solved problem, but after spending some time buying and printing a variety of non-free 3D models online, it’s clear that there are shortcomings in the current system.

What the problems are and how to address them depends a little on the different ways models get sold, but one thing is clear: poorly-designed 3D models are bad for consumers, and bad for the future of pay-to-download in general. Continue reading “3D Printering: The World Of Non-Free 3D Models Is Buyer Beware”

Two-Part, Four-Wire Air Quality Meter Shows How It’s Done

The Bosch BME680 is a super-capable environmental sensor, and [Random Nerd Tutorials] has married it to the ESP32 to create an air quality meter that serves as a great tutorial on not just getting the sensor up and running, but also in setting up a simple (and optional) web server to deliver the readings. It’s a great project that steps through everything from beginning to end, including how to install the necessary libraries and how to program the ESP32, so it’s the perfect weekend project for anyone who wants to learn.

The BME680 is a small part that communicates over SPI or I2C and combines gas, pressure, temperature, and humidity sensors. The gas sensor part detects a wide range of volatile organic compounds (VOCs) and contaminants, including carbon monoxide, which makes it a useful indoor air quality sensor. It provides only a relative measurement (lower resistance corresponds to lower air quality) so for best results it should be calibrated against a known source.

The tutorial uses the Arduino IDE with an add-on to support the ESP32, and libraries from Adafruit. Unfamiliar with such things? The tutorial walks through the installation of both. There’s a good explanation of the source code, and guidance on entering setup values (such as local air pressure, a function of sea level) for best results.

Once the software is on the ESP32, the results can be read from the serial port monitor. By going one step further, the ESP32 can run a small web server (using ESPAsyncWebServer) to serve the data to any device wirelessly. It’s a well-written tutorial that covers every element well, and complements this other BME680-based air quality meter that uses MQTT and Raspberry Pi.

Prop-Driven Cardboard RC Car Doesn’t Skimp On Performance

[Kryzer Channel] takes making a DIY RC car to a whole new level with this prop-driven electric car that is made almost entirely out of cardboard (YouTube video, also embedded below.) By attaching an electric motor with a push prop to the back of the car, [Kryzer] avoids the need for any kind of drive system or gearing. Steering works normally thanks to some scratch-built linkages, but the brake solution is especially clever.

Braking is done by having a stocky servo push a reinforced stub downward, out of a hole in the center of the car. This provides friction against the road surface. After all, on an RC car a functional brake is simply not optional. Cutting the throttle and coasting to a stop works for a plane, but just won’t do for a car.

Winding thread around metal components then saturating with CA glue makes a durable assembly.

Layers of corrugated cardboard and hot glue make up the bulk of the car body, and some of the assembly techniques shown off are really slick and make the video really worth a watch. For example, the construction of the wheels (starting around 2:24) demonstrates making them almost entirely out of cardboard, saturated with CA glue for reinforcement, with a power drill acting as a makeshift lathe for trimming everything down. A section of rubber inner tube provides the tire surface and a piece of hard plastic makes a durable hub. Wraps of thread saturated in CA glue, shown here, is another technique that shows up in several places and is used in lieu of any sort of fasteners.

The well-edited video (embedded below) is chock full of clever assembly and construction. Unsurprisingly, this is not [Krazer]’s first cardboard vehicle: their video channel has other impressive cardboard models and racers to show off.

Continue reading “Prop-Driven Cardboard RC Car Doesn’t Skimp On Performance”

Monitor Not VESA-Compliant? It Is Now!

Some monitors lack the holes on the back that make them VESA-compliant, so mounting them on a monitor arm can be a non-starter. To handle this, [Patrick Hallek] designed and 3D printed these adapter arms to make flat monitors mount to VESA hardware whether they want to or not.

How does it work? When a monitor can’t attach directly to a VESA mount, this assembly attaches to the mount instead. The three arms extend around the edge of the monitor to grip it from the bottom and top. Some hex-head M5 bolts and nuts are all that are required to assemble the parts, and the top arm is adjustable to accommodate different sizes of monitor. As long as the screen size is between 17 and 27 inches diagonal, and the monitor thickness falls between 30 mm and 75 mm, it should fit.

It’s a smart design that leverages one of the strengths of 3D printing: that of creating specialized adapters or fixtures that would be troublesome to make by hand. That is not to say that there’s no other way to make exactly what one wants when it comes to mounting monitors: check out this triple-monitor setup using some common metal struts, no welding required.

[via reddit]

Four Years Later, Off-Grid Office Shed Still Rocks

About four years ago, [Russell Graves] created what was, to him, the ultimate work-from-home environment: an off-grid office shed. The shed might look a bit small, but it’s a considerably larger workspace than most people in an office are granted. Four years later, in the middle of a global pandemic, working from home has become much more common and [Russel] shares some thoughts on working from home and specifically reflects on how his off-grid, solar powered shed office (or “shoffice” as he likes to call it) has worked out. In short, after four years, it rocks hard and is everything he wanted and more.

Its well-insulated plywood walls let him mount monitor arms and just about anything else anywhere he wants, and the solar power system allows him to work all day (and into the night if he wants, which he doesn’t) except for a few spells in the winter where sunlight is just too scarce and a generator picks up the slack. Most importantly, it provides a solid work-life separation — something [Russell] is convinced is critical to basic wellness as a human being.

That’s not to say an off-grid solar shed is the perfect solution for everyone. Not everyone can work from home, but for those who can and who identify with at least some of the motivations [Russell] expressed when we covered how he originally created his office shed, he encourages giving it some serious thought.

The only thing he doesn’t categorically recommend is the off-grid, solar powered part. To be clear, [Russell] is perfectly happy with his setup and even delights in being off-grid, but admits that unless one has a particular interest in solar power, it makes more sense to simply plug a shed office into the grid like any other structure. Solar power might seem like a magic bullet, but four years of experience has taught him that it really does require a lot of work and maintenance. Determined to go solar? Maybe give the solar intensity sensor a look, and find out just how well your location is suited to solar before taking the plunge.