nuxx.net
Making, baking, and (un-)breaking things in Southeast Michigan.

Category making things

Compact Flash in the Trashwall

So, I won this eBay auction for some Compact Flash to IDE adapters. As you can see in the image, those adapters are supposed to plug right into a 40-pin ATA port. In the Trashwall I was hoping to plug one of these right into the main board and use it for booting the OS from a compact flash card.

Unfortunately, the seller instead sent me a normal end-of-cable mount adapter, similar to the one used in my MAME Cabinet, except without the second slot. At least it was the newer version which supports DMA transfers, which was one of the big things I wanted.

This evening I took the adapter, screwed some old motherboard standoffs into it, then screwed it into one of the Power Mac G4 AGP’s drive trays. Despite being something other than what I wanted to use, it has worked out pretty well.

It turns out that the two fastest (specification) cards I have are my Sandisk Ultra II 2GB and the el-cheapo Micro Center-branded 2GB card, which are both DMA Mode 2 devices. While this isn’t too slow, it’s not as nice as what I’d get if I were to shove one of the newer Transcend 133x as did with his IBM z50. But, being cheap and trying to keep with the spirit of the Trashwall, I’ll use the spare, leftover Micro Center card.

Now, I just need to install OpenBSD on it again, fit it in the rack, and get it integrated into the network here. Hopefully I can do that tomorrow. For now, beer and relaxing.

computersmaking thingsmoved from livejournal

OpenBSD Serial Console

Serial consoles are cool, and OpenBSD on a machine with Open Firmware makes it easy.

First, I came across these directions for making Mac to PC (MiniDIN 8 to DB9) null modem cables and made one out of a spare connector from the Honda Music Link work, some CAT5, a new female DB9, and a old DB9 shell.

After hooking this up and starting PuTTY as VT220 on COM1 at 57600 I booted into OF and ran the following commands:

setenv input-device scca
setenv output-device scca
reset-all

After this the box rebooted, the monitor stayed blank, and the OpenBSD bootloader showed up on the serial terminal. One of the many nice things about OpenBSD macppc is that it’s bootloader and kernel boot messages automatically go to the output to the OF console. All I had to do was ensure that this line was in /etc/ttys and the first serial port becomes a real console:

console "/usr/libexec/getty std.57600" vt220 on secure # for serial

Oh, and in case you’re wondering how I got a serial port on the G4 AGP I’ve been fooling with: I picked up an old Griffin G4Port on eBay. This is a drop-in replacement for the modem which provides an old MiniDIN 8 Apple-type serial port on the back panel.

I’m going to write up a lot more about this box on my main site after it’s up and running.

computersmaking thingsmoved from livejournal

OpenBSD on PPC

OpenBSD 4.2 (macppc) on a Powermac G4 AGP

OpenBSD on PPC, specifically ‘s old Powermac G4 AGP, is weird. I axed the i partition thinking the MSDOS-ness of it was something left over from the disk’s old use, but it seems that it is actually needed for booting. OpenFirmware will look there, since it can understand FAT filesystems.

Well, at least it’s now booting…

It might be nice to shove a bunch of four-port NICs in here and use it as a firewall / hub / bridge / switch thing. Then I could do what is essentially per-port / per-device monitoring and firewalling. I think it would work well to have the Airport Extreme on one port, my Mac Pro on another, the workbench on one, the Xbox 360 on yet another.

I wonder if this thing can run without a video card…

This would be good for ACK prioritization which would really help me out when loads of photos are uploading. Hmm…

Oh, also, the nifty real framebuffer, high-res, serif font is kinda neat.

I think next I’ll try and clean it out (it’s full of cat dander), get it booting from flash, and get the noisy fans sorted out. Right now it’s only pulling 54 watts, but I’d love to get that even lower if it’s going to be a firewall.

Hmm, if I got an Airport card for it (anyone have one of these — the old, original one?) I could also have an open AP, with monitoring, which only has access to the public internet. That’d be handy.

computersmaking thingsmoved from livejournal

Instructables

Am I the only person who really doesn’t care for Instructables?

I mean, the concept is good (sharing project ideas step by step), but the execution is rotten. It’s a mishmash of external ads, ads for other pages on the site, comments, hard to save / reference photos (which are often too low res), and YouTube-ish comments.

Uggh.

found thingsmaking thingsmoved from livejournal

Problem-B-Gone!

