Schematic for a boost converter based on the ATtiny MCU

An ATtiny Boost Converter

This schematic is all you need to build your own voltage converter. [Lutz] needed a converter that could boost 5 V to 30 V to power a string of LEDs. The solution was to use low cost ATtiny85 and some passive components to implement a boost converter.

This circuit follows the classic boost converter topology, using the ATtiny85 to control the switch. The 10 ohm resistor is fed back into the microcontroller’s ADC input, allowing it to sense the output voltage. By measuring the output voltage and adjusting the duty cycle accordingly, the circuit can regulate to a specified voltage setpoint.

A potentiometer is used to change the brightness of the LEDs. The software reads the potentiometer’s output voltage and adjusts the voltage output of the circuit accordingly. Higher voltages result in brighter LEDs.

Of course, there’s many other ways to implement a boost converter. Most practical designs will use a chip designed for this specific purpose. However, if you’re interested in rolling your own, the source and LTSpice simulation files are available.

Motion Through Time Painted In Light

Photographer [Stephen Orlando] has an awesome body of work that focuses on human motion. The images he captures with colored light and a camera set up in a setting of choice tell a story of time in a way that’s visually stunning.

[Stephen] has experimented with various types of action. He’s attached LED strips onto props like oars in order to capture the rhythmic movements of rowing, or directly onto parts of the body to visualize more chaotic gestures, like the forms of a martial artist. His camera is set up to take long exposures, soaking in the light as it plots itself through space over time.

karateLight

Though this isn’t a hack directly in itself, [Stephen’s] experimentation with time and light is a great case of technology being added to the arsenal of traditional mediums we’re accustomed to seeing in the production of artistic work. The clean execution of his idea to tell a story about what we don’t typically get to see by use of light should inspire all of us who love to play around with LEDs in our projects. Sometimes the more interesting aspects of our work are created in the negative space we forget to consider.

The next time you find yourself working on a hack, look at what you’re creating from a perspective beyond its original context. For example, 3D printing with a delta robot is a bit of a departure from it’s original purpose as a pick and place machine. Even further yet is the concept of using one to draw images in space with light. Often the process of somethings creation, as well as the byproduct of what it took to make it, is just as worthy of investigation. Don’t forget to search between the lines… that’s where the magic is.

L3D Cube Takes The Work Out Of Building An LED Cube

Building an LED cube usually means a heck of a lot of delicate soldering work. Bending jigs, assembly jigs, and lots of patience are the name of the game. The problem multiplies if you want to build with RGB LEDs. [Shawn and Alex] are hoping to change all that with their L3D cube. Yes, L3D is a Kickstarter campaign, but it has enough good things about it that we’re comfortable featuring it here on Hackaday. What [Shawn and Alex] have done is substitute WS2812b surface mount LEDs for the 5mm  or 3mm through hole LEDs commonly used in cubes. The downside is that the cube is no longer visible on all sides. The upside is that it becomes a snap to assemble.

The L3D cube is open source hardware. The source files are available from separate software and hardware Github repositories. Not next week, not when they hit their funding goal, but now. We seriously like this, and hope all crowdfunding campaigns go this route.

The L3D cube uses an open source Spark Core as its processor and WiFi interface. Using WS2812b’s means less I/O pins, and no LED driver chips needed. This makes it perfect for a board like Spark or Arduino.  On the software side, the team has created a Processing Library which makes it easy to create animations with no coding necessary.

L3D has all the features one would expect from an LED cube – a microphone for ambient sound visualizations, and lots of built in animations. It seems [Shawn and Alex] have also created some sort of synchronization system while allows multiple cubes to work together when stacked. The team is hoping someone will come up with a 3D printed light diffuser to make these cubes truly a 360 degree experience.

The L3D cube campaign is doing well, [Shawn and Alex] are close to doubling their $38,000 goal. Click past the break to check out their Kickstarter video!

Continue reading “L3D Cube Takes The Work Out Of Building An LED Cube”

Hacking The Crayola Digital Light Designer

[Harry] wrote in with his hack of the Crayola Light Designer. The Light Designer is a pretty unique toy that lets kids write on a cone-shaped POV display with an infrared light pen. [Harry] cracked one open and discovered it has a spinning assembly with a strip of 32 RGB LEDs for the display and a strip of photodiodes to detect pen position. These were ripe for the hacking.

