A sequence of pictures with arrows between each other. This picture shows a Wokwi (Fritzing-like) diagram with logic gates, going to a chip shot, going to a panel of chipsGA footprint on a KiCad PCB render with DIP switches and LEDs around the breakout. Under the sequence, it says: "Tiny Tapeout! Demystifying microchip design and manufacture"

Design Your Own Chip With TinyTapeout

When hackers found and developed ways to order PCBs on the cheap, it revolutionized the way we create. Accessible 3D printing brought us entire new areas to create things. [Matt Venn] is one of the people at the forefront of hackers designing our own silicon, and we’ve covered plenty of his research over the years. His latest effort to involve the hacker community, TinyTapeout, makes chip design accessible to newcomers – the bar is as low as arranging logic gates on a web browser page.

Six chip shots shown, with various densities of gates being used - some use a little, and some use a the entire area given.
Just six of the designs submitted, with varying complexity

For this, [Matt] worked with people like [Uri Shaked] of Wokwi fame, [Sylvain “tnt” Munaut], [jix], and a few others. Together, they created all the tooling necessary, and most importantly, a pipeline where your logic gate-based design in Wokwi gets compiled into a block ready to be put into silicon, with even simulations and compile-time verification for common mistakes. As a result, the design process is remarkably straightforward, to the point where a 9-year-old kid can do it. If you wanted, you could submit your Verilog, too!

The first round of TinyTapeout had a deadline in the first days of September and brought 152 entries together – just in time for an Efabless shuttle submission. All of these designs were put on a single instance of a chip, that will be fabbed in quantity, tested, soldered onto breakouts, and mailed out to individual participants. In this way, everyone will be getting everyone’s design, but thanks to the on-chip muxing hardware, they’re able to switch between designs using on-breakout DIP switches.

More after the break…

Continue reading “Design Your Own Chip With TinyTapeout”

Protected Mode On A Z80! (Almost)

The microprocessor feature which probably most enables the computing experience we take for granted today is protected mode. A chip with the required hardware can run individual software processes in their own environments, enabling multitasking and isolation between processes. Older CPUs lacked this feature, meaning that all the resources were available to all software. [Andy Hu] has done the seemingly impossible with a Zilog Z80, enabling a protected mode on the chip for the first time in over four decades. Has he found an elusive undocumented piece of silicon missed by every other researcher? Not quite, but it is a clever hack.

The Z80 has two address spaces, one for memory and the other for I/O. He’s taken the I/O request line and fed it through a flip-flop and some logic to call a hardware interrupt the first time an I/O call is made or when a RST instruction is executed. Coupled with a small piece of memory for register contents, and he’s made a Z80 with a fully-functional protected mode, for the cost of a few logic chips. It’s explained in the video below the break, and we hope you agree that it’s rather elegant given the resources in hand. It’s too late for the commercial 8-bit machines of the past, but it would be interesting to see what today’s retrocomputer designers make of it.

Continue reading “Protected Mode On A Z80! (Almost)”

DIY Heat-Set Insert Press Says Complicated = Comfort

Heat-set inserts are a great way to embed mechanically-strong, threaded parts into a 3D print. For installation, all that is required is an economical soldering iron; something most of us already have.

The carriage and counterweight use a v-wheel gantry, GT2 belt, and other common hardware.

That’s fine for a handful of occasional inserts, but when a large number need to be inserted reliably and cleanly, something a little more refined is called for. That’s where [virchow]’s threaded insert press design comes in. It adds 3D-printed parts to an aluminum extrusion frame to create a press that smoothly lowers a soldering iron directly up and down, with minimal effort by the user.

The holder for the soldering iron is mounted to a small v-wheel gantry that rides along the vertical extrusion. The gantry features a counterweight to take care of resetting the position of the iron. [Virchow] admits that the design could be considered unnecessarily complicated (hence the “UC” in the name) but on the other hand, there’s nothing like doing a hundred or so inserts to make one appreciate every bit of comfort and stability.

Heat-set inserts aren’t difficult to use, but a little technique goes a long way. Spend a few minutes reading Joshua Vasquez’s guide on the optimal way to use them in 3D-printed parts to make sure yours not only go in straight but end up looking great as well.

ERRF 22: Baby Belt Promises Infinite Z For Under $200

Hackaday has been reporting on belt printers for around a decade now, since MakerBot released (and then quickly pulled) an automated build platform for their very first Cupcake printer. Turns out that not only has the concept been difficult to pull off from a technical perspective, but a murky patent situation made it tricky for anyone who wanted to bring their own versions to market. For a long time they seemed like the fusion reactors of desktop 3D printing — a technology that remains perennially just outside of our grasp.

But finally, things have changed. The software has matured, and there are now several commercial belt printers on the market. The trick now, as it once was for traditional desktop 3D printing, is to bring the costs down. Enter the Baby Belt, created by [Rob Mink]. This open-source belt printer relies on light-duty components and a largely 3D printed structure to get the price point down, though some will find its diminutive dimensions a bit too limiting…even if one of its axes is technically infinite.

If you’ve already got a printer and filament to burn, [Rob] is selling the part kit for just $130 USD. But even if you opt for the full ready-to-build kit, it will only set you back $180. Considering even the cheapest belt printers on the market now have a sticker price of more than $500, that’s an impressive accomplishment.

