Programming The 6502 One Nibble At A Time

[Quinn Dunki] keeps rolling with her 6502 based computer build. This time around she’s added some memory to store the programs, but needed a way to get that code into the device. Above is her solution, a bank of hex switches used to program the 8-bit command and 16-bit address for each line of machine code.

This is a continuation of her Veronica project. The last time we saw it she had hardwired the logic levels for the data bus, but that’s no fun since nothing can actually be computed. [Quinn] picked up an SRAM chip which will store the program. It’s compatible with the 6502’s memory bus, but needs a bit of extra circuitry for her to be able to hand program it with this switch bank. She used some tri-state buffers to switch between connections to the processor, and to the hex switches. This way, she disconnects the RAM from the processor using the buffers, uses the switches and push button to clock in the program, then patches the RAM back into the computer.

Seeing this process in the video after the break certainly gives you an appreciation for what an improvement the punch-card system was over this technique. Still, seeing this is a delight that we’d like to try! Continue reading “Programming The 6502 One Nibble At A Time”

I2C Level Converter

You’ve got several devices which communicate via the I2C protocol, but some of them can only operate at 3.3V while the rest are hungry for a 5V connection. What to do? [Linux-works] built this I2C level converter to solve the problem.

The circuit comes from an NXP app note (PDF) on the issue. You can take a quick peek at the suggested schematic from that document. The design uses two MOSFETS for each side of the adaptor. Perhaps a better way to explain this is that you need one for the higher voltage and one for the lower voltage on each of the two data lines for a total of four parts. This allows for both of the buses to communicate as one, while still having their own 3.3V and 5V pull-up resistors.

[Linux-works] concedes that there are chips designed to do this for you, but he was able to source the BSS138 MOSFETs locally and for about ten cents a piece. Not a bad alternative to putting in a parts order.

Laser Cutting Technique Makes Plywood Bendable

Here’s a laser cutting technique that makes thin plywood bendable. By cutting away elongated diamond shapes from the material, a lattice of strips connected minimally by alternating tabs is left over. The wood is then bendable, and it must be somewhat durable since the idea came from a product that uses the technique as a hinged notebook enclosure.

We don’t have much interest in it as an often used pivot point as surely it must be a problem with long-term use. But we love the look of it as a rounded corner on an enclosure like the Arduino project box seen above. The side walls are one continuous piece, with identical top and bottom sections which receive the alignment tabs. The whole thing is held together with just four bolt/washer/nut combinations.

But if you don’t have access to a laser cutter, we guess you’ll have to stick to altering pre-made enclosures for now.

Periodic Table Of Swearing Would Even Make A Sailor Blush

periodic-table-of-swearing

If you often find yourself at a loss for words in the heat of an argument, perhaps this Periodic Table of Swearing is something you might be interested in. Built as a marketing tool for the British comic “Modern Toss”, the table features over 100 fruit machine (slot machine) buttons, each of which triggers an audio clip of the cheeky word or phrase listed.

The buttons were mounted on a piece of laser-cut MDF which makes up the table’s surface, while all of the wiring and the guts of the machine are neatly tucked away underneath. Clay, the company that actually built the table, doesn’t elaborate a whole heck of a lot on the details other than stating that it includes over 100 meters of wiring, 300 solder joints, and a whole lot of swearing. We imagine it could likely be replicated with a small micro, an SD card reader, and a couple of speakers – for anyone interested in having one of their own.

While it’s not a hack in the strictest sense, we’re sure it’s a great conversation starter ender, and we did get a chuckle out of the demo video below (Warning: Language).

[Thanks, Jack]

Continue reading “Periodic Table Of Swearing Would Even Make A Sailor Blush”

Christmas Tree Water Sensor Gets An Upgrade And A Fancy New Box

xmas-tree-water-sensor

[Eric Ayars] has a nice cast iron Christmas tree stand at home, but the only drawback is that the stand makes it hard to see just how much water is available to the tree. Last year we covered a small gadget he created to help keep tabs on the water level, but as several of you predicted, the system eventually failed.

His previous solution used copper plated proto board to sense how much water was in the stand, but the leads corroded in about a week’s time. With Christmas just around the corner, he decided to give things another try.

His revamped water level sensor relies on measuring capacitance changes in a copper strip board when under water rather than detecting a complete circuit like the previous model. To protect his sensor this time around he coated the board with polyurethane, which should provide a decent corrosion barrier.

Using the Arduino CapSense library, the sensor can detect the presence of water, signaling an alarm if the base needs refilling. One of our readers suggested that he use the tree itself as a low water indicator, which is just what [Eric] did this year. If the water is somewhat low, the Arduino-controlled relay powering the tree is switched off and then on again, every 5 seconds. If the base is nearly dry, the tree asks for water by blinking the word “Water” repeatedly in Morse code.

We think that this year’s solution is pretty clever, and we’re glad to see that [Eric] didn’t give up after last year’s setback!

Combine 2 Non-Working Sony TVs Into One That Works

Have you ever wondered if you could fix your two broken LCD TVs by combining them? Neither had we, but [Redion] did, and the answer is yes, it can be done.  Although it may sound like a serious kludge, the finished product actually looks quite nice from the view provided.  On the other hand, we don’t know how the internals will hold up, but it apparently works well now.

For this hack, the working internals from a  32 inch Sony LCD TV with a broken display were combined with a 40 inch Sony LCD TV that had an undamaged display but fried internals.  Although this would most likely not work for every TV out there, it’s still a pretty neat experiment. Many people would simply assume something like this would not work, and trash both TVs.  We would suggest the new TV be named “Nomad”, just avoid wearing a red shirt around it.

Keep in mind with any TV hack, taking one apart can expose you to large capacitors that may or may not be charged and can be quite dangerous (they can stay charged for a long time).  We don’t necessarily recommend duplicating anything here, but use extreme caution if attempting anything like this.

Physical Computing Just Got A Lot Easier

Putting microcontrollers in everything and tying appliances into the internet has become the DIYers’ bread and butter. There’s a ton of benefits from an Internet-enabled coffee maker, but actually building these projects takes a little bit of knowledge. Enter [Dave] and [John] with Twine – a little Internet enabled box that connects physical reality to the digital world.

The hardware inside a Twine is a small board that combines WiFi, an accelerometer and temperature sensor. The Twine is programmed ‘in the cloud’ with a simple if/then condition. A Twine will send you a text, email or tweet when the condition is met. For example, you could put a Twine on a door and program the accelerometer to text you when someone comes knocking.

Twine isn’t an entirely closed system; there’s a plug for additional sensors (moisture detection, for example), and the data from sensors can be pushed out to a server. You can pick up a twine for $100 from the Kickstarter; it’s a little rich for our blood, but we’re sure it’ll be a useful device.