Protoboard Z80 Computer Teaches The Basics

As curious people, we’re all incredibly fortunate to live in an age where information can so easily be obtained. If you want to learn how something works, from a cotton gin to an RBMK reactor, you’re just a few keystrokes away from articles, diagrams, and videos on the subject. But as helpful as all of that information can be, we also know that there’s no substitute for hands-on experience.

While we can’t recommend you try building a miniature graphite-moderated nuclear reactor, there’s plenty of other devices that you can study by constructing your own functioning model. For example, when [Jorisclayton] wanted to really know what was going on inside a computer, they decided to go back to basics and build their own Z80 machine. To maximize the experience, they skipped any of the existing kit designs and instead wired the whole thing up by hand across a few perfboards.

The main board contains a 4 MHz Z80 processor, paired with 32K ROM and 64K RAM. Here you’ll also find the clock generator, I/O decoder, serial port, voltage regulator, and a trio of expansion slots that use a long strip of 2.54 mm pin headers as the interface. In the first expansion slot you’ve got a primordial “graphics card” based around the TMS9918 video display controller (VDC) and 16K of additional RAM. The second expansion card has a CompactFlash reader and an LED array mapped to I/O address 0x00h so it can be used for various notifications.

[Jorisclayton] says the final expansion board is still being worked on, but the idea is for it to handle user input through a PS/2 keyboard connector, as well as provide ports for a pair of Super Nintendo (or compatible) controllers. Everything is held together with a minimalist 3D printed frame to show off all that careful soldering.

Obviously there’s no PCB design files to share for this one, but [Jorisclayton] has posted a schematic for wiring everything up if you’re looking for resources to build your own Z80 computer. Sure the chips themselves might no longer be in production, but that doesn’t mean this venerable CPU is going anywhere just yet.

Hackaday Podcast Episode 270: A Cluster Of Microcontrollers, A Rocket Engine From Scratch, And A Look Inside Voyager

Join Hackaday Editors Elliot Williams and Tom Nardi as they get excited over the pocket-sized possibilities of the recently announced 2024 Business Card Challenge, and once again discuss their picks for the most interesting stories and hacks from the last week. There’s cheap microcontrollers in highly parallel applications, a library that can easily unlock the world of Bluetooth input devices in your next project, some gorgeous custom flight simulator buttons that would class up any front panel, and an incredible behind the scenes look at how a New Space company designs a rocket engine from the ground up.

Stick around to hear about the latest 3D printed gadget that all the cool kids are fidgeting around with, a brain-computer interface development board for the Arduino, and a WWII-era lesson on how NOT to use hand tools. Finally, learn how veteran Hackaday writer Dan Maloney might have inadvertently kicked off a community effort to digitize rare documentation for NASA’s Voyager spacecraft.

Check out the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Download your very own copy of the podcast right about here.

Continue reading “Hackaday Podcast Episode 270: A Cluster Of Microcontrollers, A Rocket Engine From Scratch, And A Look Inside Voyager”

Reflecting On The State Of Game Boy Emulation In 2024

Considering the decades that have passed since Nintendo’s Game Boy was considered the state-of-the-art in mobile gaming, you’d imagine that the community would have pretty much perfected the emulation of the legendary family of handhelds — and on the whole, you’d be right. Today, you can get open source emulators for your computer or even smartphone that can play the vast majority of games that were released between the introduction of the original DMG-1 “brick” Game Boy in 1989 through to the final games published for the Game Boy Advance in the early 2000s.

But not all of them. While all the big name games are handled at this point, there’s still a number of obscure titles (not all of which are games) that require specialized hardware accessories to properly function. To bring the community up to speed on where work is still required, [Shonumi] recently provided a rundown on the emulation status of every commercial Game Boy accessory.

Continue reading “Reflecting On The State Of Game Boy Emulation In 2024”

Fully 3D Printed Case Is Stacked High With Mini PCs

Over the years we’ve seen no shortage of 3D printed cases designed to hold several Raspberry Pi computers, often with the intent to use them as convenient desktop-sized platforms for experimenting with concepts such as server load balancing and redundancy.

The reason the Pi was always the star of the show is simple enough to explain: they were small and cheap. But while the Pi has only gotten more expensive over the years, x86 machines have gotten smaller and cheaper. Which is how a project like the N100 Obelisk was born.

Continue reading “Fully 3D Printed Case Is Stacked High With Mini PCs”

