Interfacing An Old Engine Cowl Flaps Indicator To USB

[Glen Akins] had a WW2-era aircraft engine cowl flap indicator lying around (as you do) and thought it would make a jolly fine USB-attached indicator. The model in question is a General Electric model 8DJ4PBV DC Selsyn, which was intended for four-engined aircraft. For those not familiar with the purpose [Glen] explains in his detailed writeup, that piston-engine aircraft of that era were air-cooled, and during conditions of maximum engine power — such as during take-off — flaps on the side of the engine cowling could be opened to admit additional cooling airflow. These indicator dials were connected to a sender unit on each of the flap actuators, providing the pilots an indication of the flaps’ positions. Continue reading “Interfacing An Old Engine Cowl Flaps Indicator To USB”

Aesthetic PCB Design Tips For Improved Functionality

Those of us hardware types that spend a lot of time designing PCBs will often look at other peoples’ designs with interest, and in some cases, considerable admiration. Some of their boards just look so good. But are aesthetics important? After all, for most products, the delicate electronic components on that PCB are tucked safely inside a protective enclosure. But, as [Phil’s Lab] explains, aesthetic PCB designs can lead to functional improvements, such that better-looking designs are also better performing, in terms of manufacturability (and therefore yield), electromagnetic compatibility (EMC), and several other factors that can be important.

First off, making a PCB easy to read and using sane placement of components and connections will speed up debugging by reducing errors. Keeping a consistent and not too-tight placement grid can give the pick and place machine an easier task, and reduce solder issues during reflow. But there are also more serious concerns, such as the enforcement of design partitionings — such as keeping analog circuits together and away from noisy power and digital areas — which can make the difference between functioning within specification, and failure.

The video goes into a few other interesting tips, one highlight is using a ground-tied PCB perimeter zone, with wavelength-of-interest via stitching. This will reduce EMC side emissions from the power plane, but also if you select an appropriate surface finish, and keep the solder mask open, you’ve got a free, full perimeter contact to ground your scope probe. Oh, and it looks good too.

Hackaday is no stranger to beautiful artistic PCBs, like the work of [Saar Drimer] and many others. But if one PCB doesn’t cut it for your needs, there’s always the ‘Oreo’ construction to consider.

Continue reading “Aesthetic PCB Design Tips For Improved Functionality”

MikroLeo, A 4-Bit Retro Learning Platform

MikroLeo is a discrete TTL logic-based microcomputer intended for educational purposes created by [Edson Junior Acordi], an Electronics Professor at the Brazilian Federal Institute of Paraná, Brazil. The 4-bit CPU has a Harvard RISC architecture built entirely from 74HCT series logic mounted on a two-sided PCB using only through-hole parts. With 2K words of instruction RAM and 2K words of addressable RAM, the CPU has a similar resource level to comparable machines of old, giving students a feel for how to work within tight constraints.

Simulation of the circuit is possible with digital, with the dedicated PCB designed with KiCAD, so there should be enough there to get cracking with it. Four 4-bit IO ports make interfacing easy, with dedicated INput and OUTput instructions for the purpose. An assembler, compiler, and emulator are all being worked on (as far as we can tell) so keep an eye out for that, if this project is of interest to you.

We like computers a bit around these parts, the “hackier” and weirder the better. Even just in the 4-bit retro space, we’ve seen so many, from those built around ancient ALU chips to those built from discrete transistors and diodes, but you don’t need to go down that road, an emulation platform can scratch that retro itch, without the same level of pain.

Squish That Stack With Rampart

[P B Richards] and [Aaron Flin] were bemoaning the resource hunger of modern JavaScript environments and planned to produce a system that was much stingier with memory and CPU, that would fit better on lower-end platforms. Think Nginx, NodeJS, and your flavour of database and how much resource that all needs to run properly. Now try wedge that lot onto a Raspberry Pi Zero. Well, they did, creating Rampart: a JavaScript-based complete stack development environment.

