Mining Platinum From The Road

For several decades now all petrol-driven motor vehicles have had to feature a catalytic converter in their exhaust systems to meet the requirements of emissions legislation. These feature a high surface area coated with platinum, palladium, and rhodium, which catalyses the high-temperature breakdown of the exhaust gasses.

When a vehicle reaches the end of its life its catalytic converter is recycled and those metals are recovered, but this recovery does not account for all the metal. [Cody Reeder] noticed that the weight of platinum in a catalytic converter taken from a scrap vehicle is significantly less than that of a new one. Some of that metal has escaped, so where has it gone?

The answer to that question is that it has become detached from the converter and blown out through the rear of the exhaust pipe. Therefore in the area around a busy highway with many thousands of cars passing there must be a reasonable concentration of platinum. The video below the break details [Cody]’s quest to verify that theory, and it opens with him and a friend sweeping dust from beside a freeway in the early hours. The resulting bags contain a lot of gravel and bits of tire, plus a few cigarette butts and a large amount of very fine dust. He sieves away the debris, and heats a sample of dust in a furnace with a flux mixture containing lead oxide. He hopes that as this oxide degrades to metallic lead it will dissolve any platinum and settle in the bottom of his crucible, and indeed when he pours out the resulting slag there is a bead of lead. Taking away the lead reveals a speck of impure platinum, which he further purifies and assays to determine the percentage of platinum and to detect the other catalyst metals.

He finally arrives at a figure of 6.7 g per ton of his fine-sifted roadside dirt “ore”, a figure which as he points out would be considered quite valuable were it to be encountered in a mine. His process might be a little difficult for individuals with sweeping brushes to hit pay dirt and a modern gold rush to descend on their local Interstate, but it’s not impossible that a highways agency equipped with sweeper trucks could have the metal extracted at a more profitable level.

Continue reading “Mining Platinum From The Road”

Learn To Program With Literate Programming

My heyday in programming was about five years ago, and I’ve really let my skills fade. I started finding myself making excuses for my lack of ability. I’d tackle harder ways to work around problems just so I wouldn’t have to code. Worst of all, I’d find myself shelving projects because I no longer enjoyed coding enough to do that portion. So I decided to put in the time and get back up to speed.

Normally, I’d get back into programming out of necessity. I’d go on a coding binge, read a lot of documentation, and cut and paste a lot of code. It works, but I’d end up with a really mixed understanding of what I did to get the working code. This time I wanted to structure my learning so I’d end up with a more, well, structured understanding.

However, there’s a problem. Programming books are universally boring. I own a really big pile of them, and that’s after I gave a bunch away. It’s not really the fault of the writer; it’s an awkward subject to teach. It usually starts off by torturing the reader with a chapter or two of painfully basic concepts with just enough arcana sprinkled in to massage a migraine into existence. Typically they also like to mention that the arcana will be demystified in another chapter. The next step is to make you play typist and transcribe a big block of code with new and interesting bits into an editor and run it. Presumably, the act of typing along leaves the reader with such a burning curiosity that the next seventeen pages of dry monologue about the thirteen lines of code are transformed into riveting prose within the reader’s mind. Maybe a structured understanding just isn’t worth it.

I wanted to find a new way to study programming. One where I could interact with the example code as I typed it. I wanted to end up with a full understanding before I pressed that run button for the first time, not after.

When I first read about literate programming, my very first instinct said: “nope, not doing that.” Donald Knuth, who is no small name in computing, proposes a new way of doing things in his Literate Programming. Rather than writing the code in the order the compiler likes to see it, write the code in the order you’d like to think about it along with a constant narrative about your thoughts while you’re developing it. The method by which he’d like people to achieve this feat is with the extensive use of macros. So, for example, a literate program would start with a section like this:

Continue reading “Learn To Program With Literate Programming”

The World’s Supply Of DB-19 Connectors

