DIY All-Transistor Addressable Pixel

By now most readers should be used to addressable LEDs, devices that when strung out in a connected chain can be individually lit or extinguished by a serial data stream. Should you peer at one under a microscope you’ll see alongside the LED dies an integrated circuit that handles all the address decoding. It’s likely to be quite a complex device, but how simply can its functions be replicated? It’s a theme [Tim] has explored in the TransistorPixel, and addressable LED board that achieves addressability with only 17 transistors.

It uses a surprisingly straightforward protocol, in which a pulse longer than 500ns enables the LED while a shorter one turns it off. Subsequent pulses in a train are passed on down the line to the next device. A 20µs absence of a pulse resets the string and sets it to wait for the next pulse train. Unlike the commercial addressable LEDS there is only a single colour and no suport for gradated brightness, but it’s still an impressive circuit.

Under the hood is some very old-school RTL logic, a monostable to detect the pulse and a selection of gates and a latch to capture the state and forward to the chain. It’s laid out on a PCB in order of circuit function, and while we can see that maybe it’s not a practical addresssable LED for 2021, it’s likely that it could be made into a much smaller PCB if desired.

Perhaps unsurprisingly given the ready availability of addressable LEDs, we’ve not seen many home made ones. This addressable 7-segment display may be the closest.

Discrete LEDs Make A Micro Display

Few things excite a Hackaday staff member more than a glowing LED, so it should be no surprise that combining them together into a matrix really gets us going. Make that matrix tiny, addressable, and chainable and you know it’ll be a hit at the virtual water cooler. We’ve seen [tinyledmatrix]’s work before but he’s back with the COPXIE, a pair of tiny addressable displays on one PCBA.

The sample boards seen at top are a particularly eye catching combination of OSH Park After Dark PCB and mysterious purple SMT LEDs that really explain the entire premise. Each PCBA holds two groups of discrete LEDs each arranged into a 5×7 display. There’s enough density here for a full Latin character set and simple icons and graphics, so there should be enough flexibility for all the NTP-synced desk clocks and train timetables a temporally obsessed hacker could want.

Continue reading “Discrete LEDs Make A Micro Display”

A Tiny LED Matrix Is Better With Friends

When we last heard from [lixielabs] he was building Nixie tube replacements out of etched acrylic and LEDs. Well he’s moved forward a few decades to bring us the Pixie, a chainable, addressable backpack for tiny LED matrix displays.

Each Pixie module is designed to host two gorgeous little Lite-On LTP-305G/HR 5×7 LED dot matrix displays, which we suspect have been impulse purchases in many a shopping cart. Along with the displays there is a small matrix controller and an ATTINY45 to expose a friendly electrical interface. Each module is designed to be mounted edge to edge and daisy chained out to 12 or more (with two displays each) for a flexible display any size you need. But to address the entire array only two control pins are required (data and clock).

[lixielabs] has done the legwork to make using those pins as easy as possible. He is careful to point out the importance of a good SDK and provides handy Arduino libraries for common microcontrollers and a reference implementation for the Raspberry Pi that should be easy to crib from to support new platforms. To go with that library support is superb documentation in the form of a datasheet (complete with dimensions and schematic!) and well stocked GitHub repo with examples and more.

To get a sense of their graphical capabilities, check out a video of 6 Pixie’s acting as a VU meter after the break. The Pixie looks like what you get when a hacker gets frustrated at reinventing LED dot matrix control for every project and decided to solve it once and for all. The design is clean, well documented, and extremely functional. We’re excited to see what comes next! Continue reading “A Tiny LED Matrix Is Better With Friends”

New Part Day: SK6812 Mini-E. A Hand Solderable Neopixel Compatible LED!

Normally when we give you a New Part Day piece, it concerns a component that you will have never seen before. The subject of this find by [Robert Fitzsimons] then is a slight departure from that norm, given that the SK6812 Mini-E is a WS2812 or Neopixel compatible multi-colour LED of a type that has been available for a while now.

What makes this component new though is its packaging. The Mini-E variant of the SK6812 only appeared last year and has now found its way through to smaller order quantities on AliExpress. Its special feature is that it has a set of flat leads rather than the usual pads on the underside of the package. This means that unlike its predecessors it is readily hand solderable, as he demonstrates by attaching a set of leads to one.

The leads emerge halfway up the side of the device, which seems designed to be mounted recessed within a PCB hole. He demonstrates this with a piece of stripboard, and remarks that they would make a good choice for many small projects such as Shitty Add-On boards.

We’ve touched the leadless SK6812s a few times before, along the way remarking that in some respects they are better than the WS2812 they follow.

Continue reading “New Part Day: SK6812 Mini-E. A Hand Solderable Neopixel Compatible LED!”

194 LED Ball Is Free-Form Soldering On Another Level

