Presence-Detecting Cushion Keeps You From Sitting Your Life Away

They say that sitting is the new smoking. They’re wrong — smoking is much, much worse, for you than sitting, and smoking only while standing or while jogging around the block in no way to justify the habit. But they’re also not wrong that humans weren’t made for extended periods parked on their posteriors, but we do it anyway, to the detriment of our heart health, posture, and general well-being. So something like this butt-detecting stand-up reminder could make a big difference to your health.

While like many of us, [Dave Bennett] has a wearable that prompts him to get up and move around after detecting 30 minutes of sitting, he found that it’s too easy to dismiss the alarm and just go right on sitting. Feeling like he needed a little more encouragement to get up and go, he built a presence detector completely from scratch. His sensor is a sheet of static-protective Velostat foam wrapped in conductive tape; when compressed, the resistance across the pad drops, making it easy to detect with a simple comparator circuit.

We admit to getting excited when we first saw the alarm circuit; a quick glance at the schematic seemed like it was based on a 555, which it totally could be. But no, [Dave]’s design goals include protection against spoofing the alarm with a quick “cheek sneak,” which was most easily implemented in code. So that 8-pin device in the circuit is an ATtiny85, which sounds the alarm after 30 minutes and requires him to stay off his butt for a full minute before resetting. The video below hits the high points of design and shows it in use.

Annoying? Yes, but that’s the point. Of course a standing desk would do the same thing, but that’s not going to work for everyone, so this is a nice alternative.

Continue reading “Presence-Detecting Cushion Keeps You From Sitting Your Life Away”

Want To Use A Classic Mac Mouse On A Modern Computer? No? Here’s How To Do It Anyway

Need to hook a classic Mac mouse up to your modern machine with the help of a DIY USB adapter? [John Floren] has you covered. [John]’s solution uses a board with an ATmega32U4 microcontroller on it to connect to the Mac mouse on one end, and emulate a USB HID (Human Interface Device) on the other. A modern machine therefore recognizes it like it would any other USB input device.

Why is this necessary? The connector on the classic Mac mouse may look like a familiar DE-9 connector, but it is not an RS-232 device and wouldn’t work if it were plugged into a 9-pin serial port. The classic Mac mouse uses a different pinout, and doesn’t have much for brains on the inside. It relies on the host computer to read its encoders and button states directly.

This project is actually a bit of an update to a piece of earlier work [John] did in making a vintage Depraz mouse work with modern systems. He suspected that it wouldn’t take much to have it also work with a classic Mac mouse, and he was right — all it took was updating the pin connections and adding some pull-up resistors. The source code and design files are on GitHub.

Even if one does not particularly want to use a classic Mac mouse for daily work, there’s definitely value in this kind of thing for those who deal in vintage hardware: it allows one to function-check old peripherals without having to fire up a vintage machine.

Continue reading “Want To Use A Classic Mac Mouse On A Modern Computer? No? Here’s How To Do It Anyway”

Microsoft’s New Simulator Helps Train Drone AIs

Testing any kind of project in the real world is expensive. You have to haul people and equipment around, which costs money, and if you break anything, you have to pay for that too! Simulation tends to come first. Making mistakes in a simulation is much cheaper, and the lessons learned can later be verified in the real world. If you want to learn to fly a quadcopter, the best thing to do is get some time behind the sticks of a simulator before you even purchase anything with physical whirly blades.

Oddly enough, the same goes for AI. Microsoft built a simulation product to aid the development of artificial intelligence systems for drones by the name of Project AirSim. It aims to provide a comprehensive environment for the testing of drone AI systems, making development faster, cheaper, and more practical.

Continue reading “Microsoft’s New Simulator Helps Train Drone AIs”

Building The Most High-Tech Pond In The Neighborhood

What do you think of when you hear the word pond? If you’re like most people, it conjures up images of a simple water-filled hole in the ground, maybe with a few fish added in for good measure. But not [Anders Johansson] — his pond is a technical marvel, utilizing more unique pieces of hardware and software than many of the more traditional projects that have graced these projects over the years.

In fact, this is one of those projects that is so grand in scope that any summary we publish here simply can’t do it justice. The aptly-named Poseidon project is built up of several modular components, ranging from an automated fish feeder to an array of sensors to monitor the condition of the water itself. How many other ponds can publish their current water level, pH, and oxygen saturation over MQTT?

The ESP8266 fish feeder is just one element of Poseidon

[Anders] has provided schematics, 3D models, and source code for all the various systems built into the pond, but the documentation is where this project really shines. Each module has it’s own detailed write-up, which should provide you with more than enough guidance should you want to recreate or remix what he’s put together. Even if you use only one or two of the modules he’s put together, you’ll still be ahead of the game compared to the chumps who have to maintain their pond the old fashioned way.

In the past we’ve seen projects that tackled some of the individual elements [Anders] has developed, such as 3D printed fish feeders, but after searching through the archives we can’t find anything that’s even half as ambitious as Poseidon. At least, not for ponds. It reminds us more of a highly advanced aquaponics setup, and we wonder if that might not be a possible spin-off of the core project in the future.

Loki Is Part Cyberdeck, Part Sinclair Spectrum, And Pretty Tricky

You’ve got to watch out for Loki — he’s a trickster, after all, and he might make you think this semi-cyberdeck mash-up machine is named after him, when the backstory on this build is more interesting than anything in the current Marvel scene.

According to [Steve Anderson], Loki was the name of a mocked-up machine that Sinclair teased in the mid-1980s as a competitor for the Amiga. [Steve] coveted the vaporware machine and never quite got over it, but rather than pine for something that never existed, he created his own Loki. He only loosely qualifies the machine as a cyberdeck — it has some features of the genre, like a Raspberry Pi and a cast-off iPad screen for a display, but isn’t really intended to be as portable as a real cyberdeck. To scratch his Sinclair itch, the machine also includes a ZX Uno, which is an FPGA emulator of the Sinclair Spectrum. The keyboard is hand-wired using mechanical switches, and is backed up by a Pico running custom software so it can talk both USB and PS/2.

[Steve] has much more detail on Loki and his other cyberdeck builds over on his blog, which you should probably check out. Somewhat surprisingly, it doesn’t look like he’s entered Loki in our new Cyberdeck Contest that just launched. Hopefully that’s just an oversight.

A Deeper Dive Into Reverse Engineering With A CT Scanner

We’ve recently got a look at how [Ken Shirriff] used an industrial CT scanner as a reverse engineering tool. The results were spectacular, with pictures that clearly showed the internal arrangement of parts that haven’t seen the light of day since the module was potted back in the 60s. And now, [Ken]’s cohort [Curious Marc] has dropped a video with more detail on the wonderful machine, plus deep dives into more Apollo-era hardware

If you liked seeing the stills [Ken] used to reverse engineer the obscure flip-flop module, you’re going to love seeing [Marc] using the Lumafield scanner’s 3D software to non-destructively examine several Apollo artifacts. First to enter the sample chamber of the CT scanner was a sealed module called the Central Timing Equipment, which served as the master clock for the Apollo Command Module. The box’s magnesium case proved to be no barrier to the CT scanner’s beam, and the 3D model that was built up from a series of 2D images was astonishingly detailed. The best part about the virtual models is the ability to slice through them in any plane — [Marc] used this feature to hunt down the clock’s quartz crystal. Continue reading “A Deeper Dive Into Reverse Engineering With A CT Scanner”