OpenCV Never Forgets a Face

All the cool phones now are doing facial recognition. While that sounds like a big job, you can add face detection and recognition easily to your projects if you can support the OpenCV library. [LinuxHint] has a great tutorial that steps you from the basics of OpenCV to actually acquiring and identifying faces. It is aimed at Ubuntu users, but the code would apply to any OpenCV-supported platform. You can also see a less detailed tutorial to learn more about installing OpenCV on the Pi Zero from [DanishMalhotra].

Of course, any facial recognition system is going to need a camera. …read more

Continue reading OpenCV Never Forgets a Face→

Hands on with PocketBeagle

[Ken Shirriff] is no stranger to the pages of Hackaday. His blog posts are always interesting, and the recent one talking about the PocketBeagle is no exception. If you are old enough to remember the days when a Unix workstation set you back tens of thousands of dollars, you won’t be able to help yourself marveling at a Linux computer with 45 I/O pins, 8 analog inputs, 512K of RAM, and a 1 GHz clock, that fits in your pocket and costs $25. What’s more the board’s CPU has two 200 MHz auxiliary CPUs onboard to handle I/O without having …read more

Continue reading Hands on with PocketBeagle→

PLCs in Your Browser

If your usual tools are the Arduino and the Raspberry Pi, you might find it surprising that the industrial world tends to run on Programmable Logic Controllers, or PLCs. You can think of a PLC as a very rugged industrial Arduino, but it’s best not to take that analogy too far. Some PLCs are very simple and some are quite complex, but one thing they do have in common is they are usually programmed using ladder logic. If you’ve ever wanted to learn how to program PLCs — a very marketable job skills in some places — you can now …read more

Continue reading PLCs in Your Browser→

When is a 10-bit A/D an 8-bit A/D?

Marketing guys love bigger numbers. Bigger is better, right? After all, Subway called it a “footlong” not an 11-incher. So when it comes to analog to digital (A/D) conversion, more bits are better, right? Well, that depends. It is easy to understand that an A/D will have a low and high measurement and the low will be zero counts and the high will result in the maximum count for the number of bits. That is, an 8-bit device will top out at 255, a 10-bit at 1023, and so on.

The question is: are those bits meaningful? The answer depends …read more

Continue reading When is a 10-bit A/D an 8-bit A/D?→

EasyEDA Two Years Later

Some people want everything on the cloud, while others refuse to put even the smallest scrap of data on the Internet. Most of us fall somewhere in between. A few years ago, we talked about a few cloud-based PCB layout programs including one called EasyEDA. We were impressed because it was a full package: schematic capture, simulation, and PCB layout. It was free to use, although they would give you a quote for producing your boards, though you were under no obligation to buy them. Of course things change in two years, so if you are curious how EasyEDA is …read more

Continue reading EasyEDA Two Years Later→

Current Measurement with Oscilloscopes

What do a Rogowski coil, a magnetic core, and a hall effect sensor have in common? They are all ways you can make oscilloscope probes that measure current. If you think of a scope as a voltage measurement device, you ought to watch the recent video from Keysight Technology (see below). It is true that Keysight would love to sell you a probe, but the video is not a sales pitch, just general technical information about making current measurements with an oscilloscope.

Of course, you can always measure the voltage across a shunt resistor — either one that is naturally …read more

Continue reading Current Measurement with Oscilloscopes→

Gesture Control for Lunch Money

[Dimitris Platis] wanted to add gesture control to his PC. You’d think that would be expensive, but by combining a diminutive Arduino, a breakout board with a gesture controller, and an interconnect PCB, he managed to pull it off for about $7. That doesn’t include the optional 3D-printed case and we think you could omit the interconnect board if you don’t mind some wires and further cut costs. [Dimitris] calls it Nevma, and you can see how the device works in the video below.

The heart of the project is a sensor that measures light and motion. The chip and …read more

Continue reading Gesture Control for Lunch Money→

Just in Time for the Holidays: Give The Gift of Cray

The name Cray, as in [Seymour Cray] is synonymous with supercomputing. If you hurry, you can bid on a Cray J90/J916 on eBay. You might want to think about where to put it though. It is mounted on a trailer, requires 480V, and the shipping is $3,000!

First introduced in 1994, the J90 was an “entry level” machine. This particular machine supported up to 16 CPUs (each CPU was actually two chips) running at a blazing 100 MHz. The memory system was more impressive, achieving 48 GB/s.

The Cray T90 computer was much faster (and more expensive) but none of …read more

Continue reading Just in Time for the Holidays: Give The Gift of Cray→

Lisp in 200 Lines

Contrary to popular belief, LISP does not stand for “lots of irritating spurious parenthesis.” However, it is true that people tend to love or hate this venerable programming language. Whichever side of the fence you’re on, many of the ideas it launched decades ago have become staples of other newer languages. How much C code do you think it takes to make a functional LISP system? If you guessed more than 200, you’ll want to go look at this GitHub repository.

Actually, the code isn’t as good as the (sort of) literate programming white paper on the program, but it …read more

Continue reading Lisp in 200 Lines→

Another New Old Computer on an FPGA

How would you sell a computer to a potential buyer? Fast? Reliable? Great graphics and sound? In 1956, you might point out that it was somewhat smaller than a desk. After all, in those days what people thought of as computers were giant behemoths. Thanks to modern FPGAs, you can now have a replica of a 1956 computer — the LGP-30 — that is significantly smaller than a desk. The LittleGP-30 is the brainchild of [Jürgen Müller].

The original also weighed about 740 pounds, or a shade under 336 Kg, so the FPGA version wins on mass, as well. The …read more

Continue reading Another New Old Computer on an FPGA→