Z80 Computer Is Both Arduino And Shield

There have been plenty of Z80 computer builds here on Hackaday, but what sets them apart is what you do with them. [Andrew] writes in with his Z80 single-board computer made from scratch, using the Arduino standard headers for its I/O. In turn, since he needed an easy way to program the flash memory which holds the software to run on the Z80, he used an Arduino Mega as a debugger, making the SBC an Arduino shield itself.

Using such a common header pinout for the Z80 computer allows it to be used with a variety of readily-available Arduino shields. This compatibility is achieved with an analog-digital converter and a 3.3 V regulator, mimicking the pins found in an Arduino Uno. The code, available on GitHub, includes an extensive explanation and walkthrough over the process in which the Mega takes over the bus from the Z80 to function as a fully-featured debugger. Programs can be loaded through embedding an assembly listing into the Mega’s sketch, or, once the debugger is up you can also upload a compiled hex file through the serial connection.

This isn’t the first time [Andrew] has been featured here, and his past projects are just as interesting. If you need to translate a Soviet-era calculator’s buttons into English, hack a metallurgical microscope or even investigate what’s that Clacking Clanking Scraping Sound, he’s the one you should call.

If Coffee == True {

Having a shared coffee maker in the workplace is both a blessing and a curse. It’s nice to have constant access to coffee, but it can be frustrating to find the coffee pot emptied right as you walk in to the break room. To solve this problem in their office, [Vitort] and co. built an IOT solution that notifies everyone of the current coffee status on a Slack channel.

This project wasn’t built just as a convenience for the office, either. It makes extensive use of AWS SNS, the simple notification system from Amazon Web Services because they wanted to learn to use this technology specifically. Besides the notification system, the device itself is based on a NodeMCU/ESP8266, communicating over WiFi, and is a simple push-button design which coffee drinkers push when a fresh pot is made, and then push again when the coffee is empty.

While relatively straightforward, this project is a good one to look at if you’ve been interested in AWS at all, especially the simple notification system. It’s a pretty versatile tool, and all of the code used in the project is available on the project page for your reading pleasure. If you’re more interested in the coffee aspect of this project, we have a special coffee maker for you too.

That Retro Video Look, Without The Tapes

We’re lucky to live in an age of rapid technological advancement, lucky in more ways than one because as well as receiving a constant supply of new things, we have the benefit of the older tech that once we lusted over, at knock-down prices. [Luke Baker] spent his youth as a skateboarder, and the cameras of desire in that community were the high-end MiniDV models. They may not have high definition but their output has a Millennial aesthetic that captures the period, so he’s brought one into the 2020s by adding a digital SD card recorder designed for a multirotor to it.

On the face of it this is a pretty straightforward job of coupling an off-the-shelf recorder to a battery and the camera’s analogue output terminals. But the resulting spaghetti on what is supposed to be a portable device is hardly attractive, so he’s created an all-in-one 3D-printed enclosure that is attached to the camera’s handle with a set of cable ties. It’s shaped to fit the recorder and has a sliding lid over the battery compartment, and he’s added a handy on-off switch. Whether or not he takes it to the skate park in a bid to roll back the decades, as you can see int he video below the break it’s a well-executed piece of work that should serve to remind that there’s still life in some of this easily-available old tech if you’re prepared for a bit of lateral thinking.

This isn’t the first vintage video hack we’ve seen, back in 2016 we were treated to the grainy period feel of a vintage 8mm camera through the eye of a Raspberry Pi.

Continue reading “That Retro Video Look, Without The Tapes”

An 8085 Retrocomputer From The Heart

The world of 8-bit retrocomputing splits easily into tribes classified by their choice of processor. There are 6809 enthusiasts, 6502 diehards, and Z80 lovers, each sharing a bond to their particular platform that often threads back through time to whatever was the first microcomputer they worked with. Here it’s the Z80 as found in the Sinclair ZX81, but for you it might be the 6502 from an Apple ][. For [Craig Andrews] it’s the 8085, and after many years away from the processor he’s finally been able to return to it and recreate his first ever design using it. The SBC-85 is not wire-wrapped as the original was, instead he’s well on the way to creating an entire ecosystem based around an edge-connector backplane.

The CPU board is an entire computer in its own right as can be seen in the video below the break, and pairs the 8085 with 8k of RAM, a couple of 2732 4k EPROMs, and an 8155 interface chip. This last component is especially versatile, providing an address latch, timer, I/O ports, and even an extra 256 bytes of RAM. Finally there is some glue logic and a MAX232 level shifter for a serial port, with no UART needed since the 8085 has one built-in. The minimal computer capable with this board can thus be slimmed down significantly, something that competing processors of the mid 1970s often struggled with.

Craig’s web site is shaping up to be a fascinating resource for 8085 enthusiasts, and so far the system sports that backplane and a bus monitor card. We don’t see much of the 8085 here at Hackaday, perhaps because it wasn’t the driver for any of the popular 8-bit home computers. But it’s an architecture that many readers will find familiar due to its 8080 heritage, and could certainly be found in many control applications before the widespread adoption of dedicated microcontrollers. It would be interesting to see where Craig takes this next, with more cards, and perhaps making a rival to the RC2014 over in Z80 country.

Continue reading “An 8085 Retrocomputer From The Heart”

A Calculator In 2020?

This week, Al Williams wrote up an article on what might be the last scientific calculator. Back in the day, the fanciest of scientific calculators had not just sin, cos, and tan, but were also programmable so that you could code in frequently used formulae. And the calculator that he reviews is certainly powerful: with a screen, processor, and memory almost rivalling a mid-scale smartphone.

Wait a minute! “Almost”? I have a smartphone in my pocket right now. Why would I want something less powerful, when all that the calculator brings to the table is a bit of software? And that app can even be purchased for $20!

I’ll confess. I want a proper desktop calculator from time to time. But why? Sure, I can run calculations on the very computer that I’m using to type right now. And in terms of programming languages, the resources are far superior on my laptop. Unit conversions? Units, or the Interwebs. Heck, I can even type calculations directly into the Unix world’s default editor.

But there’s something nice about the single-purpose device. Maybe it’s the feel of the keys. Maybe it’s because it doesn’t require a context-switch on the computer. Maybe it’s irrational calculator nostalgia. Or maybe it’s an elegant tool from a more civilized age: the user experience is better because the tool is just simpler.

I like stand-alone devices that do their one thing right, and I almost always pick them over their more complex, if also more capable, counterparts when I only need that function. The fixed wrench over the adjustable wrench. The standalone audio recorder over my computer’s software. The simple bench power supply over the programmable. And, when I’m actually setting out to take good photos, a real camera instead of my cell phone’s. Purpose-built tools tend to work much better for their purpose than devices that try to do everything.

The days of the standalone calculator are nearly gone, though, so what am I going to do? I’m certainly not going to shell out megabucks for an overly-fancy calculator, nor am I going to be lured by nostalgia into picking up an antique at the ridiculous prices they fetch online. That leaves one option, and it’s both the Hackaday and the Jedi way. I’m going to have to build it myself. Where am I going to get a nice-feeling numeric keypad?

This article is part of the Hackaday.com newsletter, delivered every seven days for each of the last 210 weeks or so. It also includes our favorite articles from the last seven days that you can see on the web version of the newsletter.

Want this type of article to hit your inbox every Friday morning? You should sign up!

Vanquish Your Foes With Lego Playing Card Machine Gun

There was something exceptionally satisfying about those playground games of cops and robbers when we were young, but they were missing something in that a pretend gun made with your fingers lacks a certain Je ne sais quoi. Our youthful blood-lust demanded something a bit more real, and though the likes of NERF and other toys could supply it their lost projectiles came at a price not all parents could sustain. We’d have given anything for [Brick Experiment Channel]’s rapid-firing Lego playing card gun! (Video, embedded below.)

The principle is simple enough, one of the larger Lego road wheels is spun up to a respectable speed through a gear train from a pair of motors, it’s positioned over a channel through which playing cards are fed, and it picks each one up and accelerates it to a claimed 20 miles per hour. The card is fired off into the distance, ready to take down your Lego figure or plastic drinking cup enemies with maximum prejudice.

It’s clear some significant thought has gone into the firing platform design, with the cards sliding along smooth rails and the wheel sitting in a gap between the rails so that the natural springiness of the card can engage with it. The cards also emerge with a spin, due to the wheel being offset. The mechanism is completed with a third motor which acts as a feeder pushing individual cards from the deck into the main firing platform. This achieves an astonishing six cards per second, as can be seen in the video below the break.

We can see that this is a huge amount of fun, and we hope should any youngsters get their hands on it that there are not lurid tales of kids with playing card injuries. It’s not the first novelty projectile gun we’ve brought you, there have been numerous rubber band guns but our favourite is the automatic paper plane folder and launcher.

Continue reading “Vanquish Your Foes With Lego Playing Card Machine Gun”

A Super-Brain For An E-bike

There’s no better way of improving a project than logging data to make informed decisions on future improvements. When it came to [Brian]’s latest project, an electric bike, he wanted to get as much data as he could from the time he turned it on until the time he was finished riding. He turned to a custom pyBoard-based device (and wrote it up on Hackaday.io), but made it stackable in order to get as much information from his bike as possible.

This isn’t so much an ebike project as it is about a microcontroller platform that can be used as a general purpose device. All of the bike’s controls flow through this device as a logic layer, so everything that can possibly be logged is logged, including the status of the motor and battery at any given moment. This could be used for virtually any project, and the modular nature means that you could scale it up or down based on your specific needs. The device is based on an ARM microcontroller so it has plenty of power, too.

While the microcontroller part is exceptionally useful ([Brian] talks about some of its other uses here and gives us even more data on his personal webpage), we shouldn’t miss the incredible bike that [Brian] built either. It has a 3 kW rear hub motor and can reach speeds of around 60 mph. While we let the commenters below hash out the classic argument of “bicycle vs. motorcyle” we’ll be checking out some electric vehicles that are neither.