Move Aside Planar, I’m Slicing My Cone Way

Fleetwood Mac puns aside, very little has changed about how we “slice” models for printers in the last 30 years. However, [Stefan Hermann] of CNC Kitchen has a demo that tries to change all that by slicing conically.

For the uninitiated in the dark arts of printing in the third dimension, the canonical definition of non-conical slicing has been to bisect the model at layer height intervals and generate the perimeter and the infill, then output that as g-code. This is easy to implement mathematically and works reasonably well, except when you have overhangs of more than about 60 degrees on most printers. The idea of slicing in a cone rather than a plane isn’t entirely novel as we previously covered RotBot, which offers a vertical axis of rotation and a print head at 45 degrees. What is extraordinary is that the technique [Stefan] walks you through is done with a stock printer without a complex 45-degree tilt and is a software modification rather than a hardware tweak.

[Stefan] references earlier work done by [Michael Wüthrich] of ZHAW School of Engineering, who wrote some scripts that apply the transformation. The slicer is SuperSlicer, a fork of the PrusaSlicer, which is itself a fork of slic3r. The modified g-code is exported and can be sent to a printer of your choice. He even has a link to a pre-sliced model to try it out.

Of course, different printers have different clearance levels, but the Prusa Mini he uses has 16 degrees of clearance with the sensor pushed up. The code is on GitHub. It’s fascinating to note how all these techniques and forks interact and build off each other. Whether tilted slices, conical slices, or something else ultimately becomes the de facto standard, we’re looking forward to more options for slicing.

Video after the break.

Continue reading “Move Aside Planar, I’m Slicing My Cone Way”

Driving E-Paper Displays With Memory Limited MCUs

It’s easy to become jaded by modern microcontrollers: for just a few bucks you can get a MCU that’s powerful enough to give a desktop computer from the early 90s a run for its money while packing in contemporary technology like WiFi and Bluetooth. For many projects we don’t even have to consider optimizing our code, because we aren’t even scratching the surface of what the hardware is capable of.

But sometimes you don’t have the luxury of using the latest-and-greatest chip, and have to play the hand you’re dealt. That’s when folks like [Larry Bank] really shine. In a recent write-up, he goes over his experiments with driving e-paper displays (specifically, salvaged electronic shelf labels) with 8-bit MCUs that on paper shouldn’t have the resources to run them.

A similar trick can be used on OLEDs

The problem is that these displays generally expect to be handed a fully-formed image, which can easily exceed the free RAM on a low-end chip. For example, a 1-bit 128 x 128 image would consume 2 KB of RAM — more than four times the available memory on an ATtiny85.

As [Larry] explains, his alternate approach is to write data to the display in columns that are only one byte wide. Combined with his existing work with image decompression on constrained hardware, he’s able to rapidly draw out full-screen TIFF images using an Arduino UNO as demonstrated in the video after the break. He hopes the work will inspire others to experiment with what’s possible using the dinky MCUs you generally find in second-hand shelf labels.

Continue reading “Driving E-Paper Displays With Memory Limited MCUs”

A Handy OSHW USB Cable Tester For Your Toolkit

There’s no shame in admitting you’ve been burned by a cheapo USB cable — ever since some bean counter realized there was a few cents to be saved by producing “power only” USB cables, no hardware hacker has been safe. But with this simple tester from [Álvaro Prieto] in your arsenal, you’ll never be fooled again.

It’s about as straight-forward a design as possible, utilizing nothing more than a two dozen LEDs, their associated resistors, and a common CR2032 coin cell. Simply plugging both sides of your cable into the various flavors of USB connectors on the tester will complete the necessary circuits to light up the corresponding LEDs, instantly telling you how many intact wires are inside the cable. So whether you’re dealing with some shady cable that doesn’t have the full complement of conductors, or there’s some physical damage that’s severed a connection or two, you’ll know at a glance.

A sage warning for most of the devices we build.

Obviously the tester is designed primarily for the 24 pins you’ll find in a proper USB-C connector, but it’s completely backwards compatible with older cables and connectors. We appreciate that he even included the chunky Type B connector, which we’ve always been fond of thanks to its robustness compared to the more common Mini and Micro variants.

Keep in mind though that this tester will only show you if there’s a connection between two pins, it won’t verify how much power it can actually handle. For that, you’ll need some extra equipment.

New Part Day: Exotic Filament For RF Dielectric Structures

The world of microwave RF design appears to the uninitiated to be full of unimaginably exotic devices, as engineers harness the laws of physics to tame radio signals to their will. Among the weapons in their arsenal are materials of known dielectric properties, from which can be made structures with the desired effects on RF that encounters them. This has traditionally been a difficult and expensive process, but it’s one now made much easier by the availability of 3D printer filaments with a range of known dielectric values.