ArdEEG Lowers The Cost Of Brain-Computer Interfaces

Considering the incredible potential offered by brain-computer interfaces (BCIs), it’s no wonder there are so many companies scrambling to make their mark in the field. Some see it as an assistive technology, while others imagine it as the future of interactive entertainment. Regardless of the application, the technology has yet to make much inroads with the DIY crowd — largely due to the complexity and cost of the hardware involved.

But that might change in the near future thanks to projects like ardEEG from [Ildar Rakhmatulin]. This open source shield mounts to the top of the Arduino UNO R4 WiFi and features eight channels for collecting electroencephalogram (EEG) data, such as from a dry electrode cap. The signals can then be processed on the computer using the provided Python example code. From there, the raw data can be visualized or plugged into whatever application you have in mind.

Why target the relatively uncommon WiFi version of the Uno? It’s probably obvious for those with experience with this kind of hardware, but for safety, the system needs complete electrical isolation. The Arduino and shield are powered by a common USB battery bank, and all communication is done over WiFi. Even still, the documentation is clear that the ardEEG is not a medical device, and hasn’t been certified by any regulatory agency — its use is entirely at your own risk.

[Ildar] tells us the hardware will be available soon and should cost under $250, making it one of the most affordable BCI development platforms out there. As with his earlier PiEEG project, the hope is that basing the system around a common device in the hacker and maker scene will help democratize access to BCI research.

Continue reading “ArdEEG Lowers The Cost Of Brain-Computer Interfaces”

Bluepad32 Brings All The Controllers To Your MCU

As much as we enjoy spinning up our own solutions, there are times when you’ve got to look at what’s on the market and realize you might be out of your league. For example, take Bluetooth game controllers. Sure, you could make your own with a microcontroller, some buttons, and a couple joysticks. But between the major players like Microsoft, Nintendo, and Sony, as well as independent peripheral companies like 8BitDo, there’s some seriously impressive hardware out there that can be easily repurposed.

How, you ask? Well, Bluepad32 by [Ricardo Quesada] would be a great place to start. This Apache v2.0 licensed project allows you to easily interface with a wide array of commercially available BT controllers, and supports an impressive number of software and hardware platforms. Using the Arduino IDE on the ESP32? No problem. CircuitPython on Adafruit’s PyPortal? Supported. There’s even example code provided for using it on Linux and Mac OS. Sorry Windows fans — perhaps there’s a sassy paperclip or sentient dog built into your OS that can instruct you further.

A few of the controllers supported by Bluepad32.

The nature of the Bluetooth Human Interface Device (HID) protocol means that, at least in theory, pretty much all modern devices should be supported by Bluepad32 automatically. But even still, it’s hard not to be impressed by the official controller compatibility list. There’s also separate lists for Bluetooth mice and keyboards that are known to work with the project.

While it’s somewhat unlikely to be a problem in this particular community, there is an unusual quirk to this project which we think should at least be mentioned. Although Bluepad32 itself is free and open source software (FOSS), it depends on the BTstack library, which in turn uses a more ambiguous licensing scheme. BTstack is “open” in the sense that you can see the source code and implement it in your own projects, but its custom license precludes commercial use. If you want to use BTstack (and by extension, Bluepad32) in a commercial product, you need to contact the developers and discuss terms.

License gotchas aside, Bluepad32 is definitely a project to keep in the back of your mind for the future. You can always build your own controller if you’re looking a challenge, but you’ll have a hell of a time beating the decades of testing and development Sony has put into theirs.

2024 Home Sweet Home Automation: The Winners Are In

Home automation is huge right now in consumer electronics, but despite the wide availability of products on the market, hackers and makers are still spinning up their own solutions. It could be because their situations are unique enough that commercial offerings wouldn’t cut it, or perhaps they know how cheaply many automation tasks can be implemented with today’s microcontrollers. Still others go the DIY route because they’re worried about the privacy implications of pushing such a system into the cloud.

Seeing how many of you were out there brewing bespoke automation setups gave us the idea for this year’s Home Sweet Home Automation contest, which just wrapped up last week. We received more than 80 entries for this one, and the competition was fierce. Judging these contests is always exceptionally difficult, as nearly every entry is a standout accomplishment in its own way.

But the judges forged ahead valiantly, and we now have the top three projects which will be receiving $150 in store credit from the folks at DigiKey.

Continue reading “2024 Home Sweet Home Automation: The Winners Are In”