A computer is, at its core, just a bunch of transistors wired together. Once you have enough transistors on a board, though, one of the first layers of abstraction that arises is the Arithmetic Logic Unit. The ALU takes in two sets of data, performs a chosen math function, and outputs one data set as the result. It really is the core of what makes computers compute.
An ALU is built into modern processors, but that wasn’t always how it was done. If you’re looking to build a recreation of an early computer you may need a standalone, and that’s why [roelh] designed an ALU that fits in a square inch piece of circuit board using five multiplexer chips and two XOR chips.
One of the commonly used components for this purpose, the 74LS181 ALU, is not in production anymore. [roelh’s] ALU is intended to be a small footprint replacement of sorts, and can perform seven functions: ADD, SUB, XOR, XNOR, AND, OR, A, B, and NOT A. The small footprint for the design is a constraint of our recent contest: Return of the Square Inch Project. Of course, this meant extra design challenges, such as needing to move the carry in and carry out lines to a separate header because there wasn’t enough space on one edge.
Exploring the theory behind an ALU isn’t just for people building retrocomputers. It is integral to gaining an intuitive understanding of how all computers work. Everyone should consider looking under the hood by walking through the nand2tetris course which uses simulation to build from a NAND gate all the way up to a functioning computer based on The Elements of Computing Science textbook.
If you’re a homebrew computer builder, it might be worthwhile to use one of these ALUs rather than designing your own. Of course, if building components from scratch is your thing we definitely understand that motivation as well.
It is mind-boggling when you think about the computing power that fits in the palm of your hand these days. It wasn’t long ago when air-conditioned rooms with raised floors hosted computers far less powerful that filled the whole area. Miniaturization is certainly the order of the day. Things are getting smaller every day, too. We were so impressed with the minuscule entries from the first “Square Inch Project” — a contest challenging designers to use 1 inch2 of PCB or less — that we decided bring it back with the Return of the Square Inch Project. The rules really were simple: build something with a PCB that was a square inch.
It was hard to pick, but there can only be one grand prize winner. This time around that honor goes to [Danny FR] for a very small smart motor driver for robotics. The little board takes an I2C link to a microcontroller and does PID control with RPM feedback. No need for an H-bridge or any sophisticated control electronics — that’s all onboard.
The board is a great fit for a motor and makes it easy to build moving projects. That was the grand prize, but there were some other great entries that won in specific categories, too.
[Drix] likes to know where things are. The Hive Tracker uses laser “lighthouses” that sweep across the room. A special microcontroller with a dedicated hardware block reads the laser light and triangulates its position relative to the lighthouses with a great deal of precision. A picture’s worth a thousand words, so:
The high-speed reading of the lasers uses “Programmable Peripheral Interconnect” — a feature of a Nordic BLE microcontroller that lets the chip read timestamps in hardware without interrupting the processor. The little boards hook up to a hub board which is also pretty small.
We’re hackers, so we think a few bare PCBs connected to another PCB can be artistic. But most people have something different in mind.
Best Artistic Project
If you hang out at Hackaday.io much, you’ll recognize [ꝺeshipu] and his entry was one of those things that you immediately know you could use, but also brings a little smile to your face when you use it. How often do you need to plug some LEDs into a breadboard? Why not do it with a Rainbow Jellyfish?
The circuit operation should be obvious. We really liked the color-coded wiring. You could probably use at least two of these so they could keep each other company. You could probably even use this as part of a badge.
Best Social Media Award
Speaking of badges, [nwmaker] built a badge that looks like another animal — an owl called PurpleSnowy. Again, the circuit is simple enough, but what caught our eye on this project was how well the social media promotion of it was. Maybe cute owls are just easier to go viral, but we liked it.
[Kris Winer] (remember that name), built a very high-tech spectrometer project. Not only was it small in size, but at $25 it was also small in price. The project used the AMS AS7265X 3-chip set to provide an 18 channel, 20 nm FWHM spectrometer. The documentation was very well done and we were impressed with the fitment of the chips on the board.
We had so many great entries that it was hard to pick so we named several runners-up.
[Greg Davill’s] Bosun frame grabber that uses an FPGA to capture images from a FLIR Boson camera.
[Kris Winer’s] high-tech $25 spectrometer project (from above) was also runner-up, and [Kris] was also recognized for sensors that can smell and hear.
If you want something less science-related, the Rotovis-Mod1 by [zakqwy] makes it easier to build persistence of vision displays. Of course, as hackers, we love an oscilloscope and [Mark Omo’s] 20 msps scope that fits in one inch caught our imagination for making some really cool instrument panels.
You really should look at all the entries — they were amazing. [Kris] really went all out, taking two runner up slots and the best documentation prize.
Speaking of prizes, The grand prize was $500, and the other prizes received $100 Tindie gift certificates. Thanks to OSH Park, the runner ups also got $100 OSH Park gift cards — that’s a lot of one inch PCBs.
For the last few years, Hackaday has been putting together some amazing contests. We gave away a trip to space, but the winner took the money instead. We gave away another trip to space, but those winners took the money instead. But we had a ton of fun along the way and are glad to see some others are getting in on the action. In September, a contest appeared out of the blue on hackaday.io. It is the Square Inch Project, a contest with the goal of stuffing the most electronics on a square inch of printed circuit board.
This wasn’t a contest designed, planned, or organized by anyone in charge here; this is a completely organic competition arranged and implemented by the hackaday.io community. A few months ago, a few notable hackaday.io people just decided to have a contest. Awesome.
OSHPark was kind enough to give out credits for PCBs as prizes, a we added in a few gift certificates to the Hackaday Store. Apparently that’s all you need to get a lot of people making a lot of cool stuff.