The spinning assembly uses several slip ring connections to send power and data to the spinning assembly. [Harry] connected a logic analyzer to several of the connections to determine which lines were clock, data, and frame select (the strip is split into 2 16-led “frames”). He went on to reverse-engineer the serial protocol so he could drive the strips himself.

Instead of reverse-engineering the microcontroller on the product’s PCB, [Harry] decided to use a Leostick (Arduino Leonardo clone) to control the LEDs and spinner. He mounted the Leostick on the shaft of the spinning assembly, and powered it over the slip ring connections. After adding some capacitance to make up for noisy power from the slip rings, [Harry] had the POV display up and running with his own controller. Check out the video after the break to see the hacked POV display in action.

Continue reading “Hacking The Crayola Digital Light Designer”

A USB-Controlled POV Light Stick

Wanting to showcase their USB LED strip controller, the folks at Maniacal Labs built a POV LED stick this weekend. Yes, it’s pretty much the same as any other POV LED display you’ve seen; set a camera for a long exposure, wave the POV light stick around, and get a cool pixely image in mid-air. This build is a little different, though: it’s controlled over WiFi with a Raspberry Pi connected to a WiFi network.

The USB LED strip controller in question is the AllPixel, a small board that controls NeoPixels, WS2801, LDP8806, and a bunch of other LED strip controllers over USB. The Stick used for this project consisted of two meters of LPD8806 LEDs, giving 96 pixels of horizontal resolution. A big battery and Raspberry Pi rounds out the rest of the electronics.

Building a LED POV display isn’t that much different from building a LED matrix display; all you have to do is break up the image into individual columns and display them sequentially. To do this, the Maniacal Labs folks whipped up a LEDPOV class that does just that. To get the images, just open the shutter on a camera, wave the stick around, and if you get it right, you’ll have a great pixely image of nyan cat or the rainbow wrencher.

Measuring The Length Of WS2812 Strips

[Tim] discovered a simple way to measure the length of WS2812 addressable LED strips from a microcontroller. This is great for any project that can have an arbitrary length of addressable LED strip attached to it.

The simplest (and perhaps most reliable) way to measure strip length is by feeding the serial output pin of the end of the strip back to the microcontroller. The microcontroller keeps clocking bits into the strip until it receives data from the end of the strip. [Tim] didn’t want to run an additional signal to the end of his strip, so he found another solution.

[Tim] used the ADC of his microcontroller (an ATtiny) to measure supply voltage droop as LEDs are turned on. Each LED draws around 60mA at full brightness, so [Tim] sequentially turned on each LED and watched the ADC for slight voltage changes. If the voltage changed, there must be an LED at that address. [Tim] does note that this method is extremely dependent on the power supply used and only works on short strips. Check out his blog post for more details.

Larson Scanner Namesake [Glen Larson] Passes Away

[Glen A. Larson] passed away on Friday at the age of 77. He may be most widely recognized for being a producer of the original Battlestar Galactica, Magnum, P.I. and Knight Rider television series’. But for us his association with a row of LEDs which illuminates in a back and forth pattern will always be his legacy.

When we heard about his passing we figured that we would hear about his invention of the Larson Scanner but that was not the case. A bit of research turned up a pretty interesting Wikipedia bio page. He has origins in a music group call The Four Preps and actually composed or collaborated on a number of television theme songs among other notable accomplishments. But nothing about electronics. Did this man of many hats actually invent the hardware for the Larson Scanner used as the Cylon Eye and on the front of K.I.T.T., or does it simply share his name?

Evil Mad Scientist Labs claims to have coined the term Larson Scanner. [Lenore Edman] confirmed to us that EMSL did indeed start the term which is used to name their electronics kit and directed us to [Andrew Probert] who lists effects for the TV series on his portfolio. We’ve reached out to him for more information but had not heard back at the time of publishing. We’ll update this post as details emerge. In the mean time, if you have any insight please leave it below including the source of the information.

If you are not aware, a Larson Scanner is so interesting because the pattern calls for a fading trail of LEDs. It is not simply a fully illuminated pixel moving back and forth but includes dimmed pixels after the brightest one has passed. This is an excellent programming challenge for those just getting into embedded development.

Those interested in learning more about [Gary] may find this lengthy video interview of interest. Otherwise it’s time for the collection of links to past Larson Scanner projects which we’ve covered.

[Thanks Bruce]