Z80, CP/M, And FAT File Formats

[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.

What Is The Matrix…Clock?

We’re surprised we haven’t seen this kind of clock before, or maybe we have, but forgot about it in the dark filing cabinets of our minds. The above picture of [danjhamer’s] Matrix Clock doesn’t quite do it justice, because this is a clock that doesn’t just tick away and idly update the minutes/hours.

matrix clock

Instead, a familiar Matrix-esque rain animation swoops in from above, exchanging old numbers for new. For the most part, the build is what you would expect: a 16×8 LED Matrix display driven by a TLC5920 LED driver, with an Arduino that uses a DS1307 RTC (real-time clock) with a coin cell battery to keep track of time when not powered through USB. [danjhamer] has also created a 3D-printed enclosure as well as added a piezo speaker to allow the clock to chime off customizable musical alarms.

You can find schematics and other details on his Hackaday.io project page, but first, swing down below the jump to see more of the clock’s simple but awesome animations.

Continue reading “What Is The Matrix…Clock?”

PuzzleBox

Captain Hermano’s Mystery Box Is Full Of Puzzles

[Raffi] needed a birthday present idea but he wanted to do something extra special. He realized that a big part of gift giving is the anticipation and excitement of opening the present. In order to prolong this experience, [Raffi] built an electronic puzzle box. The box contains the final gift, but first a series of puzzles must be solved in order to open the box.

The project runs on an Arduino Mega. This is hooked up to several sensors, including a temperature sensor, GPS unit, and CO sensor. There is also an LCD screen and numeric keypad for user input and output. The project page contains a flow chart that shows all of the puzzles and their solutions. One of the more interesting puzzles requires the user to blow tobacco smoke into a tube. The CO sensor detects the smoke and unlocks the next puzzle.

Some of the puzzles require interacting with outside systems. For example, one puzzle requires the user to send an email to the fictional Captain Hermano’s email address. If the correct keyword is included in the email, the user will receive a reply with the code to enter into the box. Another puzzle requires the user to call a particular phone number and listen for another riddle. We’ve included the video demonstration below.

This isn’t the first puzzle box we’ve seen, but each one has its own special flair. This one is very well made and looks like a lot of care was put into it. We’ve seen another that uses only discrete components. We’ve seen yet another that uses Morse code. Continue reading “Captain Hermano’s Mystery Box Is Full Of Puzzles”

arduino server

Turn On Your Computer From Anywhere With An Arduino Server

Unless you live off-the-grid and have abundant free electricity, leaving your rig on while you go away on trips is hardly economic. So if you’re like [Josh Forwood] and you happen to use a remote desktop client all the time while on the road,  you might be interested in this little hack he threw together. It’s a remote Power-On-PC from anywhere device.

It’s actually incredibly simple. Just one Arduino. He’s piggybacking off of the excellent Teleduino software by [Nathan] who actually gave him a hand manipulating it for his purpose. The Arduino runs as a low-power server which allows [Josh] to access it via a secure website login. From there, he can send a WOL packet to his various computers to wake them up.

The system is working so well, he’s set it up with all his roommates’ computers as well, giving each their own login information on the Arduino’s page to allow them to access their own computer. Not a patient fellow, he also wanted a way to tell when his desktop would be ready to access…

Continue reading “Turn On Your Computer From Anywhere With An Arduino Server”

Coffee payment system

Coffee Payment System Doesn’t Void Your Warranty

[Oliver] is back with an update to his recent coffee maker hacks. His latest hack allowed him to add a coffee payment system to an off-the-shelf coffee maker without modifying the coffee maker itself. This project is an update to his previous adventures in coffee maker hacking which logged who was using up all of the coffee.

The payment system begins with an Arduino Uno clone inside of a small project enclosure. The Arduino communicates with the coffee maker via serial using the coffee maker’s service port. This port is easily available from outside the machine, so you won’t have to crack open the case and risk voiding your warranty.

The system also includes an RFID reader and a Bluetooth module. The RFID reader allows each user to have their own identification card. The user can swipe their card over the reader and the system knows how many credits are left in their account. If they have enough credit, the machine will pour a delicious cup of coffee.

The Arduino communicates to an Android phone using the Bluetooth module. [Oliver’s] Android app was built using MIT’s app inventor. It keeps track of the account credits and allows the user to add more. The system can currently keep track of up to forty accounts. [Oliver] also mentions that you can use any Bluetooth terminal program to control the system instead of a smart phone app. Continue reading “Coffee Payment System Doesn’t Void Your Warranty”

Secret Attic Library Door

We have a pretty good guess where [Krizbleen] hides away any seasonal presents for his family: behind his shiny new secret library door. An experienced woodworker, [Krizbleen] was in the process of finishing the attic in his home when he decided to take advantage of the chimney’s otherwise annoying placement in front of his soon-to-be office. He built a false wall in front of the central chimney obstacle and placed a TV in the middle of the wall (directly in front of the chimney) flanked on either side by a bookcase.

If you touch the secret book or knock out the secret sequence, however, the right-side bookcase slides gently out of the way to reveal [Krizbleen’s] home office. Behind the scenes, a heavy duty linear actuator pushes or pulls the door as necessary, onto which [Krizbleen] expertly mounted the bookcase with some 2″ caster wheels. The actuator expects +24V or -24V to send it moving in one of its two directions, so the Arduino Uno needed a couple of relays to handle the voltage difference.

The effort spent here was immense, but the result is seamless. After borrowing a knock-detection script and hooking up a secondary access button concealed in a book, [Krizbleen] had the secret door he’d always wanted: albeit maybe a bit slow to open and close. You can see a video of its operation below.

Continue reading “Secret Attic Library Door”

Capacitive Christmas Organ With Living Lenses Of Slappable Light

We’ve seen capacitive touch organs manifest in pumpkin form. Though they are a neat idea, there’s something about groping a bunch of gourds that stirs a feeling of mild discomfort every time I play one. [mcreed] probably felt the same way and thus created this light-up Jello organ, so he can jiggle-slap Christmas carols, removing any sense of doubt that touching food to play music is weird…

This take on the capacitive tone producing instrument makes clever use of the transparent properties of Jello as well as its trademark wiggling. [mcreed] fills several small mold forms with festively colored strawberry and lime mix. One end of a wire connection is submerged in the liquid of each cup before it has a chance to solidify along with a bright LED. Once chilled and hardened, the gelatinous mass acts as a giant light emitting contact pad. An Arduino is the micro-controller used for the brain, assigning each Jello shape with a corresponding note. By holding onto a grounding wire and completing the acting circuit, one can play songs on the Jello by poking, spanking, or grazing the mounds.

Though I’m not entirely sure if the video is Jello propaganda or not, the idea is applaudable. I prompt anyone to come up with a more absurd item to use for a capacitive organ (zucchinis have already been done).

Continue reading “Capacitive Christmas Organ With Living Lenses Of Slappable Light”