Of course, it’s hard to compare the Baby Belt with anything else on the market. For one thing, save for a few metal rods, its frame is made almost entirely from 3D-printed parts. Rather than the NEMA 17 stepper motors that are standard on even the cheapest of traditional desktop 3D printers, this little fellow is running on the dinky 28BYJ-48 steppers that you’d expect to find in a cheap toy. Then again, considering the printer only offers 85 x 86 mm in the X and Y axis, the structure and motors don’t exactly need to be top of the line.

What really sets this machine apart is the belt — while we’ve seen other makers go all out with their belt material, [Rob] has come up with an impressively low-tech solution. It’s a simple stack-up of construction paper, carpet tape, and fabric that you could probably put together with what you’ve got laying around the house right now.

Between that outer cloth layer and the printed frame, the Baby Belt offers a lot of room for customization, something which was on clear display at the 2022 East Coast RepRap Festival. The machines dotted several tables on the show floor, and you could tell their builders had a lot of fun making each one their own

Continue reading “ERRF 22: Baby Belt Promises Infinite Z For Under $200”

Building A Local Network With LoRaWAN

At its core, the Internet is really just a bunch of computers networked together. There’s no reason that there can’t be other separate networks of computers, or that we all have to tie every computer we have to The One Internet To Rule Them All. In fact, for a lot of embedded systems, it doesn’t make much sense to give them a full network stack and Cat6e Ethernet just to report a few details about themselves. Enter LoRaWAN, a wireless LAN that uses extremely low power for Internet-of-Things devices, and an implementation of one of these networks in an urban environment.

The core of the build is the LoRaWAN gateway which sits at the top of a tall building to maximize the wireless range of all of the other devices. It’s running ChirpStack on the software side and uses a Kerlink Wigrid station to broadcast. The reported range is a little over 9 km with this setup. Other gateways can also be added, and the individual LoRa modules can report to any available gateway. From there, the gateways all communicate back to the central server and the information can be sent out to the wider network, Internet or otherwise.

The project’s creator [mihai.cuciuc] notes that this sort of solution might not be best for everyone. There are other wide area networks available, but using LoRaWAN like this would be likely to scale better as more and more devices are added to the network. For some other ways that LoRa can be used to great effect, take a look at this project which builds an off-grid communications network with it.

A man playing an accordion-like instrument made from two Commodore 64s

The Commodordion Turns Two C64s Into A Single Instrument

One of the main reasons the Commodore 64 became an icon of the 1980s was its MOS 6581 “SID” sound chip that gave it audio capabilities well beyond those of other microcomputers of the 8-bit era. The SID became something of a legend by itself among chiptune enthusiasts, and several electronic instruments have been designed that generate their sound through a SID chip. Not many of those look anything like traditional musical instruments however, so we’re delighted to see [Linus Åkesson]’s new project: two Commodore 64s joined back-to-back using a bellows to form a wonderful new instrument called the Commodordion. It can be played in a similar way one plays a traditional accordion: melodies are played with the right hand, chords with the left, and volume is adjusted by varying the pressure in the bellows.

An accordion-like instrument made from two Commodore 64sThe two computers are basically unmodified, and boot Commodore BASIC like they normally would. A custom circuit board emulates a cassette player and provides the software to be loaded into memory. Both computers run the same program and can be switched between the right-hand and left-hand role by pressing a specific key combination. The software in question is called Qwertuoso, and basically maps notes and various features of the SID chip to keys on the Commodore’s keyboard.

Of course, it’s the bellows that makes this instrument a true member of the accordion family. Made from 5.25″ floppy disks and sticky tape, it forms a more-or-less air-tight system linking the two computers. The airflow in the bellows is measured through a microphone placed next to the air intake: the amount of noise generated is roughly proportional to the amount of air being expelled or inhaled. This information is then used to modulate the volume generated by the two SID chips.

By [Linus]’s own admission it’s not the most ergonomic of instruments, so we’re doubly impressed by the amount of skill he demonstrates while playing it in the video embedded below. It’s not the first time either that he has turned a Commodore 64 into a musical instrument: he previously built a church organ and a theremin. While the Commodordion may look complicated, it’s actually much simpler in construction than a mechanical accordion.

Continue reading “The Commodordion Turns Two C64s Into A Single Instrument”

A widescreen slate-style cyberdeck with a small keyboard sits in front of a cassette deck stereo. Headphones sit to the left of the deck and an old Casio calculator watch is to the right.

2022 Cyberdeck Contest: QAZ Personal Terminal

The slabtop form factor has had a resurgence in the cyberdeck community, and [Greg Leo] has designed the QAZ Personal Terminal to be about as small as a slabtop could be while still having full-sized keys.

Since the device is using a 35% QAZ keyboard as its primary input device, [Leo] has helpfully given a quick overview of how text is input in the video below. Coupled with that surprisingly popular 4:1 LCD screen we’ve seen elsewhere, this cyberdeck looks like a modern interpretation of a TRS-80 Model 100. The Banana Pi powering the QAZ Personal Terminal is running Debian with spectrwm, a tiling window manager making arranging windows a breeze with either a mouse or keyboard. The integrated mouse layer on the keyboard means you don’t need a separate mouse at all if you don’t want to spoil the 1980s mobile chic.

[Leo] has another video all about doing calculus on this cyberdeck with the math shortcuts integrated into the keyboard. Fractions, exponents, and common Greek letters are demonstrated. We can see this being a really great note-taking device for engineering and math courses if you wanted something more portable than a laptop.

It’s hard to get very far hacking without a little math. For more math-focused input devices, check out the Mathboard or the MCM/70.

Continue reading “2022 Cyberdeck Contest: QAZ Personal Terminal”