Calibrating Thermal Cameras With Hot Patterned Objects

Thermal cameras are great if you want to get an idea of what’s hot and what’s not. If you want to use a thermal camera for certain machine vision tasks, though, you generally need to do a geometric calibration to understand what the camera is seeing and correct for lens distortion. [Henry Zhang] has shared various methods of doing just that.

It’s all about generating a geometrically-regular thermal pattern.

To calibrate a thermal camera, first you need a thermal pattern. This is like typical test image for a camera or screen, but with temperatures instead of colors. [Henry] explains several methods for doing this. One involves using a grid of nichrome wires to create a thermal pattern for calibration purposes. Another uses discs of cold aluminium inserted into a foam board. Even a simple checkerboard can work, with the black spaces heating up more from ambient sunlight than their neighbouring white spots. [Henry] then explains the mathematical techniques used for calibrating based on these patterns.

It’s a useful primer on the topic if you’re working with thermal camera systems. We’ve looked at some other interesting machine vision topics before, too. If you’ve got any great thermal imaging tips of your own, don’t hesitate to drop us a line!

 

Compact Mouse Jiggler Keeps Boss Off Your Back

The work-from-home revolution enabled many workers to break free from the shackles of the office. Some employers didn’t like the loss of perceived control though, and saddled workers with all kinds of odious spyware to monitor their computer activity. Often, this involves monitoring mouse movement to determine if workers are slacking off or not. Mouse jigglers aim to fool these systems, and the MAUS from [MAKERSUN99] is one you can build yourself.

The MAUS is not a mechanical system that moves a real-life mouse on your desk. Instead, it directly injects emulated mouse movements via USB. It runs on an ATtiny85, which is able to spit out USB HID commands with the help of the V-USB software USB implementation. Along with the microcontroller, MAUS also features a red LED and a WS2812B RGB LED for user feedback. It’s also available on Tindie if your boss has you so busy that you don’t have time to build one.

Mouse jigglers came to prominence as working from home became mainstream. However, they’ve been around for years.

Continue reading “Compact Mouse Jiggler Keeps Boss Off Your Back”

DOOM Ported To A Single LEGO Brick

By now you’ve all seen the tiny LEGO brick with a working screen in it. The work of one [James “Ancient” Brown], it was truly a masterpiece of miniaturization and creativity. Since then, [James] hasn’t stopped innovating. Now, he’s demoing a playable version of DOOM running on a single plastic brick.

We’ve covered the construction of these astounding screen bricks before. Long story short, [James] designed a tiny PCB that hosts an RP2040 microcontroller which is then hooked up to a tiny OLED screen. The components are placed in a silicone mold, which is then filled with transparent resin to form the brick. The screen is then powered via contacts in the bottom, much like older-style LEGO motors.

Early experiments involved running various graphics to emulate a spaceship dashboard, but [James] has now gone much further. He’s implemented RP2040-doom to run the game. It uses tilt controls thanks to an accelerometer, combined with capacitive touch controls for shooting. The monochrome OLED is driven very fast with a special library of [James’] own creation to create three levels of grayscale to make the game actually visible and (just barely) playable.

It’s a hack, of course, and the controls are far from perfect. Nobody’s speed-running E1M1 on [James’s] LEGO brick, to be sure. Perchance. With that said, it’s still a glorious piece of work nonetheless. Just imagine, sitting with friends, and announcing you’re going to play some DOOM — only to pluck a piece of LEGO out of your pocket and start blasting away at demons.

Just because [James] doesn’t know when to quit, we’re going to lay down the gauntlet. Let’s get network play happening on these things, yeah?
Continue reading DOOM Ported To A Single LEGO Brick”

The Blue Soup Saga Is One Beefy Mystery

Beef soup! You’d normally expect it to be somewhere from reddish-brown to grey, depending on how well it was cooked and prepared. However, strangely, an assistant professor found the beef soup in their fridge had mysteriously turned blue. That spawned an investigation into the cause which is still ongoing.

[Dr. Elinne Becket] has earned her stripes in microbiology, but the blue soup astounded her. Despite her years of experience, she was unable to guess at the process or a source of contamination that could turn the soup blue. Indeed, very few natural foods are blue at all. Even blueberries themselves are more of a purple color. The case sparked enough interest that [Elinne] went back to the trash to collect photos and sample for research at the request of others.

