LEDCard: The Pocketable Ring Light

How many times have you found yourself fumbling about with lighting while trying to get a clear up-close shot of an object? Although smartphones come with pretty nice cameras these days, properly lighting an object and taking impressive macro shots isn’t exactly their strong suit. This is where [MisterHW]’s LEDCard is a very welcome companion. Not only does it provide a credit card sized ring light, it also allows for a molded acrylic lens to be inserted for high-quality macro shots.

The project in its current iteration consists out of a single PCB with rechargeable Li-ion coin cells (LIR2430) and a USB-powered charge controller. After charging the LEDCard (or inserting freshly charged Li-ion coin cells), a single button press will light up the SMD LEDs via the LM3410 LED driver IC. Press the ON button gently (half-press) for medium brightness and fully for full intensity. Finally, pressing the TEST button with the LEDs lit performs a battery level test that turns the LEDs off if the battery is ok. If they stay lit, it’s time to recharge the LEDCard.

As [MisterHW] points out, the LEDCard being compact enough to carry around with you wherever you go makes it suitable as an emergency flashlight as well. It’s also not the final iteration of the design. Future (incremental) improvements include a diffuser for the ring light and more. Even so, in its current state LEDCard is already a proven design.

Giant Spinning POV Christmas Tree

Spinning Holographic POV Christmas Tree Of Death

[Sean Hodgins] really harnessed the holiday spirit to create his very own Giant Spinning Holographic Christmas Tree (of Death). It’s a three-dimensional persistence-of-vision (POV) masterpiece, but as a collection of rapidly spinning metal elements, it’s potentially quite dangerous as well. As [Sean] demonstrates, the system can display other images and animations well beyond the realm of mere holiday trees.

Initial experiments focused on refining the mechanical structure, bearings, and motor. A 1/2 horsepower A.C. motor was selected and then the dimensions of the tree were “trimmed” to optimize a triangular frame that could be rotated at the necessary POV speed by the beefy motor.  A six-wire electrical slip ring allows power and control signaling to be coupled to the tree through its spinning central shaft.

The RGB elements are SK9888 LEDs also know as DotStar LEDs. DotStar LEDs are series-chainable, individually-addressable RGB LEDs similar to NeoPixels. However, with around 50 times the pulse width modulation (PWM) rate, DotStars are more suitable for POV applications than NeoPixels.  The LED chain is driven by a Raspberry Pi 4 single board computer using a clever system for storing image frames.

If deadly rotational velocity is not your cup of tea, consider this slower spinning RGB Christmas tree featuring a DIY slip ring. Or for more POV, may we suggest this minimalist persistence-of-vision display requiring only a few LEDs and an ATtiny CPU.

Continue reading “Spinning Holographic POV Christmas Tree Of Death”

3D Printed Light Pipe Turns Overly-Bright LED Into Design Harmony

There are a number of ways to efficiently and elegantly limit an LED’s brightness, but [Tommy] found that using a light pipe or diffuser can integrate better with a device, especially when the device itself is mostly 3D printed in the first place.

Infill has an effect on appearance. 20% infill on the left, 100% infill on the right.

For some problems the Goldilocks approach is the way to go. [Tommy] designed a small array of different LED cover options, and tested each to see what yielded the best results for his printed kit. Some of the biggest takeaways include:

  • 100% infill is best for even results (although interesting shadows happen at less than 100% infill.)
  • Interesting things happen with 7 to 11 mm of top layers of clear PLA, when illuminated from below with a 5 mm high-brightness LED. An even diffusion of light starts to give way to a circular gradient as the upper layer gets thicker.
  • LEDs emit their light mainly upward in a round pattern. Corners will always be darker, even more so if the guide is not round. This effect becomes noticeably more pronounced as the light guide grows in size, putting a practical upper limit on its effective dimensions.

[Tommy] explores these kinds of issues because he designs and builds electronic synth instruments, and they are mostly 3D printed. He explores efficiency and is always happy to share his findings about what works and doesn’t work.

Of course, the usual ways to deal with an overly-bright LED are to limit its current or control its brightness by driving it with a PWM signal. The right approach depends on the application and the scale of the design, and there are actually quite a few ways to crack this nut. Luckily, our own [Inderpreet Singh] is here to tell you all about how best to control LED brightness.

LED Christmas Lights Optimized For Max Twinkleage

Old-school filament-based Christmas lights used to be available in twinkling form. LEDs, with their hard-on and hard-off nature, aren’t naturally predisposed to such behavior. To rectify this, some time ago, [Mark Kriegsman] built an Arduino program that makes LEDs twinkle beautifully.