[Steve] over at Big Mess O’ Wires has a very, very niche product. It’s the Floppy Emu, a hard disk emulator for the Apple II, Lisa, and very old Macs. The Floppy Emu takes data stored on an SD card and presents it to these classic computers through a contemporary connector, the venerable DB-19. This connector is in the same family as the familiar DB-25 parallel port, DE-9 serial port and the old DA-15 joystick port, but there’s something very special about the DB-19 connector – nobody makes it anymore, and no surplus electronics store has any in stock. They’re unobtanium, and when you’re making a product built around this connector, you’re going to have a few problems.

Those problems have come to a head over the past year, but getting a few thousand DB-19 connectors manufactured has always seemed just out of reach. It would be a five-figure investment for a very niche product, and [Steve] would have to find someone to make the connectors.

The world’s shortage of DB-19 connectors is no more. After chatting up a few people in the NeXT and Atari communities, [Steve] set up a group buy and manufactured the first batch of DB-19 connectors in recent memory. The world’s supply of DB-19 connectors, all 10,000 of them, is now in [Steve]’s living room.

The process of manufacturing ten thousand DB-19 connectors actually wasn’t that hard for [Steve]. Over the past year, he’s reached out to manufacturers to get a quote, and he still had those numbers in his rolodex. The only problem was finding an engineering drawing of a DB-19 connector and transferring a large amount of money to Hong Kong. The drawing was easy enough, as datasheets sometimes last longer than the parts they describe. Transferring the money over to the manufacturer meant convincing a bank manager there is not a Nigerian prince in Hong Kong and thirty minutes of paperwork.

After a few months, a round of prototyping, and a trip through customs, the world’s supply of DB-19 connectors finally landed on [Steve]’s porch. He still needs to ship them out to the NeXT and Atari folk who participated in the group buy, but the great shortage of DB-19 connectors is over for now.

How An Amiga Graphics Business Ran In The 1990s

If you have ever used an eraser to correct a piece of pencil work, have you ever considered how much of an innovation it must have seemed when the first erasers were invented? It might seem odd to consider a centuries-old piece of stationery here on Hackaday, but there is a parallel in our own time. Digital image manipulation is such a part of everyday life these days as to have become run-of-the-mill for anyone with a mobile phone and the right app, but it’s easy to forget how recent an innovation it really is. Only a few decades ago your only chance of manipulating a photograph was to spend a lot of time in a darkroom with a photographic developer of exceptional skill, now children who have never known a world in which it wasn’t possible can manipulate their selfies with a few deft touches of the screen.

[Steve Greenfield] pointed us at a detailed description of the business he ran in the 1990s, offering digital and composite photography using an upgraded Amiga 3000.  It caught our attention as a snapshot of the state of digital image manipulation when these things still lay at the bleeding edge of what was possible.

His 3000 was highly customised from the stock machine. It featured a Phase 5 68060 accelerator board, a Cybervision 64 graphics card, a then-unimaginably-huge 128MB RAM, and an array of gigabyte-plus Fast SCSI drives.  To that he had attached a Polaroid SCSI digital camera with a then-impressive 800×600 pixel resolution. The Polaroid had no Amiga drivers, so he ran the Shapeshifter Mac emulator to capture images under the MacOS of the day. The fastest 68000-series Mac only had a 68040 which the early PowerPC Macs could only emulate, so he writes that his 68060-equipped Amiga ran the Mac software faster than any Mac at the time.

His stock-in-trade was attending sci-fi conventions and giving costumed attendees pictures with custom backgrounds, something of a doddle on such a souped-up Amiga. He writes of the shock of some Microsoft employees on discovering a 60MHz computer could run rings round their several-hundred-MHz Pentiums running Windows 95.

His business is long gone, but its website remains as a time capsule of the state of digital imagery two decades ago. The sample images are very much of their time, but for those used to today’s slicker presentation it’s worth remembering that all of this was very new indeed.

