Homebrew Programming With Diodes

diode

Diode matrices were one of the first methods of implementing some sort of read only memory for the very first electronic computers, and even today they can be found buried deep in the IPs of ASICs and other devices that need some form of write-once memory. For the longest time, [Rick] has wanted to build a ROM out of a few hundred diodes, and he’s finally accomplished his goal. Even better, his diode matrix circuit is actually functional: it’s a 64-byte ROM for an Atari 2600 containing an extremely simple demo program.

[Rick] connected a ton of 1N60 diodes along a grid, corresponding to the data and address lines to the 2600’s CPU. At each intersection, the data lines were either unconnected, or tied together with a diode. Pulling an address line high or low ([Rick] hasn’t posted a schematic) pulls the data line to the same voltage if a diode is connected. Repeat this eight times for each byte, and you have possibly the most primitive form of read only memory.

As for the demo [Rick] coded up with diodes? It displays a rainbow of colors with a black rectangle that can be moved across the screen with the joystick. Video below.

Continue reading “Homebrew Programming With Diodes”

Video: The Lowly Diode — Umpteen Functions with Only Two Pins

 

The lowly diode, a device with only two leads, can nonetheless do many things. Diodes can detect, rectify, suppress, emit light, detect light, change capacitance, emit microwaves and more. This wide range of use means diodes are included in almost every design and it’s well worth learning more about the inner workings of all kinds of diodes.

My introduction to diodes started like many of my generation with a homemade crystal radio set. My first diode was a piece of pencil graphite in contact with an old fashion safety razor with the joint of the two dissimilar materials — graphite and steel — creating the diode. In this configuration the diode is said to be “detecting” which is the act of turning a weak radio signal into a weak audio signal. At least in my home town of Marion Indiana, one radio station was stronger than the other so that I didn’t have to listen to two stations at once.

Germanium Glass Diode
The venerable 1N34A Germanium Signal Diode.

I eventually learned about “real” diodes and the 1N34A Germanium diode was my “goto” diode into my teens. Nowadays looking into a modern version of the 1N34A you can still see the semblance of the old “cat’s whisker” by looking carefully into the diode.

A quick and somewhat inaccurate semblance of the way a diode works can be demonstrated with marbles and jacks representing negative electrons and positive “holes”. Holes are basically an atom missing an electron due to the combination of elements, a process known as doping. Join me after the break for the explanation.

Demonstrating a PN Junction with marbles and Jacks.
Demonstrating a PN Junction with marbles and Jacks.

Continue reading “Video: The Lowly Diode — Umpteen Functions with Only Two Pins”

Making a Diode Matrix ROM

Here is a nice project that allows youngsters (but also adults!) to actually see the data stored in a Read Only Memory (ROM). The memory shown in the picture above is made of diodes. [Scott] made it as a part of his Barcamp Fall 2013 presentation about visualizing ROMs. He starts his write-up by stating the obvious: this memory is not practical. Nonetheless, it still was a fun exercise to do. [Scott] then greatly described all the different kinds of read only memories that you can find out there, with a few words explaining how they work. In his diode ROM, bits are ‘programmed’ by adding (or not) a diode between a given data line (anode) and an address line (cathode). When pulling low a given address line, the corresponding data line will only be pulled low if a diode is present. [Scott] finally checked his circuit by using a very old device programmer which could only be run in DOS.

3W handheld laser raises hope for a real Lightsaber someday

3W-handheld-laser

That banner image may seem a little bit theatric, but it’s a good representation of what this 3W handheld laser can really do. Turn the thing on in a slightly smoky room and it looks exactly like a thin beam Lightsaber.

What kind of tricks would you expect this thing to perform? Perhaps it’ll pop some black balloons? Prepare to be shocked because it’s orders of magnitude more powerful than that. The video below shows it burning and igniting a collection of items almost instantly. [Styropyro] tested his creation by igniting paper, cardboard, flash paper, flash powder, burning through a stick of wood, and igniting an undisclosed substance at the end of the video. But one of our favorites is when he drives a solar powered toy car with the intense beam.

He pulled the diode from a DLP projector, and drives it with a pair of 18650 Lithium Ion batteries which are commonly found in laptops. He made the enclosure himself. It looks great but we can’t help but wonder if the components would fit in a painstakingly made replica.

Continue reading “3W handheld laser raises hope for a real Lightsaber someday”

DVD laser diode used to build a laser engraver

[Johannes] has been reading Hackaday for years but this is the first project he’s tipped us off about. It’s a laser engraver built from a DVD burner diode (translated). It turned out so well we wonder what other projects he’s forgotten to tip us off about?

This is the second CNC machine he’s seen through from start to finish. It improves upon the knowledge he acquired when building his CNC mill. The frame is built from pine but also uses bits of plywood and MDF. It can move on the X and Y axes, using drawer sliders as bearings. The pair of blue stepper motors drive the threaded rods which move the platform and the laser mount. Just above the laser he included a small DC fan to keep it from burning up. The control circuitry is made up of an Arduino Nano and a stepper motor driver board. Catch a glimpse of the engraver cutting out some stencil material after the break.

There must be something about Spring that brings out the urge to work with laser diodes. We just saw a similar 1W cutter last week.

Continue reading “DVD laser diode used to build a laser engraver”

DIY laser cutter built to make stencils

It was time for some new T-shirts so [Andreas Hölldorfer] built a laser cutter. Wait, what? That’s the excuse he’s going with, and in the end this scratch built laser cutter did come in handy by cutting stencils to use when decorating his garments.

The first thing we thought when looking at the cutter is where’s the tube? [Andreas] didn’t use a CO2 laser, so this ends up being rather low-powered. The cutting head is a 1W blue laser diode which manages to slice the three-ring binder separator pages he’s using for the stencils. The two-axis machine is mounted inside a wooden box to protect his eyes while it’s cutting. He plans to add a drawer later on so that the cutting bed will slide in and out to swap out material for the next project. He already does a lot of 3D printing work and had an old RepRap driver board on hand to use for this projects. He designed and printed the red mounting brackets which make all of the junk-bin components work together. Not bad!

If you’d like to try this out on a smaller scale try using optical drive parts for the axes.

DVD power supply repair tips

bridge-rectifier-repair

This demonstration fixes the power supply of a DVD player, but the skills transcend this one application. [Alan] walks us through the process of repairing a power supply (translated) on a simple consumer electronics unit.

Obviously this starts by cracking open the dead device and verifying that the culprit is the power supply. [Alan] then removes that board from the chassis and gets down to work with a visual inspection. He’s got several images which illustrate things to look for; blistered electrolytic capacitors, cracked solder joins, scorch marks, etc. In his case there’s obviously a burnt out fuse, but that merely protects the hardware from further damage, it’s not the cause. Next he examines the diodes of the bridge rectifier. These need to be removed from the system to do so, which he accomplishes by clipping one end of each as seen above. He found that two diodes on one side of the bridge had broken down. After replacing them he tries a new fuse which immediately burns out. But a quick swap of the capacitors and he gets the thing back up and running.

We perk up every time we see this type of repair hack. We figure if we can build our own hobby electronics we should be able to fix the cheap devices like this one.