15pF caps cobbled into Ben’s TV-B-Gone
(Click for more photos…)

So, that TV-B-Gone problem from last night is sorted. Just after coming in from shoveling snow I remembered that I had an 8MHz crystal hanging out on the EasyPIC 4 I acquired about a year ago (photo gallery retired). I just dropped the crystal on the board, squeezed in some 15pF caps on the back of the board (not sure if these are the right value, but they should be close enough), and tested it. As expected, it was now working. Also, because we used no-clean flux there wasn’t anything more to clean off. That was quite nice.

To make it a little more pocket-friendly I put some 1″ Harbor Freight Special heatshrink tubing around the main part of the body. This makes it nice and smooth, and parts are less likely to be accidently torn off. (Danielle accidently knocked one of the transistors off… Oops… This will get replaced next time I order something from Mouser or Digi-Key.)

Anyway, it’s working good now. Now it just has to get back to Lapeer and in ‘s possession so he can use it on Christmas.

This is normally handled by the condo association, but because of the heavy snowfall I decided to do my porch and in front of my garage myself, instead of waiting for the snow clearing company to get to it.

electronicsmaking thingsmoved from livejournal

Rez

Wrong resonator shipped with TV-B-Gone kit.Wrong Resonator with TV-B-Gone

came over tonight to assemble one of adafruit Industries TV-B-Gone kits, his first electronics kit. While he did a great job soldering things, it doesn’t work. Why? This one shipped with the 16MHz resonator seen above, instead of the spec’d 8MHz.

At first I thought this might be okay, as a new v1.1 of the kit was released, and I figured that maybe the BOM hadn’t been updated. However, after things didn’t work, I did a bit more digging and realized that it’s just the wrong part. The microcontroller won’t even run at that 16MHz speed, the firmware says that 8MHz is required, etc.

That’s now a total of three kits I’ve ordered from there, two of which had missing parts. I hope I’m the only customer with these issues.

electronicsmaking thingsmoved from livejournal

IC Sorting

Sorted ICs
(Click for higher resolution image…)

Remember the SOVTEK ICs and random other electronics I received as part of an ITT toolbox from a coworker?

Well, tonight I decided to go through and sort through the ICs, tossing out the noticeably physically damaged ones, and cataloging the rest. That scan up above shows all of the ICs, about half 74xx series, on foam. If you’d like to see a list of what is there, I put it all in Google Documents and shared it here. (And yes, Google Documents works pretty darn well.)

The yellow things are resistor arrays / networks, and those aren’t in the catalog.

Maybe now I can get to putting together that synth-like thing, or something else nifty. (Perhaps a LED clock or something…)

electronicsmaking thingsmoved from livejournal

Motherboard + RAM

Do any of you happen to have an old motherboard + RAM + CPU which you don’t need any more?

I need something reasonably fast, Intel or AMD, with PCI slots. It is going to go in my MAME Cabinet and hold an AudioPCI running the fabulous DOS driver (thanks, !) and some flavor of MAME.

Really, I’m not too picky as to what it all is, so long as its reasonably quick and free. :D

computersmaking thingsmoved from livejournal

RS232 to Eaton Leonard Interface, 24V Version, First Draft

Remember those RS232 to Eaton Leonard adapters I made a few months back? Well, there’s a need for me to develop a version which can run from 24VDC, so I did. The switching power supply mentioned a few days back is used in this (you can see its footprint there on the left), with the rest being the same as the other board.

I had to remove the reverse voltage protection (it just won’t really work with the high potential input voltage this needs), I’m using a resistor network instead of discreet resistors to make assembly easier, selected different LEDs (ones that use slightly higher current to go with the 120R network), and laid out the whole board again.

That picture up above is missing the documentation and logo layers, just to obfuscate things a bit. I may also tweak a little bit of the design, but I think I’m happy with it. It’s now 3″ x 3″ instead of the original 3″ x 2″, but that extra three square inches is needed for the power supply. Yes, there’s a bit of blank space still, but I don’t think it’s enough to make shrinking the board worthwhile. The cost difference between the previous PCBs and these is pretty much nonexistant, if I’m remembering the quote right.

I think I’m going to keep compacting the board. Hmm…

UPDATE: I just shaved a square inch off the board by bringing the top in 1/4″. LEDs were compacted a bit, logo made smaller, L2 moved, and more.

electronicsmaking thingsmoved from livejournal