A Diode By Any Other Name

As active devices go, it doesn’t get much simpler than a diode. Two terminals. Current flows in one direction and not in the other. Simple, right? Well, then there are examples with useful side effects like light emitting diodes. [GreatScott] points out that there are other useful diodes and, in particular, he posted a video covering Schottky and Zener diodes.

These special diodes have particular purposes. A Schottky diode has a very low voltage drop and fast switching speed. Zener diodes have application in simple voltage regulation.

Continue reading “A Diode By Any Other Name”

Control Thy LED

In a previous article, I discussed LEDs in general and their properties. In this write-up, I want to give some examples of driving LEDs and comparing a few of the most commonly used methods. There is no “one size fits all” but I will try and generalize as much as possible. The idea is to be able to effectively control the brightness of the LED and prolong their life while doing it. An efficient driver can make all the difference if you plan to deploy them for the long-haul. Let’s take a look at the problem and then discuss the solutions. Continue reading “Control Thy LED”

Color Sensor From An RGB LED And A Photocell

When you need to quantify the color of an object, you’ve got quite a few options. You can throw a Raspberry Pi camera and OpenCV at the problem and approach it through software, or you can buy an off-the-shelf RGB sensor and wire it up to an Arduino. Or you can go back to basics and build this reflective RGB sensor from an LED and a photocell.

The principle behind [TechMartian]’s approach is simplicity itself: shine different colored lights on an object and measure how much light it reflects. If you know the red, green, and blue components of the light that correspond to maximum reflectance, then you know the color of the object. Their sensor uses a four-lead RGB LED, but we suppose a Neopixel could be used as well. The photosensor is a simple cadmium sulfide cell, which measures the intensity of light bouncing back from an object as an Arduino drives the LED through all possible colors with PWM signals. The sensor needs to be white balanced before use but seems to give sensible results in the video below. One imagines that a microcontroller-free design would be possible too, with 555s sweeping the PWN signals and op-amps taking care of detection.

And what’s the natural endpoint for a good RGB sensor? A candy sorter, or course, of which we have many examples, from the sleek and polished to the slightly more hackish.

Continue reading “Color Sensor From An RGB LED And A Photocell”

Boredom + Lasers = Projector!

[Krazer], a post-doctoral researcher at MIT, loves him some lasers. When out of boredom one afternoon he hatched an idea for a laser projector, it grew until a few years later he wound up with this RGB laser for a projector — Mark IV no less.

In addition to 3D-printing the parts, the major innovation with this version is the ability to re-align the lasers as needed; tweaking the vertical alignment is controlled by a screw on the laser mounts while the horizontal alignment is done the same way on the mirror mounts. This simplifies the design and reduces the possibility of part failure or warping over time. An additional aluminium base epoxied to the projector aims to keep the whole from deforming and adds stability. With the help of a mirror for the final alignment — sometimes you must use what you have— the projector is ready to put on a show.

True to the spirit of the art [Krazer] used all open source software for this iteration, and sharing his designs means you can build your own for around $200. As always with lasers take extra precautions to protect your eyes! This 200mW setup is no joke, but that doesn’t mean fun and games are out of the question.

Retrocomputing With Open Source FPGAs

A few years ago, we saw the reverse engineering of the Lattice iCE40 bitstream, opening the door to a completely Open Source development tool chain for FPGAs. This was an astonishing amount of work from [Clifford Wolf], [Mathias Lasser], and [Cotton Seed], but since then we haven’t seen a whole lot from Project IceStorm. Now, that’s about to change, and in the coolest way possible. [hoglet] is retrocomputing on an ICE40 development board.

This is an implementation of the Acorn Atom on a myStorm BlackIce board. This board is basically just a Lattice iCE40 FPGA, a few support components, and a bunch of pin headers, some of which are in the not-so-handy Arduino pinout footprint. By porting some Acorn Atom implementations and a 6502 core to verilog, [hoglet] was able to stuff a cool old retrocomputer onto an Open Source FPGA development board. Video output is through a resistor DAC driving a VGA cable, and keyboard input is through PS/2.

Just about everything about this Open Source implementation of the Acorn works, and there’s still a lot left in the iCE40 FPGA. [hoglet] is able to run the 6502 core at 25MHz, which means just about every 6502-based system should be able to run on the BlackIce board.

 

Custom Cut Resistor Bandoliers

Through-hole resistors come on tape that we’re now calling bandoliers. Since [Spencer] is selling a boatload of his RC2014 backplane computer kits on Tindie, he’s been chopping up a lot of resistor bandoliers. It’s a boring and monotonous job.

Fortunately, a lot of people have had a bandolier cutting problem over the years, and there are some hobbyist-grade robots that will do this work for you. One of the more popular robots tasked for bandolier cutting is a laser cut robot. However, if you already have a laser cutter, why not just use the laser to cut the bandoliers? It’s brilliant in its simplicity.

[Spencer] spent a little bit of time designing a template to turn his laser cutter into a cutter for through hole resistors. No, he’s not trimming the leads — this is just a device to cut resistors into groups mini bandoliers of a handful of resistors. The tool is made out of plywood, with a smaller top piece held down with magnets to keep the resistors aligned.

The entire template is up on Thingiverse, and it’s great if you need to cut hundreds of resistors to kit dozens of projects. If you’re only doing one or two, scissors will be the way to go, but if you’re cursed with the monotony of trimming hundreds there’s no better way to get things done than to put a robot to work.

A Flame Diode Pilot Light Sensor For A Burning Man Installation

A naked flame is a complex soup of ionised gases, that possesses an unexpected property. As you might expect with that much ionisation there is some level of electrical conductivity, but the unusual property comes in that a flame can be made to conduct in only one direction. In other words, it can become a diode of sorts, in a manner reminiscent of a vacuum tube diode.

[Paul Stoffregen] has made use of this phenomenon in a flame detector that he’s built to be installed on a Burning Man flame-based art installation. It forms part of a response to a problem with traditional pilot lights: when the wind blows a pilot light out, a cloud of unignited gas can accumulate. The sensor allows the pilot light to be automatically re-ignited if the flame is no longer present.

The circuit is a surprisingly simple one, with a PNP transistor being turned on by the flame diode being placed in its base circuit. This allows the intensity of the flame to be measured as well as whether or not it is present, and all at the expense of a microscopic current consumption. A capacitor is charged by the transistor, and the charge time is measured by a Teensy that uses it to estimate flame intensity and trigger the pilot light if necessary. Interestingly it comes from a patent that expired in 2013, it’s always worth including that particular line of research in your investigations.

All the construction details are in the page linked above, and you can see the system under test in the video below the break.

Continue reading “A Flame Diode Pilot Light Sensor For A Burning Man Installation”