The program is known as TwinkleFOX, and relies on the popular FastLED library for addressable LEDs. [Mark’s] demo setup is built around using WS2811 LEDs, put together in a string with plastic diffusers on each bulb. The Arduino is programmed to vary the brightness of each LED according to a triangle wave function. To create the twinkling effect, each LED has its own unique clock signal, so they vary in brightness at different times and at different rates.

Using an Arduino Uno or Leonardo, [Mark] reports its possible to twinkle 300 individual LEDs at a rate of over 50 updates a second. Using a faster microcontroller should net reliable performance with longer strings. Meanwhile, if you’re wondering how the older-style lights used to twinkle, we’ve covered that before too. Video after the break.

Continue reading “LED Christmas Lights Optimized For Max Twinkleage”

Exploded version of the Cistercian display

Serial Cistercian Digit Module

There’s no doubt that the 7-segment display is a gold standard for displaying lighted digits. But what about a throwback to an older system of displaying numbers — Cistercian? With thirty-one 0805 LEDs, [Josue Alejandro] made a simple module displaying a single Cistercian digit (any from 0-9999).

The first iteration used castellated edges and required a significant number of GPIO, so on the next rev, he switched to a serial-to-parallel converted from Lumissil (IS31FL3726A). A diffuser and spacer were printed from PLA and made for an incredibly snazzy-looking package.

Of course, it couldn’t stop there, and a third revision was made that uses SK6812 Neopixels, allowing full RGB capability. All the design documents, layout files, and incredibly detailed drawings are available on GitHub. What makes this incredibly handy is having a module you can easily add to a project. Perhaps even as a component in an escape room in a box that would allow you to flash multiple numbers. Or perhaps as a stylish clock. We’d even go so far as to challenge someone to create a calculator by combining several of these modules with this keypad.

photograph of custom PCB assembly of NE555-based electronic dice

NE555-Based Electronic Dice

It has become a bit of a running joke in the Hackaday community to suggest that a project could or should have been done with a 555 timer. [Tim] has rather taken this to heart with his latest Electronic Dice project, which uses three of the venerable devices.

If three seems like a lot of 555s to make an electronic die, then it may be worth considering that the last time we shared his project he was using 22 of them! Since then, [Tim] has been busy optimising his design, whilst keeping within the constraints of an old-school through-hole soldering kit.

Maybe the most surprising thing about this project is the purpose to which the NE555 devices are pressed. Rather than using them for their famous oscillation properties, they are in actual fact just being used as Schmitt Triggers to clean up the three-phase ring oscillator that is constructed from discrete transistors and passives.

scope trace of the electronic dice ring oscillator
Simulation trace of the three-phase ring oscillator before Scmitt Trigger stages

The ring oscillator cleverly produces three phase-shifted square waves such that a binary combination of the three phases offers six unique states. Six being the perfect number for a dice throw, all that then remains is to figure out which LEDs need to be switched on in which state and wire them up accordingly.

To “roll” the dice, a push-button powers up the oscillator, and stops it again when it is released, displaying the random end-state on the LEDs.

It can be fun to see what can be done using old technology, and educational to try to optimise a design down to the fewest parts possible.

[Tim]’s earlier project is here if you want to see how the design has evolved. The documentation on both of these iterations is excellent and well worth a read.

Continue reading “NE555-Based Electronic Dice”

tiny surface mount seven segment display

Nano-Sized 7-Segment LED Display On A Surface Mount Module

Inspired by a prank tweet, [Sam Ettinger] endeavored to create an SMD seven-segment display.  The NanoRaptor NanoSegment implements a panel of seven-segment display modules sized at “0806” each or just a bit wider than a standard 0805 SMD footprint.  Each of the seven segments is a single 0201 LED.  Six I/O lines and three resistors are required to operate each module.

To demonstrate the operation of his tiny display modules, Sam also created the “6Pin 7Seg” development board featuring an ATtiny84 microcontroller coupled to PCB footprints sized to receive the NanoRaptor NanoSegment display modules.  A demonstration of the board counts through digits displayed on one of the tiny seven-segment modules.

Hoping to reduce the module’s interface to two pins, Sam is now experimenting with a seven-segment display on a flex PCB that folds up into a 1208 footprint.  He is attempting to fold the resistors and a ATtiny20 microcontroller into an “origami PCB” configuration.

If these hacks are getting a little too small for your tastes, we’ve got you covered with this giant seven-segment display.