The usual web applications have lots of tricks to optimise for speed, but according to the developers, Rampart is still pretty fast. Its reason for existence is purely about resource usage, and looking at a screen grab, the Rampart HTTP server weighs in at less than 10 MB of RAM. It appears to support a decent slew of technologies, such as HTTPS, WebSockets, SQL search, REDIS, as well as various utility and OS functions, so shouldn’t be so lightweight as to make developing non-trivial applications too much work. One interesting point they make is that in making Rampart so frugal when deployed onto modern server farms it could be rather efficient. Anyway, it may be worth a look if you have a reasonable application to wedge onto a small platform.

We’ve seen many JavaScript runtimes over the years, like this recent effort, but there’s always room for one more.

Tidy POV Display Using The ESP32

Chinese Youtuber [corebb] presents the second version of his POV display. The earlier version used 5050-sized SMT addressable LEDs, which didn’t give great resolution, so he rev’d the design to use a much higher number (160 to be exact) of APA102 LEDs. These are 2mm on the side, making them a little more difficult to handle, so after some initial solder paste wobbles, he decided to use a contract assembly house to do the tricky bit for him. This failed as they didn’t ‘understand’ the part and placed them the wrong way around! Not to be deterred, he had another go with a modified solder stencil, and eventually got the full strip to light up correctly.

Based on an ESP32 (using the Arduino stack) and SDCard for control, and a LiPo cell charged wirelessly, the build is rather tidy. A couple of hall effect switches are mounted at the start of each of the two arms, presumably lining

Real-time video streaming? Check!

up with a magnet on the case somewhere, although this isn’t clear. The schematic and PCB appear to have been designed with JLCEDA, which is a repackaging of EasyEDA. We can see the attraction with the heavy integration of this with the JLC and LCSC services. It appears that he even managed to get streamed video working — showing a live video from a webcam — which is quite an undertaking to pull off when you think how much processing needs to happen in real-time. As he alludes to in the video, trying to increase the resolution beyond this point is not viable with the processing capability of the ESP32.

A resin-printed case finishes off the build, with a screw-thread mount added to the rear, to allow typical camera mounts to be used to hold the thing down. A smart move we think.

We love POV displays around here, this spherical POV display is especially fabulous, but you don’t need fancy hardware if you have a handy ceiling fan and a bit of protoboard spare.

Continue reading “Tidy POV Display Using The ESP32”

Home-Built CPU Runs With Home-Built Toolchain

A few years ago [Takaya Saeki] and fellow students of the University of Tokyo, were given a very limited instruction during their ‘CPU exercise’ class, along the lines of:

Take this ray-tracing program written in OCaml and run it on your CPU implemented on an FPGA

Splitting into groups to cover the CPU, FPU, simulator tool, and compiler toolchain, the students started with designing a RISC ISA, then designed a CPU around that. You can follow along with the retrospective writeup of the class, then dive into the GitHub pages for each of the components of the system, although the commentary is mainly in Japanese. Hey, you can google translate right? Continue reading “Home-Built CPU Runs With Home-Built Toolchain”

An Open Source Modular Flexure Construction Set

Flexures are one of those innocent-looking mechanisms that one finds inside practically any kind of consumer device. Providing constrained movements with small displacements, complete with controlled tension, they can be rather tricky to design. GrabCAD designer [Vyacheslav Popov] hails from Ukraine, and due to the current situation there, plans to sell a collection of flexure building blocks became difficult. In the end, [Vyacheslav] decided to generously release his work open source, for all to enjoy. This collection is quite extensive, looking like it could solve a huge variety of flexure design problems. (Links to the first three sets: Set00Set01Set02 but check the author’s collection page for many others)

It’s not just those super-cheap mechanisms in throw-away gadgets that leverage flexures, it’s much more. The Mars rovers use flexure-based suspension, scientific instruments (interferometers and the like) make use of them for small motions where specific axis constraints are needed, and finally, MEMS accelerometers and gyroscopes are based entirely upon them. We’re not even going to try to name examples of flexures in the natural world. They’re everywhere. And, now we’ve got some more design examples to use, so why not flex your flexure muscles and send one to the 3D printer and have a play?

We see flexures here quite a bit, like this nice demonstration of achievable accuracy. Flexures can make some delicious mechanisms, and neat 3D printable input devices.

Thanks to [Addison] for the tip!