You can no longer buy a brand-new 74181, they’ve been out of production for years. All is not lost though, for [Dave’s Dev Lab] have created a facsimile of one on a printed circuit board, using modern single-gate 74-series chips.
Why on earth would you want an oversized replica of an outdated logic chip from nearly five decades ago, we hear you ask? The answer lies in education. If you were to embark on learning about the internals of a microprocessor by taking a modern example such as the one that powers the device on which you are reading this, you would find it to be a daunting task. Over six decades of progress in computer technology have delivered the performance enhancements that put a supercomputer in your smartphone, but at the expense of a contemporary microprocessor being an extremely complex machine which you can’t peer into for any level of understanding.
Simple enough to work your way through the logic
The starting point for the student of microprocessor internals often lies in the past. The technology of the early 1970s holds the fundamentals from which a modern processor can be understood, but remains simple enough to grasp in its entirety as a beginner. Registers, instruction decoders, counters, and an arithmetic/logic unit, or ALU. And for decades the 74181, as an all-in-one 4-bit ALU on a chip that you might have found in a minicomputer at the turn of the 1970s, represented the most convenient way to teach the operation of these devices. Electronic engineers and computer scientists of all ages will have encountered them as they gained their qualifications.
The PCB version of the 181 faithfully follows the original, but with modern 74LVC gates laid out as they would be in the circuit diagram of the chip, and LEDs to show logic state at the different parts of the circuit. Thus when it is used to teach ALU operation it can show every part of the device in detail in a way a real 74181 would never have done.
There are some communities with whom our happy band of hardware hackers share a lot in common, but with whom we don’t often associate. The more workshop-orientated end of the car modification or railway modeler scenes, for instance, or the model aircraft fraternity. Many of these communities exist more for the activity than for the making, some of them dabble with building kits, but among them are a hard core of people who create amazing projects from scratch.
Take [Igor Negoda], for example. Not content with building just any model aircraft, he’s built his own from scratch, to his own design. And if designing for yourself what amounts to a scaled-down jet fighter wasn’t enough, he’s also built his own jet engine to power it. His videos are all in Russian so use YouTube’s subtitle feature if you’re not a Russian speaker, but they’re so good that if you couldn’t access the English translation you’d want to learn the language just to hear his commentary.
The video below the break shows us first a fast-taxi test using a ducted fan, then a full test flight with the jet engine. There is an explanation of the fuel system and the flight control systems, before an impressive flight from what appears to be a former Cold War-era runway. There are a few funny moments such as transporting a large model jet aircraft in a small hatchback car, but the quality of the work in a garage workshop shines through. Suddenly a multirotor doesn’t cut it any more, we want a jet aircraft like [Igor]’s!
Since the Raspberry Pi range of boards first appeared back in 2012, we’ve seen them cleverly integrated into a host of inventive form factors. Today we bring you the latest offering in this space, [Kite]’s Raspberry Pi Zero W installed in the case of a Sega Dreamcast VMU. The result is a particularly nicely executed build in which the Pi with a few of its more bulky components removed or replaced with low-profile alternatives sits on the opposite side of a custom PCB from a small LCD display.
The PCB contains the relevant buttons, audio, and power supply circuitry, and when installed in a VMU shell makes for a truly professional quality tiny handheld console. In a particularly nice touch the Pi’s USB connectivity is brought out alongside the SD card on the end of the Zero, under the cap that would have originally protected the VMU’s connector. Some minimal paring away of Sega plastic was required but the case is surprisingly unmodified, and there is plenty of space for a decent-sized battery.
The VMU, or Visual Memory Unit, makes an interesting choice for an enclosure, because it is a relic of one of console gaming’s dead ends. It was the memory card for Sega’s last foray into the console market, the Dreamcast, and unlike those of its competitors it formed a tiny handheld console in its own right. Small games for the VMU platform were bundled with full titles, and there was a simple multiplayer system in which VMUs could be linked together. Sadly the Dreamcast lost the console war of the late 1990s and early 2000s to Sony’s PlayStation 2, but it remains a console of note.
Some of the hacks we feature are modifications of existing devices, others are ground-up builds of entirely new ones. And then there are the experiments, things that have to be worth trying because they just might work. In this final category we have [Matt]’s work with UV sensitive plastic to form the basis of a simple persistent display, which has created something best described as a proof-of-concept that shows promise, and definitely proves that he had an idea very much worth trying.
The idea makes use of a plastic that changes colour from white to purple when exposed to UV light. He 3D printed a waffle-like structure to locate over a 3×3 grid of UV LEDs, which he could then illuminate under the control of an Arduino Mini Pro. A short illumination changes the colour of the plastic above it, creating a “pixel” that persists for several seconds. In this he has created a working proof of concept for a very simple 3×3 matrix display, albeit rather an unwieldy one. The advantage the idea offers is that a relatively long time of display can be achieved for a relatively short LED illumination, giving a potential for power saving.
The proof-of-concept itself isn’t particularly useful, but from this idea it’s possible a larger display could be practically made. An array of surface-mount LEDs could perhaps illuminate a larger array of plastic to a greater resolution, it’s definitely an idea that was worth trying, and which shows promise for further pursuit. If you’d like to see it in action he’s posted a video, which we’ve placed below the break.
Raspberry Pi laptops are not an uncommon sight, as many hardware enthusiasts have shoehorned the tiny board behind LCD panels into home-made cases.
[Frank Adams] has created one of the best Pi laptops we’ve ever seen, (for which we suggest you skip straight to the PDF). He’s removed the guts from an aged Sony VAIO laptop and replaced it with the fruity computer, alongside a Teensy to handle VAIO keyboard, buttons, and LED I/O via the Pi USB port. An M.NT68676 video board interfaces the VAIO display to the Pi HDMI, and a USB to SATA cable is connected to a 240Gb solid state hard drive. The laptop’s Wi-Fi antenna is routed to the Pi via a soldered on co-axial connector, and there is also a real-time clock board. There are a few rough edges such as a USB cable that could be brought inboard, but it’s otherwise well-integrated into the case. His write-up is a very comprehensive PDF, that should serve as a good primer to anyone else considering such a laptop conversion.
The result is a laptop that looks for all the world like a commercially produced machine, yet that is also a Raspberry Pi. In a strange way, a Sony laptop is an apt homecoming for the board from Cambridge, because other than red soldermask or very early Chinese-made models, all Raspberry Pi boards are made in a Sony factory in Wales. Whatever the donor laptop though, this is definitely a step above the run-of-the-mill Pi laptops. To see its competition, take a look at this very ugly machine with a bare LCD panel, or this laser-cut sandwich laptop.
Are you reading this on a machine running a GNU/Linux distribution? A Windows machine? Or perhaps an Apple OS? It doesn’t really matter, because your computer is probably running MINIX anyway.
There once was a time when microprocessors were relatively straightforward devices, capable of being understood more or less in their entirety by a single engineer without especially God-like skills. They had buses upon which hung peripherals, and for code to run on them, one of those peripherals had better supply it.
A modern high-end processor is a complex multicore marvel of technological achievement, so labyrinthine in fact that unlike those simple devices of old it may need to contain a dedicated extra core whose only job is to manage the rest of the onboard functions. Intel processors have had one for years, it’s called the Management Engine, or ME, and it has its own firmware baked into the chip. It is this firmware, that according to a discovery by [Ronald Minnich], contains a copy of the MINIX operating system.
If you are not the oldest of readers, it’s possible that you may not have heard of MINIX. Or if you have, it might be in connection with the gestation of [Linus Torvalds]’ first Linux kernel. It’s a UNIX-like operating system created in the 1980s as a teaching aid, and for a time it held a significant attraction as the closest you could get to real UNIX on some of the affordable 16-bit desktop and home computers. Amiga owners paid for copies of it on floppy disks, it was even something of an object of desire. It’s still in active development, but it’s fair to say its attraction lies in its simplicity rather than its sophistication.
It’s thus a worry to find it on the Intel ME, because in that position it lies at the most privileged level of access to your computer’s hardware. Your desktop operating system, by contrast, sees the hardware through several layers of abstraction in the name of security, so a simple OS with full networking and full hardware access represents a significant opportunity to anyone with an eye to compromising it. Placing tinfoil hats firmly on your heads as the unmistakable thwop of black helicopters eases into the soundscape you might claim that this is exactly what they want anyway. We would hope that if they wanted to compromise our PCs with a backdoor they’d do it in such a way as to make it a little less easy for The Other Lot. We suspect it’s far more likely that this is a case of the firmware being considered to be an out-of-sight piece of the hardware that nobody would concern themselves with, rather than a potential attack vector that everyone should. It would be nice to think that we’ll see some abrupt updates, but we suspect that won’t happen.
When men were men, and oscilloscopes were oscillographs.
Do you remember your first oscilloscope? Maybe we have entered the era in which younger readers think of a sleek model with an LCD screen, but for the slightly older among us the image that will come to mind is likely to be a CRT-based behemoth. Mine was a 2MHz bandwidth Cossor from the 1950s, wildly outdated by the 1980s, but it came to me at no cost. It proudly proclaims itself as a “Portable Oscillograph”, but requires its owner to be a weightlifter to move it. I still have it, as a relic and curio.
For most of us a new ‘scope is still a significant investment. Even affordable current models such as the extremely popular Rigol instruments are likely to cost several hundred dollars, but offer measurement functions undreamed of by those 1950s engineers who would have looked on the Cossor as an object of desire.
Oscilloscope buyers on a budget may not have the cash for a Rigol, a Hantek, or any of the other affordable ‘scopes. Someone starting on the road of electronic engineering can scout around for a cheap or free second-hand CRT model, but thanks to the ever advancing march of technology they also have another option. Modern microprocessors and microcontrollers have analogue-to-digital converters and processor cores that are fast enough to provide the functions of a simple oscilloscope, and to that end a variety of very cheap ‘scopes and ‘scope kits have come on the market. These invariably have a rather small LCD screen and a relatively low bandwidth, but since they can be had for almost pocket-money prices their shortcomings can be overlooked in the name of value. It’s been a matter of curiosity for some time then: are these instruments any good? For around £16 ($21) and the minor effort of an online order from China, we decided to find out.
If you look at most stockists of electronic kits these days, you are likely to find an oscilloscope kit in their range. These are volume produced in China, and the same design trends appear across different models. You can buy surface mount or through-hole, and most of them feature a bare board with maybe a piece of laser-cut Perspex standing in for a case. There are one or two models appearing that come with a case though, and it was one of these that we ordered. The JYE Tech DSO150 is a single-channel ‘scope with a 2.4″ 320×240 pixel colour LCD screen and a 200kHz bandwidth. Its specification is typical of the crop of similar kits, though its smart case sets it apart and made it an easy choice.
In the Box
We ordered one, and when it arrived, it was packed in a small cardboard carton that had suffered some crushing in transit, but had protected the internal contents well enough that no harm had been done. A layer of foam protected the LCD, and the case parts appeared rigid enough to protect the rest of the components. There was a bag of discretes, the case parts, two PCBs, a test lead with crocodile clips, and two pages of instructions.
When looking at a kit, it’s best to start with the instructions, because no matter the quality of the kit itself it is the quality of the instructions that make or break a kit. If you can’t build it then it doesn’t matter how good it might be, it’s effectively junk.
The DSO150 instructions are two sheets of high quality double-sided colour print, with the emphasis on pictures rather than words, The front page introduces the kit and gives a quick soldering guide, then the next two pages step through each stage of construction. The final page has basic instructions for use, specification, and a troubleshooting guide. Our kit had all surface-mount parts already fitted, if we’d known the kit could also be had with SMD parts to fit we’d have bought that version instead.
Inside the DSO100.
The instruction steps are long on images and short on text, but there are sometimes few cues as to where the component in question lies on the board. Sometimes some careful examination of board and picture is necessary to ensure correct placement. The first step though doesn’t involve any soldering, wire the main board up to a 9V supply, and watch the LCD boot into the oscilloscope software. There is support via a forum on the JYE Tech website, we presume you’d go there if it failed to boot out of the box. A 9V PSU isn’t included, you’ll need to find one with a 2.1mm centre positive plug. Fortunately a suitable candidate was in the box of wall warts here, formerly being used by a router.
The main board assembly is straightforward enough, being the assembly of larger through-hole parts such as switches and connectors. The analogue board has a brace of small through-hole resistors and ceramic capacitors to fit, of these the resistors were of the tiny variety which made distinguishing between some of their colour stripes a little difficult. Bring your multimeter to check. There is a BNC connector that requires significant heat on there too, so make sure you have a suitably beefy iron to hand. Finally there is a small board for the rotary encoder, then the front of the case can be assembled to the main board, the analogue board attached, and the ‘scope set up. Verify on-board voltages, attach the test clip to the calibration output and adjust the compensation capacitors for a square wave, and the rest of the case can be added to complete the unit.
Functionality
The DSO150 showing the upper end of its bandwidth.
In use, the DSO150 makes a simple and straightforward enough oscilloscope. The usual volts/division and timebase selection is easy enough, and the various trigger modes can quickly be selected. If you’ve used an oscilloscope before then you will have no problems getting started with it. But of course, the DSO150 isn’t just a simple oscilloscope, it’s a digital storage ‘scope. And with 1024 sampling points it can do the usual storage ‘scope thing of allowing the user to examine a stored waveform in great detail, scrolling back and forth through the stored points. Here the instruction sheet falls short, not mentioning that a double tap on the V/div or Sec/div buttons allows you to scroll.
Connecting the signal generator to our DSO150 allowed the exploration of its bandwidth. The claimed 200kHz is pretty spot-on, winding the signal generator far beyond that point showed a tail-off in displayed amplitude. Also the minimum 10µS per division limits the usefulness of a waveform display at these frequencies.
The DSO150 is supplied with a short test lead terminated in a pair of crocodile clips. This is somewhat less useful than the oscilloscope probes we’re used to, though happily it can also be used with a standard 1x/10x probe. Looking at the square wave on the test terminal through a standard probe reveals a sharp corner on the waveform, so there seems not to be any problems between the compensation on-board and that in the probe. It’s likely that either the DSO150 here will be used with a standard probe, or that the crocodile clip will swiftly be replaced with a probe of some kind.
Closing Thoughts
So then, the JYE Tech DSO150 oscilloscope kit. A nice little ‘scope within the limitations of the STM32F103C8 microcontroller that drives it. If you can put up with a 200kHz bandwidth and a 50V peak input voltage then it’s a useful pocket instrument. Its calibration will depend on the STM’s crystal and voltage reference, but as with the rest of its specification, when you consider its pocket-money price those become minor considerations. Add in that its software is open-source, and you have a very nice platform indeed. If we wanted to nitpick we’d ask for a battery compartment and a proper probe, but since both of those would put up the price we wouldn’t make too much noise about it. If you need a pocket ‘scope to supplement your bench scope when working on lower frequencies, or if you have a youngster in the family looking for their first ‘scope, buy one! Our review unit will definitely see some use rather than gathering dust.