Driving 1000 NeoPixels With 1k Of Arduino RAM

timing

NeoPixels, or WS2812 RGB LEDs, are the display device du jour for impressive and blinding lighting projects. Commonly known for very tight timing requirements, [Josh] discovered this is, in fact, usually unnecessary. The timing requirements for NeoPixels aren’t as bad as they seem, once you get to know them.

The official WS2812 timing specs give values that are fairly constraining for anyone writing a library to drive these RGB LED pixels, but simplifying the timing diagram by assuming a 50% duty cycle on the data lines and ignoring the longer maximum times results in a surprising conclusion: the only tight timing parameter for NeoPixel signaling is the maximum width of the 0-bit pulse.

Realizing this, [Josh] wrote a simple demo program to drive over 1000 NeoPixels – an 11 meter long strip – using 1K of RAM on an Arduino. The trick comes by simply delaying the bitbanging a set number of cycles. No obtuse assembly required.

There is only one problem with [Josh]’s method of driving a nearly unlimited amount of NeoPixels – building a display where every NeoPixel is an element in a larger image, such as in a video display, is impossible on systems with limited amounts of RAM. The code writes values to the NeoPixel strip algorithmically, so if you can’t build your animation with for loops, you’re out of luck. Still, Driving this many NeoPixels is a migraine trigger, and we have to give [Josh] credit for doing this with 1K of RAM.

Check out the video of [Josh]’s extreme NeoPixel strip below.

Continue reading “Driving 1000 NeoPixels With 1k Of Arduino RAM”

LED IM status indicator

Green Light Go, Red Light Come Back Later

Depending on your taste for social interaction and tolerance for distraction, an open floor plan or “bullpen” office might not be so bad with a total of four people. Hackaday.io user [fiddlythings] likes it, but people often stop by to see him or one of his coworkers only to find them busy or absent. While their status is something they could plainly see in Microsoft Communicator from their own desk, some people like to chat in person or stop by on their way to and from meetings.

In order to save these visitors a few seconds, [fiddlythings] came up with an IM status indicator using their existing nameplates outside the door. Each of their names has a little silver dot by it which he backlit with a flattish RGB LED. These LEDs are driven by a Raspberry Pi and NPN transistors through a ribbon cable.

The plan was to imitate the Communicator status colors of green for available, red for busy, and yellow for away. [fiddlythings] dialed up a lovely shade of amber for away using a mix of red and green. Since he really only needs two colors, he’s using eight NPN transistors instead of twelve. The quick ‘n dirty proof of concept version used Python and a Pidgin IM console client called Finch. Once he got IT’s blessing, he implemented the final version in C++ using Libpurple to interface with Communicator.

This isn’t the first time we’ve seen a Pi used to indicate status—remember this mobile hackerspace indicator?

The P.u.l.s.e Parking Light

[Anool]’s brother loves his motorcycle, and when he came across a ‘breathing LED’ mod for the brake light, he had to have one. Being tasked with the creation of a pretty cool mod, [Anool] came up with p.u.l.s.e., an extremely small LED controller and a slight tip ‘o the hat to Pink Floyd and the second or third greatest CD packagings.

The circuit is a slightly Apple-inspired mod for the  parking light that keeps the lamp fully lit when the Neutral Detect line on the bike is high, and slowly pulses the LED in a ‘breathing’ pattern when the Neutral Detect line is low. Not a lot of logic is needed for something this simple, so [Anool] turned to the ATtiny45 and the Arduino IDE to accomplish his goal.

[Anool] created a circuit in KiCAD that would plug in to the lamp socket of his brother’s bike. A cluster of LEDs replace the T10 lamp inside the parking light, and a small amount of code takes care of the logic and breathing effect. It’s a great mod, and the astonishingly small size of the board puts him in the running for the smallest Arduino we’ve ever seen.

Videos of the light in action below.

Continue reading “The P.u.l.s.e Parking Light”

Blinky LED Necklace That Actually Looks Chic

LED bib necklace by Agy

[Agy] a fabric hacker in Singapore has made a chic light sensitive LED necklace, and written up the tutorial on her blog  Green Issues by Agy. The lovely thing about this hack is that it doesn’t look like a breadboard round her neck, and most of the non-electronic components have been upcycled. [Agy] even used Swarovski crystals as LED diffusers for extra bling.