It’s best to think of the structures which can be designed using these materials as analagous to Fresnel lenses we’re all used to in the light domain. The example piece given by Microwave Journal is a metasurface for use in a steerable antenna, something that would be a much more difficult piece of work by more traditional means.

Normally when we inform you of a new special filament we’d expect it to be more costly than standard PLA, but this filament is in a class of its own at 275 euros per kilogram. So the interest for most readers will probably be more in the technology than the expectation of use, but even then we can see that there will still be microwave experimenters in our range who might be tempted by its unique properties. We look forward to what is developed using it.

Via Microwave Journal. Thanks to [Eric Mockler] for the tip!

Hackaday Links Column Banner

Hackaday Links: November 20, 2022

Lots of space news this week, with the big story being that Artemis I finally blasted off for its trip to the Moon. It was a spectacular night launch, with the SLS sending the crew-rated but vacant — well, mostly vacant — Orion spacecraft on a week-ish long trip to the Moon, before spending a couple of weeks testing out a distant retrograde orbit. The mission is already returning some stunning images, and the main mission goal is to check out the Orion spacecraft and everything needed for a crewed Artemis II lunar flyby sometime in 2024. If that goes well, Artemis III will head up in 2025 with a crew of four to put the first bootprints on the Moon in over 50 years.

Of course, like the Apollo missions before it, a big part of the crewed landings of the Artemis program will likely be the collection and return of more lunar rock and soil samples. But NASA likes to hedge its bets, which is perhaps why they’ve announced an agreement to purchase lunar regolith samples from the first private company to send a lander to the Moon. The Japanese start-up behind this effort is called ispace, and they’ve been issued a license by the Japanese government to transfer samples collected by its HAKUTO-R lander to NASA. Or rather, samples collected on the lander — the contract is for NASA to take possession of whatever regolith accumulates on the HAKUTO-R’s landing pads. And it’s not like ispace is going to return the samples — the lander isn’t designed to ever leave the lunar surface. The whole thing is symbolic of the future of space commerce, which is probably why NASA is only paying $5,000 for the dirt.

Continue reading “Hackaday Links: November 20, 2022”

This Standalone Camera Gets The Picture Through With SSTV

These days, sending a picture to someone else is as simple as pulling out your smartphone and sending it by email or text message. It’s so simple a child can do it, but that simple user experience masks a huge amount of complexity, from the compression algorithms in the phones to the huge amount of distributed infrastructure needed to connect them together. As wonderful and enabling as all that infrastructure can be, sometimes it’s just too much for the job.

That seems to have been the case for [Dzl TheEvilGenius], who just wanted to send a low-resolution image from a remote location. It turns out that hams solved that problem about 70 years ago with slow-scan television, or SSTV. While most of the world was settling down in front of “I Love Lucy” on the regular tube, amateur radio operators were figuring out how to use their equipment to send pictures around the world. But where hams of yore had to throw a considerable amount of gear at the problem, [Dzl] just used an ESP-32 with a camera and some custom code to process the image. The output from one of the MCU’s GPIO pins is a PWM audio signal which can be fed directly into the microphone input of a cheap portable transceiver.

To decode the signal, [Dzl] used one of the many SSTV programs available. There’s no mention of the receiver, although it could be pretty much anything from another Baofeng to an SDR dongle. The code is available in the article, as is an audio file of an encoded image, if you just want to play around with the receiving and decoding side of the equation.

We could see something like this working for a remote security camera, or even for scouting hunting spots. If you want to replicate this, remember that you’ll need a license if you want to transmit on the ham bands — relax, it’s easy.

A smartphone-sized PCB is in a person's hand. A large blue chip package houses a 486 and the board has a SoundBlaster card and a 40 PIN Raspberry Pi Connector along one edge for attaching a Raspberry Pi Zero.

TinyLlama Is A 486 In Your Pocket

We love retrocomputing and tiny computers here at Hackaday, so it’s always nice to see projects that combine the two. [Eivind]’s TinyLlama lets you play DOS games on a board that fits in your hand.

Using the 486 SOM from the 86Duino, the TinyLlama adds an integrated Crystal Semiconductor audio chip for AdLib and SoundBlaster support. If you populate the 40 PIN Raspberry Pi connector, you can also use a Pi Zero 2 to give the system MIDI capabilities when coupled with a GY-PCM5102 I²S DAC module.

Audio has been one of the trickier things to get running on these small 486s, so its nice to see a simple, integrated solution available. [Eivind] shows the machine running DOOM (in the video below the break) and starts up Monkey Island at the end. There is a breakout board for serial and PS/2 mouse/keyboard, but he says that USB peripherals work well if you don’t want to drag your Model M out of the closet.

Looking for more projects using the 86Duino? Checkout ISA Sound Cards on 86Duino or Using an 86Duino with a Graphics Card.

Continue reading “TinyLlama Is A 486 In Your Pocket”