LEDs Make An “Analog” Wristwatch

If you just came down in the last shower, you’re probably used to living in a world where LEDs are cheap, awesome, and practically everywhere. Spare a thought for those of us who lived before the invention of high brightness LEDs – these things still amaze us! A great example of how far we’ve come is this “analog” watch build by [Kevin], featuring no less than 73 of the critters.

The microcontroller running the watch is an STM32, chosen for its easy programmability. It’s running the LEDs in an emulation of the dial of an analog clock, hence the high part count. Naturally, it’s no simple task to cram 73 LEDs and all the necessary connections into the confines of a watch-sized PCB. [Kevin] goes into great detail about the challenges involved, from routing the traces to a tricky power draw problem caused by some odd blue LEDs.

Watch builds are always fun, and they make great conversation pieces for when you want to amaze strangers with your tales of battles fought in the PCB design suite. Now check out this similar build with an entirely different style. 

 

Coolest Way To Watch 3D Printing: Lights, Camera, Octolapse!

Octoprint is a household name for anyone into 3D printing and anyone regularly reading Hackaday. Described by creator Gina Häußge as “the snappy web interface for your 3D printer”, Octoprint allows you to control effectively any desktop 3D printer over the local network or Internet. It even has webcam support so you can watch your printer while it works, meaning you can finally put that video baby monitor back into the crib with Junior.

While the core functionality of Octoprint is fantastic alone, its true power is unlocked through the plugin system and the community that’s sprung up around it. With plugins, Octoprint can do everything from control RGB light strips in your printer’s enclosure to sending status messages via Discord. One particularly popular plugin that has been making the rounds lately is Octolapse by [FormerLurker]. This plugin provides a comprehensive intelligent system for creating time-lapse videos of prints.

What does that mean? Well, instead of simply taking a picture every few seconds like you’d do traditionally, Octolapse actually keeps track of the printer’s motions while its running. It can then take a picture at the opportune moment to create a number of user-selected effects. More importantly, it can even take control of the printer directly; moving the hotend away from the print before taking a picture. The effect is that the print simply “grows” out of the bed.

I thought it would be interesting to take a closer look at Octolapse and see just what it takes to create one of those awesome time-lapse videos. It turned out to be somewhat trickier than I anticipated, but the end results are so fantastic I’d say it’s a technique worth mastering.

Continue reading “Coolest Way To Watch 3D Printing: Lights, Camera, Octolapse!”

Heartwatch Monitors Your Ticker

The heart! A pump of the most fantastical kind, it is capable of operating for decades without rest. It’s responsible for supplying vital oxygen to the body’s subsystems, and can be readily monitored with modern technology. [Dave Vernooy] wanted to build a watch that could take heartrate and blood oxygen measurements – so he did.

Named Heartwatch, the device is a DIY smartwatch build with a bunch of exciting features. Heart monitoring is taken care of by the MAX30102 sensor which integrates all the hardware to sense heart rate and oxygen saturation into a single tiny plastic package. There’s then an assortment of accelerometers, gyros and even a color LCD to display all the wonderful information.

It’s all wrapped up in a 3D printed case, with an ATMEGA1284 running the show. The project just goes to show how much can be achieved with an 8-bit processor – there’s not always a need to run a high-powered ARM chip for an embedded project.

There are a fair few DIY smartwatch builds out there – like this classy unit with an OLED screen.

Arduino Watchdog Sniffs Out Hot 3D Printers

We know we’ve told you this already, but you should really keep a close eye on your 3D printer. The cheaper import machines are starting to display a worrying tendency to go up in flames, either due to cheap components or design flaws. The fact that it happens is, sadly, no longer up for debate. The best thing we can do now is figure out ways to mitigate the risk for all the printers that are already deployed in the field.

At the risk of making a generalization, most 3D printer fires seem to be due to overheating components. Not a huge surprise, of course, as parts of a 3D printer heat up to hundreds of degrees and must remain there for hours and hours on end. Accordingly, [Bin Sun] has created a very slick device that keeps a close eye on the printer’s temperature at various locations, and cuts power if anything goes out of acceptable range.

