The KIM-1 was the first computer to use the 6502, a CPU that would later be found in the Apple, Ataris, Commodores, and the Nintendo Entertainment System. Being the first, the KIM-1 didn’t actually do a whole lot with only 1k of ROM and a bit more than 1k of RAM. This is great news for anyone with an Arduino; you can easily replicate an entire KIM-1, with a keypad and 7-segment display. That’s what [Scott] did, and he put it in an enclosure that would look right at home in a late 70s engineering lab.
The impetus for this build was [Scott]’s discovery of the KIM-Uno, a kit clone of the KIM-1 using an Arduino Pro Mini. The kit should arrive in a few weeks, so until then he decided to see if he could cobble one together with parts he had sitting around.
Inside a handheld industrial enclosure is an Arduino Uno, with a protoshield connecting the keypad and display. The display is an 11-digit, seven-segment display [Scott] picked up at a surplus shop, and the metal dome keypad came from a hamfest.
Getting the software working took a bit of work, but the most important parts are just modifications to the standard Arduino libraries.
Now that [Scott] has a KIM-1 replica, he can program this virtual 6502 one hex digit at a time, run Microchess, or use the entire thing as a programmable calculator.
Punch cards were a standard form of program and data storage for decades, but you’d never know it by looking around today. Card punches and even readers are becoming rare and expensive. Sometimes it takes a bit of hacking [YouTube link] to get that old iron running again!
[Antiquekid3] managed to score an old punch card reader on Ebay, but didn’t have a way to interface with it. The reader turned out to be a Documation M-1000-L. After a bit of searching, [Antiquekid3] managed to find the manual [PDF link] on BitSavers. It turns out that the Documation reader used a discrete output for each row of data. One would think the Documation reader would be a perfect fit for the PDP-8 lurking in the background of [Antiquekid3’s] video, but unfortunately the ‘8 lacks the necessary OMNIBUS card to interface with a reader.
Undaunted, [Antiquekid3] threw some modern hardware into the mix, and used an Arduino Uno as a Documation to Serial interface. The Arduino had plenty of I/O to wire up with the card reader’s interface. It also had a serial interface which made outputting data a snap. The ATmega328 even had enough power to translate each card from one of IBM’s many keypunch formats to serial.
[Antiquekid3’s] test deck of cards turned out to be a floating point data set. Plotting the data with a spreadsheet results in a nice linear set of data points. Of course, no one knows what the data is supposed to mean! Want more punch card goodness? Check out this tweeting punch card reader, or this Arduino based reader which uses LEGO and a digital camera to coax the data from the paper.
Continue reading “Arduino Reads Punch Cards”
[Travis] tells us about a neat actuator concept that’s as old as dirt. It’s capable of lifting 7kg when powered by a pager motor, and the only real component is a piece of string.
The concept behind the twisted string actuator, as it’s known to academia, is as simple as putting a motor on one end of a piece of string, tying the other end off to a load, and putting a few twists in the string. It’s an amazingly simple concept that has been known and used for thousands of years: ballistas and bow-string fire starters use the same theory.
Although the concept of a twisted string actuator is intuitively known by anyone over the age of six, there aren’t many studies and even fewer projects that use this extremely high gear ratio, low power, and very cheap form of linear motion. A study from 2012 (PDF) put some empirical data behind this simple device. The takeaway from this study is that tension on the string doesn’t matter, and more strands or larger diameter strands means the actuator shrinks with a fewer number of turns. Fewer strands and smaller diameter strands take more turns to shrink to the same length.
As for useful applications of these twisted string actuators, there are a few projects that have used these systems in anthropomorphic hands and elbows. No surprise there, really; strings don’t take up much space, and they work just like muscles and tendons do in the human body.
Thanks [ar0cketman] for the link.
If you haven’t been watching The Dinosaur Den, shame on you. This joint enterprise between [Fran Blanche] and our very own [Bil Herd] premiered in July and it is, simply put, the duck’s guts. In spite of being introduced to each other just a few months before the first episode, they banter like old friends. When they’re not riffing off each other, they’re giving a show and tell of all kinds of vintage technology. Most importantly, they’re always wearing really cool t-shirts.
Hot on the heels of their excellent holiday special comes this Best of the Dinosaur Den 2014 highlight reel. Some of our favorite bits are from said holiday special, because they spent the whole hour talking about their best-loved toys from holidays past, most of which started them on their paths to greatness. Come for the t-shirts, stay for the Zaxxon tabletop arcade and the toy that probably inspired LittleBits. Check out the best-of after the break, and then cook a Hot Pocket or something and watch them all. You’re pretty much guaranteed to learn something cool and/or useful.
Continue reading “Best of the Dinosaur Den 2014″
There are hackers who have soldering setups on the dining room table, and then there are hackers who have scanning electron microscopes in their living room. [Macona] is part of the latter group, with a Hitachi S-450 SEM he’s repaired and modified himself. [Macona] has documented the whole thing on Hackaday.io. The Hitachi came to him and a friend as a derelict. First it was broken, then stored for 10 years. It turned out the problem was a high voltage cable cut and spliced with electrical tape. The tape eventually broke down and shorted out the 500V supply. Thankfully the rectifier diodes were the only parts that needed to be replaced.
The SEM sprang to life and gave [Macona] and a friend their first images. However, SEMs are finicky beasts. Eventually the filament burned out and needed to be replaced. New filaments are $500 US for a box of 10, which is more than [Macona] wanted to spend. It turns out filaments can be built at home. A bit of .089mm tungsten wire and a spot welder were all it took to fix the issue. Next to go bad was the scan amplifier. While SEMs use many exotic parts, the Hitachi used relatively common Sanyo STK070 audio amplifiers for the purpose – an easy fix!
One thing that makes this SEM unique is the is Energy Dispersive X-Ray Spectroscopy (EDX) unit attached to it. The fragile liquid nitrogen cooled sensor was working, but the 1980’s era signal processing computer was a bit too old to bring up. A friend and fellow SEM hobbiest gave [Macona] a slightly newer Kevex Sigma Gold signal processor, which was nearly a plug and play upgrade for his machine. The new processor processor also gave him digital beam controls and a digital output which could be used to capture images with a PC.
Once all the connections were made, the EDX worked surprisingly well, even finding gold in a uranium ore sample placed in the microscope.
Now that old scanning electron microscopes being retired, it’s only a matter of time before more us get a chance to join the ranks of [Jeri Ellsworth], [Ben Krasnow] and [Macona] with our own personal SEMs!
Game Boys may be old tech, but they still provide challenges to modern hackers. [Dhole] has come up with a cartridge emulator which uses an STMicroelectronics STM32F4 discovery board to do all the work. Until now, most flash cartridges used programmable logic devices, either CPLDs or FPGAs to handle the high-speed logic requirements. [Alex] proved that a microcontroller could emulate a cartridge by using an Arduino to display the “Nintendo” Game Boy boot logo. The Arduino wasn’t fast enough to actually handle high-speed accesses required for game play.
[Dhole] kicked the speed up by moving to the ARM Cortex-M4 based 168 MHz STM32F4. The F4’s 70 GPIO pins can run via internal peripherals at up to 100MHz, which is plenty to handle the 1MHz clock speed of the Game Boy’s bus. Logic levels are an issue, as the STM32 uses 3.3V logic while the Game Boy is a 5V device. Thankfully the STM32’s inputs are 5V tolerant, so things worked just fine.
Simple Game Boy cartridges like Tetris were able to directly map a ROM device into the Game Boys memory space. More complex titles used Memory Block Controller (MBC) chips to map sections of ROM and perform other duties. There were several MBC chips used for various titles, but [Dhole] can emulate MBC1, which is compatible with the largest code base.
One of the coolest tricks [Dhole] implemented was displaying a custom boot logo. The Game Boy used the “Nintendo” logo as a method of copyright protection. If a cartridge didn’t have the logo, the Game Boy wouldn’t run. The logo is actually read twice – once to check the copyright info, and once to display it on the screen. By telling the emulator to change the data available at those addresses after the first read, any graphic can be displayed.
If you’re wondering what a cartridge emulator would be useful for (other than pirating games), you should check out [Jeff Frohwein’s] Gameboy Dev page! [Jeff] has been involved in Game Boy development since the early days. There are literally decades of demos and homebrew games out there for the Game Boy and various derivatives. .
Continue reading “Game Boy Cartridge Emulator Uses STM32″
[Gary Kildall] and CP/M are the great ‘also ran’ of the computing world; CP/M could run on thousands of different 1980s computers, and [Gary] saw a few million in revenue each year thanks to CP/M’s popularity. Microsoft, DOS, and circumstances have relegated [Kildall] and CP/M to a rather long footnote in the history of microcomputers, but that doesn’t mean CP/M is completely dead yet. [Marcelo] wrote a Z80 emulator running CP/M inside an Arduino Due, and he did it in such a way that it’s actually convenient and useful to use.
Instead of using CP/M disk images, [Marcelo]’s emulator emulates CP/M disk drives on top of a regular FAT file system. Drives are mapped to folders in the FAT file system, so a folder named ‘A’ will show up as the A: disk in CP/M. Drives up to P: are supported, the maximum number of drives available under CP/M. The BIOS resides in the root directory of the SD card, and so far Microsoft Basic, Turbo Pascal, UCD Micromumps, and Wordstar work just fine.
The Arduino project was built upon one of [Marcelo]’s earlier projects that put the CP/M emulator on Windows. The version for the Due works exactly how you think it would, with a serial connection and terminal emulator providing the IO, and the huge amount of processing power and RAM available on the Due doing all the heavy lifting.