Using a LilyPad Arduino with a light sensor and a few LEDs, [Agy’s] circuit is not complicated. She seems to be just branching out in to wearable tech, so it is nice that she learnt to program different modes for bright and low light (see video below). Her background in sewing, refashioning and upcycling does show through in her crafty use of an old pair of jeans and lace scraps for this project.

We love tech focused jewelry like [TigerUp’s] LED matrix pendants or [Armilar’s] Nixie-ify Me Necklace, but they do scream Geek. DIY electronically enhanced accessories are becoming more commonplace with the variety of micro-controller platforms expanding rapidly. Low energy wearable boards like MetaWear are making it easy for the tech to be discreet and easily connected to your smartphone.  3D printing is enabling us to create durable enclosures, settings and diffusers like the ones used for LED Stegosaurus Spikes. With all these things, hobby wearable projects can not only be functional and durable, but can also look great too.

Do you think this necklace would look out of place in a non-geeky gathering? Have you got any helpful tips for [Agy’s] code? Have you tried using gems or crystals as diffusers and what were the results? Let us know in the comments below.

Continue reading “Blinky LED Necklace That Actually Looks Chic”

Homemade Gravity Light Doesn’t Last Long But Proves The Concept!

gravity light

After being inspired by the Deciwatt Gravity light, [Steve Dufresne] decided he wanted to try making his own as a proof of concept.

The Gravity Light by Deciwatt is an innovative device designed for third world countries to help eliminate expensive lighting like kerosene lamps. It has a small weight on a pulley which can be lifted up in under 3 seconds. During its slow descent down the weight provides light for 25 minutes! It’s affordable, sustainable, and reliable. It’s also mechanically impressive, which is exactly why [Steve] decided to try making his own.

He’s using a single LED, a small DC motor, a few pieces of wood, an old bicycle wheel, some bicycle chain, and a few jugs of water. The water is connected to the chain which is looped over the smallest gear on the bike. The generator is then powered by a belt wrapping around the outside of the rim. This gives the motor enough speed to generate electricity for the LED. His current design only lasts for about 3 minutes, but he’s already working on the second iteration. Testing systems like this really give you an appreciation for the effort that must have gone into the real Gravity Light.

Stick around after the break to see it in action.

Continue reading “Homemade Gravity Light Doesn’t Last Long But Proves The Concept!”

Gaming On An 8x8x8 LED Cube

LEDCube

Building an LED cube is a great way to learn how to solder, while building something that looks awesome. Without any previous experience with soldering or coding, [Anred] set out to create a simple 8x8x8 LED cube gaming platform.

Rather than reinventing the wheel, [Andred] based the LED cube off of three separate Instructables. The resulting cube came out great, and the acrylic casing around it adds a very nice touch. Using an Arduino Mega, the 74HC574, and a few MOSFET’s to drive his LEDs, the hardware is fairly standard. What sets this project apart from many other LED cube builds, is the fact that you can game on it using a PlayStation 1 controller. All the necessary code to get up and running is included in the Instructable (commented in German). Be sure to see the cube in action after the break!

It would be great to see a wireless version of this LED cube game. What kind of LED cube will gaming be brought to next? A tiny LED cube? The biggest LED cube ever? Only time will tell.

Continue reading “Gaming On An 8x8x8 LED Cube”

Blinkenschild, The RGB LED Display For Every Occasion

turd

One morning [overflo] decided to protest the European Parliament’s stance on equine rights of defecation, a cherished liberty dating back to the time of Charlemagne. The best way to do this is, of course, blinking lights. He calls his project Blinkenschild, and it’s one of the best portable LED displays we’ve seen.

The display is based around fifteen RGB-123 LED panels, each containing an 8×8 matrix of WS2811 LEDs. That’s 960 pixels, all controlled with a Teensy 3.1. Power is supplied by fifteen LiPo cells wired together in parallel giving him 6 Ah of battery life. Clunky, yes, but it’s small enough to fit in a backpack and that’s what [overflo] had sitting around anyway.

The animations for the display are generated by Glediator, an unfortunately not open source control app for LED matrices. Glediator sends data out over a serial port but not over IP or directly into a file. Not wanting to carry a laptop around with him, [overflo] created a virtual serial port and dumped the output of Glediator into a file so it could be played back stored on an SD card and controlled with an Android app. Very clever, and just the thing to raise awareness of horse and Internet concerns.

Video below.

UPDATE: Check out [overflo’s] clarification in the comments below.

Continue reading “Blinkenschild, The RGB LED Display For Every Occasion”