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”

screenshot from the video linked, showing example code that lights up an LED, and in a small window, also shows the LED lit up on a small Pi Pico board connected over USB

Your MicroPython Board Can Be Your Tinkering Peripheral

[Brian Pugh] has shared a cool new project that simultaneously runs on desktop Python and MicroPython – the Belay library. This library lets you control a MicroPython device seamlessly from your Python code – interacting with real-world things like analog/digital trinkets, servos, Neopixels and displays, without having to create your own firmware or APIs.

You need a serial-connected MicroPython board – even an ESP8266 should do. Then, you can intersperse your Python code with MicroPython-written functions, and call them whenever you need your connected device to do something – keeping the entire logic of your project within a single device. [Brian] provides quite a few examples, even for more complex things like displays. No doubt, there are limitations, but this looks to be a powerful tool in a hacker’s arsenal.

Readers might be reminded of an Arduino library called Firmata – an old-time way to do such connectivity. We’ve also previously covered a Pi Pico firmware that does a similar thing, and even features a breakout board for all your experimentation needs!
Continue reading “Your MicroPython Board Can Be Your Tinkering Peripheral”

A Fast Linear Actuator Entirely In One PCB

There are many ways to make a linear actuator, a device for moving something is a straight line. Most of the easier to make ones use a conventional motor and a mechanical linkage such as a rack and pinion or a lead screw, but [Ben Wang] has gone for something far more elegant. His linear actuator uses a linear motor, a linear array of coils for the motor phases, working against a line of magnets. Even better than that, he’s managed to make the whole motor out of a single PCB. And it’s fast!

This represents something of an engineering challenge, because achieving the required magnetic field from the relatively few turns possible on a PCB is no easy task. He’s done it by using a four-layer board to gather enough turns for the required magnetic field, and a simple view of the board doesn’t quite convey what lies beneath.

PCB motors are perhaps one of those areas where the state of the art is still evolving, and the exciting part is that their limits are being pushed right there in our community. And this isn’t the only linear motor we’ve seen recently either, here’s one used in a model train.

The keyboard, fully assembled, with black 3D printed body.

From Product To Burnout To Open-Source: The Ergo S-1 Keyboard Story

[Andrew] from [Wizard Keyboards] emailed us and asked if we were interested in his story of developing an ergonomic keyboard as a product. Many of us can relate to trying to bring one of our ideas to market. [Andrew], being a mechanical keyboard geek, knew a niche with no product to satisfy it, and had a vision he wanted to implement. He started meticulously going through steps for bringing his keyboard idea into life as a manufacturable product, and gave himself six months to get it done.

 Internals of the keyboard, showing the lower half with the mainboard on the left, and upper half of the keyboard with an FPC connecting keyswitches together on the right

After evaluating competing products and setting a price point, he designed the case, the keyboard’s mainboard, and even flexible circuit boards for wiring the keys up. The mechanical design alone had him go through many iterations and decisions, and he walks us through the different paths he’s faced. Whether it’s these insights, a story of a module with fraudulent FCC certification, or an approach to electronics design that led to him passing EMC tests with flying colors, there’s plenty to learn from [Andrew]’s journey.

Sadly, at some point, the project quickly outgrew the intended goal and became a drain. For instance, tuning the 3D printing processes alone took three months instead of one as planned. As the design was done, he got stuck on marketing material production – a field that turned out to be unexpectedly hostile to a hacker like him. After a year of work and five thousand hours of work spent on the project, he took a break, and afterwards, as he was trying to come back, [Andrew] realized that he has burned out. He took a few month long hiatus, and having recovered a bit, revisited the project. Still not thrilled about the product route, he decided that open-sourcing the keyboard would be the best outcome – doing justice to the time and effort spent working on it.

This is where the story ends – for now. [Andrew] has open-sourced everything one would need to create such a keyboard by yourself, designed assembly instructions, and even sells kit parts for those who’d like to take a shortcut. This wasn’t what he aimed for, but it’s a honorable ending – most commercial projects never get open-sourced even if they utterly fail to launch. Thanks to [Andrew], we got an insightful journey, a postmortem, and an open-source ergonomic keyboard project. Product stories grace our pages every now and then – here’s a similarly swerving story about a MIDI controller.