The device is powered by an Arduino Nano and uses a 1602 serial LCD and KY040 rotary encoder to provide the user interface. The user can set the shutdown temperature with the encoder knob, and the 16×2 character LCD will give a real-time display of current temperature and power status.

Once the user-defined temperature is met or exceeded, the device cuts power to the printer with an optocoupler relay. It will also sound an alarm for one minute so anyone in the area will know the printer needs some immediate attention.

We’ve recently covered a similar device that minimizes the amount of time the printer is powered on, but checking temperature and acting on it in real-time seems a better bet. No matter what, we’d still suggest adding a smoke detector and fire extinguisher to your list of essential 3D printer accessories.

Continue reading “Arduino Watchdog Sniffs Out Hot 3D Printers”

Watch The World Spin With The Earth Clock

With the June solstice right around the corner, it’s a perfect time to witness first hand the effects of Earth’s axial tilt on the day’s length above and beyond 60 degrees latitude. But if you can’t make it there, or otherwise prefer a more regular, less deprived sleep pattern, you can always resort to simulations to demonstrate the phenomenon. [SimonRob] for example built a clock with a real time rotating model of Earth to visualize its exposure to the sun over the year.

The daily rotating cycle, as well as Earth’s rotation within one year, are simulated with a hand painted plastic ball attached to a rotating axis and mounted on a rotating plate. The hand painting was done with a neat trick; placing printed slivers of an atlas inside the transparent orb to serve as guides. Movement for both axes are driven by a pair of stepper motors and a ring of LEDs in the same diameter as the Earth model is used to represent the Sun. You can of course wait a whole year to observe it all in real time, or then make use of a set of buttons that lets you fast forward and reverse time.

Earth’s rotation, and especially countering it, is a regular concept in astrophotography, so it’s a nice change of perspective to use it to look onto Earth itself from the outside. And who knows, if [SimonRob] ever feels like extending his clock with an aurora borealis simulation, he might find inspiration in this northern lights tracking light show.

This is a spectacular showpiece and a great project you can do with common tools already in your workshop. Once you’ve mastered earth, put on your machinists hat and give the solar system a try.

Dive Inside This Old Quartz Watch

In an age of smartwatches, an analog watch might seem a little old-fashioned. Whether it’s powered by springs or a battery, though, the machinery that spins those little hands is pretty fascinating. Trouble is, taking one apart usually doesn’t reveal too much about their tiny workings, unless you get up close and personal like with this microscopic tour of an analog watch.

This one might seem like a bit of a departure from [electronupdate]’s usual explorations of the dies within various chips, but fear not, for this watch has an electronic movement. The gross anatomy is simple: a battery, a coil for a tiny stepper motor, and the gears needed to rotate the hands. But the driver chip is where the action is. With some beautiful die shots, [electronupdate] walks us through the various areas of the chip – the oscillator, the 15-stage divider cascade that changes the 32.768 kHz signal to a 1 Hz pulse, and a remarkably tiny H-bridge for running the stepper. We found that last section particularly lovely, and always enjoy seeing the structures traced out. There are even some great tips about using GIMP for image processing. Check out the video after the break.

[electronupdate] knows his way around a die, and he’s a great silicon tour guide, whether it’s the guts of an SMT inductor or a Neopixel close-up. He’s also looking to improve his teardowns with a lapping machine, but there are a few problems with that one so far.

Continue reading “Dive Inside This Old Quartz Watch”

Linux Fu: Watch That Filesystem

The UNIX Way™ is to cobble together different, single-purpose programs to get the effect you want, for instance in a Bash script that you run by typing its name into the command line. But sometimes you want the system to react to changes in the system without your intervention. For example, you might like to watch a directory and kick off some program automatically when a file appears from a completed FTP transaction, without having to sit there and refresh the directory yourself.

The simple but ugly way to do this just scans the directory periodically. Here’s a really dumb shell script:

#!/bin/bash
while true
 do
   for I in `ls`
    do cat $I; rm $I
   done
 sleep 10
done

Just for an example, I dump the file to the console and remove it, but in real life, you’d do something more interesting. This is really not a good script because it executes all the time and it just isn’t a very elegant solution. (If you think I should use for I in *, try doing that in an empty directory and you’ll see why I use the ls command instead.)

Continue reading “Linux Fu: Watch That Filesystem”