Thus far, metagenomic DNA analysis is ongoing and samples of the soup have been cultivated in petri dishes. Early analysis shows that some of the microbes form iridescent colonies, Another researcher is trying to determine if the bugs from the soup can make blue color appear on soft cheese. There’s some suspicion that a bacteria known as pseudomonas aeruginosa could be the cause of the blue color, but that presents its own problems. P. aeruginosa is classified as a Biosafety Level 2 pathogen which would require some researchers to abandon work on the project for safety reasons.

The jury’s still out on this microbiological mystery. If you’ve got some ideas on what could be going on, let us know in the comments!

Broken Pocket Watch Becomes Pocket Sundial

Pocket watches are all well and good, but they have some caveats. They either need regular rewinding, or they need batteries. Sundials on the other hand need only the light from our One True Sun. [JGJMatt] has just the project to convert your broken or disused pocket watches to the solar way of telling the time.

The key is to replace the clockwork internals and face of the pocket watch with a sundial instead. The first step is to create a face for the watch marked out for sundial use. [JGJMatt] explains how to do this with a variety of CNC, painting, or etching methods. He also explains how to use simple tools to generate a sundial design that’s ideally suited to your geographical location. This includes methods for aligning the sundial to True North or True South with an offset compared to Magnetic North or Magnetic South. This allows the sundial to be as accurate as possible. [JGJMatt] describes the general techniques while also building a sundial of his very own. The resulting piece is a handsome bit of brass with a lovely gnomon standing tall to cast a shadow on the dial.

It’s not a quick way to tell the time, by any means. However, the next time your friends ask you what time it is, and you whip out a compass to line up your sundial, they’re sure to be impressed. We’ve seen some creative sundial designs before, too, and if you’ve been creating your own fancy timepieces, don’t hesitate to let us know on the tipsline!

Fish Tank Dosing Pump Built Using Pi Pico

When you’re maintaining a fish tank, it’s actually quite important to get all your basic chemistry right. Mismanage things, and you’ll kill all the helpful bacteria in the tank, or kill your fish when things get too alkaline or too acidic. To help him get things just right, [yojoebosolo] built a custom dosing pump to maintain his fishtank.

The pumps themselves are small peristaltic pumps sourced from AliExpress. They can be had for under $10 if you look hard enough. Two of these are assembled into a PLA housing. Meanwhile, the brains of the operation is a Raspberry Pi Pico. It’s charged with running the pumps to a regular schedule, ensuring that just the right amount of chemicals are delivered when they are needed. It delivers 2 mL of Kalkwasser solution into [yojoebosolo’s] reef tank every ten minutes.  The pumps are switched on and off with a simple 5V relay.

If you’ve got a delicate and complex fish tank that demands only the best, building your own dosing pump may be the way to go. Off-the-shelf versions can be expensive, after all, so sometimes it makes sense to roll your own. Video after the break.

Continue reading “Fish Tank Dosing Pump Built Using Pi Pico”

8086 Multiply Algorithm Gets Reverse Engineered

The 8086 has been around since 1978, so it’s pretty well understood. As the namesake of the prevalent x86 architecture, it’s often studied by those looking to learn more about microprocessors in general. To this end, [Ken Shirriff] set about reverse engineering the 8086’s multiplication algorithm.

[Ken]’s efforts were achieved by using die photos of the 8086 chip. Taken under a microscope, they can be used to map out the various functional blocks of the microprocessor. The multiplication algorithm can be nutted out by looking at the arithmetic/logic unit, or ALU. However, it’s also important to understand the role that microcode plays, too. Even as far back as 1978, designers were using microcode to simplify the control logic used in microprocessors.

[Ken] breaks down his investigation into manageable chunks, exploring how the chip achieves both 8-bit and 16-bit multiplication in detail. He covers how the numbers make their way through various instructions and registers to come out with the right result in the end.

It’s a fun look at what’s going on at the ground level in a chip that’s been around since before the personal computer revolution. For any budding chip designers, it’s a great academic exercise to follow along at home. If you’ve been doing your own digging deep into CPU architectures, don’t hesitate to drop us a line!