3D Printed Earth Clock Is Cute Replica Of Our Delicate Planet

Plenty of clocks around us are useful for telling us the precise hour, minute, and second of the day. However, few can give us an intuitive sense of how far away we are from the enveloping cloak of night. This 3D printed Earth clock built by [Simon Rob] promises to do just that.

The build consists of an Arduino Nano driving a stepper motor, which turns a 3D printed model of the Earth through 360 degrees each day. The Earth is rotated within a black shroud such that the current portion of the Earth seeing sunlight is the visible section on the clock, while the rest is hidden from view. There’s a three-stage planetary gear reduction which turns a date wheel connected to the black shroud so that the clock remains accurate throughout the year. The gear ratio isn’t perfect — [Simon] calculates its drift to be 20 hours over a year -but it’s close enough for the clock’s given purpose of being a cool thing.

The clock looks great, and a lot of that is down to [Simon]’s careful work painting the Earth to match the real thing based on Google’s satellite maps. Incidentally it’s not the first Earth clock we’ve seen, either. We might just have to get building one for our own coffee table at home. Video after the break.

Continue reading “3D Printed Earth Clock Is Cute Replica Of Our Delicate Planet”

DIY Insulating Nuts And Bolts

[Rudi Schoenmackers] has devised a clever set of custom 3D-printed jigs that makes it easy to build your own wooden hex nuts and bolts. Well, easy if you have access to a woodworking shop with a router, bandsaw and belt sander.

You won’t be using these to mount your PCBs, however. They are pretty big — UNC 1½-6 threads (the closest metric thread would probably be M36-4). [Rudi] points out that these jigs can be readily adapted to generate different sizes and pitches of threads, even left-handed ones, but we suspect making a #4-40 or M3-0.5 is out of the question. There are commercial jigs for making threads, but as [Rudi] points out, those are quite expensive. The price of [Rudi]’s jigs is quite low, assuming you have a 3D printer.

We’re not sure how to best take advantage of these nuts and bolts in ordinary hacking projects, but [Rudi] enjoys giving them away as cool toys or making large clamps and vises out of them. Let us know if you have any applications where wooden threaded fasteners could come in handy. If wooden threads interest you, then check out this project we covered a few years ago on making simple taps.

Continue reading “DIY Insulating Nuts And Bolts”

Lithophane Lamp Has Us Over The Moon

Lithophanes are artistic creations which rely on the varying thickness of a material that is then backlit to reveal an image. While these were often made in porcelain in the past, these days we have the benefit of 3D printing on our side. The principle can be deftly applied to everything from flat planes to spheres, with [Tiffany Lo] demonstrating a great application of the latter with her 3D printed moon lamp.

The basic concept is to take a 2D image of the lunar surface, and then use it to generate a height mapped sphere for 3D printing. When lit from within, the sphere will appear as per the surface of the moon. The sphere geometry was generated with the Lithophane Sphere Maker online tool combined with NASA data of the moon intended for computer graphics purposes. The sphere was then printed on a typical FDM printer before being assembled upon a base with LEDs inside for backlighting.

The result is an attractive moon lamp that both recalls the heavy rock that follows us in a tidally-locked orbit, and yet can be switched off at night to make it easier to sleep. Unfortunately, it’s impractical to turn off the shine from the real moon, and we suspect nobody is working on the problem.

We’ve seen other moon lamps before; they’re a great starting point because the moon’s greyscale tones work well as a lithograph. More advanced techniques are likely necessary for those eager to create lamps of the gas giants; if you’ve done so, be sure to drop us a line.

One Instruction To Rule Them All: C Compiler Emits Only MOV

How many instructions do you need to successfully compile C code? Let’s see, you’d need some jump instructions, some arithmetic functions, and — of course — move instructions, right? Turns out you only need the move instruction, which — on x86, at least — is Turing complete.

While the effort is a bit tongue-in-cheek, we have to admit that if you were trying to create your own CPU, this would make for a simple architecture and might have power or complexity advantages, so maybe someone will find a practical use for it after all. If you wanted a C compiler for a simple CPU, this wouldn’t require much to emulate at a byte-code level, either.

Continue reading “One Instruction To Rule Them All: C Compiler Emits Only MOV”

Custom Macro Keyboard Looks Good In Wood

There’s more than one way to make a mechanical macro pad, and this wooden wonder represents one of our favorites. [Tauno Erik] had an old rubber dome rectangle keyboard lying around that still worked, but the poor thing was missing some of its caps. After salvaging the controller, [Tauno Erik] got to work on the tedious task of figuring out the mapping of the matrix, which was made easier with a Python script.

Almost every component of this beauty is wood, including the mounting plate and those thicc and lovely keycaps — their top layer is solid oak, and the bottom bit is birch plywood. In order to interface the ‘caps with the switches, [Tauno Erik] designed and printed connector pieces that sit inside the extra large keycaps and accept the stems of the key switches.

Speaking of switches, we’re not sure if [Tauno Erik] ended up using Cherry green switches, browns, or a mix of both (that would be interesting), but each one is mounted on a custom PCB along with a diode and a pull-up resistor. You can see more build pictures at [Tauno Erik]’s site, and stick around for a visual tour of the completed build after the break.

Wood is a great choice for keycaps, and we imagine they’ll only look better with age and use. A more common use for wood on a keyboard build is in surprisingly comfortable wrist rests.

Simple Probe Sniffs Out EMI

Unable to account for the strange glitches he was seeing on his DIY CNC router, [Daniël Van Den Berg]  wondered if his electronics might be suffering from some form of electromagnetic interference (EMI). So he did what any good hacker would do, and rummaged through the parts bin to build an impromptu EMI detector.

[Daniël] is quick to point out that he’s not an electrical engineer, and makes no guarantees about the accuracy of his tossed together gadget. But it does seem to work well enough in his testing that he’s able to identify particularly “noisy” electronic components, so it’s probably worth putting one together just to hear what your hardware is pumping into the environment.

The hardware here is very simple, [Daniël] just attached a coil of solid copper wire to one of the analog pins on an Arduino Nano with a resistor, and hung a speaker off of one of the digital pins. From there, it just took a few lines of code to read the voltage in the coil and convert that into a tone for the speaker. The basic idea is that a strong alternating magnetic field will set up voltage fluctuations in the coil large enough for the Arduino’s ADC to read.

If you’re looking for a bit more insight into what kind of interference your electronic creations might be putting out, [Alex Whittimore] gave a fantastic presentation during the 2020 Hackaday Remoticon about performing RF debugging using a cheap RTL-SDR dongle.

New Part Day: ESP32-WROOM-DA

We’re always interested in the latest from the world’s semiconductor industry here at Hackaday, but you might be forgiven for noticing something a little familiar about today’s offering from Espressif. The ESP32-WROOM-DA has more than a passing resemblance to the ESP32-WROOM dual-core-microcontroller-with-WiFi  module that we’ve seen on so many projects over the last few years because it’s a WROOM, but this one comes with a nifty trick to deliver better WiFi connectivity.

The clever WiFi trick comes in the form of a pair of antennas at 90 degrees to each other. It’s a miniaturised version of the arrangement with which you might be familiar from home routers, allowing the device to select whichever antenna gives the best signal at any one time.

We can see that the larger antenna footprint will require some thought in PCB design, but otherwise the module has the same pinout as the existing WROVER. It’s not much of a stretch to imagine it nestled in the corner of a board at 45 degrees, and we’re sure that we’ll see it appearing in projects directly. Anything that enhances the connectivity of what has become the go-to wireless microcontroller on these pages can only be a good thing.