We’ve all seen plenty of impressive free-form soldering in these pages, maybe some of us have even had a go ourselves. Using nothing but bare conductors, electronic components, and solder, complex and beautiful electronic sculptures can be created. But the latest free-form project from [Jiří Praus] takes the medium to a new level, as he’s taken no less than 194 bare surface-mount addressable LEDs and formed them into a perfect sphere supported by nothing more than soldered copper wire.

This feat was achieved with the aid of a 3D printed hemispherical jig with spaces for each LED, and each half was assembled in a marathon soldering session. Some significant fault-finding was required due to a few dry joints, and an ESP32 board and Li-Po cell were fitted in between the two halves as they were joined. The result is a triumph, a Christmas bauble like no other, and one which we aren’t sure we could manage to solder so well even on a good day.

If you recognise [Jiří ]’s work, it’s probably because we’ve featured several of his creations previously. It’s always difficult to pick a favorite, but the one which caught our eye the most was his fully functional freeform Arduino Uno.

Continue reading “194 LED Ball Is Free-Form Soldering On Another Level”

Painting With Light: The Homemade Pixelstick

Light painting has long graced the portfolios of long-exposure photographers, but high resolution isn’t usually possible when you’re light painting with human subjects.

This weekend project from [Timmo] uses an ESP8266-based microcontroller and an addressable WS2812-based LED strip to paint words or custom images in thin air. It’s actually based on the Pixelstick, a tool used by professional photographers for setting up animations and photorealism shots. The equipment needed for setting up the light painting sticks runs in the order of hundreds, not to mention the professional camera and lenses needed. Nevertheless, it’s a huge step up from waving around a flashlight with your friends.

The LED Lightpainter takes the Pixelstick a few notches lower for amateur photographers and hobbyists. It directly supports 24-bit BMP, with no conversion needed. Images are stored internally in Flash memory and are uploaded through a web interface. The settings for the number of LEDs, time for the image row, and STA/AP-mode for wireless connections are also set by the web interface. The project uses the Adafruit NeoPixel, ArduinoJson, and Bodmer’s TFT_HX8357 libraries for implementing the BMP drawing code, which also allows for an image preview prior to uploading the code to the microcontroller. Images are drawn from the bottom row to the top, so images have to be transformed before updating to the LED painter.

Some future improvements planned for the project include TFT/OLED support, rainbow or color gradient patterns in the LEDs, and accelerometer or gyroscope support for supporting animation.

There aren’t currently too many galleries of DIY LED-enabled light paintings, but we’d love to see some custom modded light painting approaches in the future.

This isn’t the first LED light stick we’ve seen, if you’re interested in such things.

Are Patent Claims Coming For Your WS2812?

There are some components which are used within our sphere so often as to become ubiquitous, referred to by their part number without the need for a hasty dig through a data sheet to remind oneself just what we are talking about. You can rattle a few of them off, the 555, the 741, the ESP8266, and so on.

In the world of LEDs, the part that most immediately springs to mind is the Worldsemi WS2812 addressable LED. This part consists of three LEDs in red, green, and blue, all in the same package with a serial interface allowing a chain of individually addressable multicolour lights to be created. We’ve seen them in all sorts of places, and if you don’t recognise the part number then perhaps you will by one of the names they’re sold under: Neopixel.

Yesterday we received an email from our piratical friends at Pimoroni, the British supplier of all forms of electronic goodies. Among their range they have a reasonable number of products containing WS2812s, and it was these products that had formed the subject of an unexpected cease-and-desist letter. APA Electronic are the manufacturer of the APA102 addressable LED (which you may know as the Dotstar), and their cease-and-desist asking for the products to be withdrawn from sale rests on their holding a patent for an addressable multicolour LED. We’d be very interested to hear whether any other suppliers of WS2812-based parts have received similar communications.

US patent number 8094102B2 is indeed a patent for a “Single full-color LED with driving mechanism”, which does look a lot like a WS2812. But as always, such things are not as cut-and-dried as they might first appear. The LED in the patent for example relies upon a clock line for its operation, while the Worldsemi part doesn’t. I am not a lawyer so I’d hesitate to call this a baseless and speculative move, but I suspect that there will be plenty over which the two semiconductor companies can duke it out in the courtroom.

It’s fair to say that a large part of the ethos of our movement shares something with that of the world of open-source, so news of legal manoeuvres such as this are never likely to go down well. We’re small fry in this context and our commercial influence on APA102 or WS2812 sales will be minimal, but inevitably APA’s standing in our eyes will be diminished. Companies such as Pimoroni are not the target but a piece of collateral damage in a battle between manufacturers.

Whether the patent has been violated or not can only be decided by the courts. It is not uncommon for patent holders to go after companies selling the “infringing” products in hopes that rather than risk a costly court battle, they simply adhere to the demands, in this case buying parts from APA and not from Worldsemi.

So, if you rely on addressable LEDs, watch out! There may be trouble ahead.

Header image: Tristan Robitaille [CC BY-SA 4.0].