In a world dominated by a monoculture of Intel based desktop computers it’s interesting to look back to a time when there was a genuine array of choices and some of them could really compete. As a consumer at the start of the 1990s you could buy a PC or a Mac, but Commodore’s Amiga, Atari’s ST, and (if you were British) Acorn’s ARM-based Archimedes all offered alternatives with similar performance and their own special abilities. Each of those machines still has its diehard enthusiasts who will fill you in with a lengthy tale of what-if stories of greatness denied, but maybe such casualties are best viewed as an essential part of the evolutionary process. Perhaps the famous Amiga easter egg says it best, “We made Amiga …

Here at Hackaday we’ve covered quite a few Amiga topics over the years, including another look at the Amiga graphics world. It’s still a scene inspiring hardware hackers, for example with this FPGA-based Amiga GPU.

Amiga 3000 image: By [Joe Smith] [Public domain], via Wikimedia Commons.

How Does A Buck Converter Work Anyway?

[Great Scott] should win an award for quickest explanation of a buck converter. Clocking in at five and a half minutes, the video clearly shows the operating principles behind the device.

It starts off with the question, what should you do if you want to drop a voltage? Many of us know that we can dim and brighten an LED using the PWM on an Arduino, but a closer inspection with an oscilloscope still shows 5V peaks that would be dangerous to a 3.3V circuit. He then adds an inductor and diode, this keeps the current from dropping too fast, but the PWM just isn’t switching fast enough to keep the coil energized.

A small modification to the Arduino’s code, and the PWM frequency is now in the kHz range. The voltage looks pretty good on the oscilloscope, but a filter cap gets it to look nice and smooth. Lastly, he shows how when the load changes the voltage out looks different. To fix this a voltage divider feeds back the information to the Arduino, letting it change the PWM duty to match the load.

In the last minute of the video he shows how to hook up off-the-shelf switching regulators, whose support components are now completely demystified as the basic principles are understood. Video after the break.

Continue reading “How Does A Buck Converter Work Anyway?”

1575 Bottles Of Beer On The (LED) Wall

Say hello to my little friend, lovingly named Flaschen Taschen by the members of Noisebridge in San Francisco. It is a testament to their determination to drink Corona beer get more members involved in building big displays each year for the Bay Area Maker Faire. I pulled aside a couple of the builders for an interview despite their very busy booth. When you have a huge full-color display standing nine feet tall and ten feet wide it’s no surprise the booth was packed with people.

Check out the video and then join me after the break for more specifics on how they pulled this off.

Continue reading “1575 Bottles Of Beer On The (LED) Wall”

Hands-On With The BBC Micro:Bit

It’s been a long wait, but our latest single board computer for review is finally here! The BBC micro:bit, given free to every seventh-grade British child, has landed at Hackaday courtesy of a friend in the world of education. It’s been a year of false starts and delays for the project, but schools started receiving shipments just before the Easter holidays, pupils should begin lessons with them any time now, and you might even be able to buy one for yourself by the time this article goes to press.

The micro:bit top view
The micro:bit top view

It’s a rather odd proposition, to give an ARM based single board computer to coder-newbie children in the hope that they might learn something about how computers work, after all if you are used to other similar boards you might expect the learning curve involved to be rather steep. But the aim has been to position it as more of a toy than the kind of development board we might be used to, so it bears some investigation to see how much of a success that has been.

Opening the package, the micro:bit kit is rather minimalist. The board itself, a short USB lead, a battery box and a pair of AAA cells, an instruction leaflet, and the board itself.  Everything is child-sized, the micro:bit is a curved-corner PCB about 50mm by 40mm. The top of the board has a 5 by 5 square LED matrix and a pair of tactile switches, while the bottom has the surface-mount processor and other components, the micro-USB and power connectors, and a reset button. Along the bottom edge of the board is a multi-way card-edge connector for the I/O lines with an ENIG finish. On the card edge connector several contacts are brought out to wide pads for crocodile clips with through-plated holes to take 4mm banana plugs, these are the ground and 3V power lines, and 3 of the I/O lines.

Continue reading “Hands-On With The BBC Micro:Bit”