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”

30 Free Circuit Simulators Lightly Reviewed

We live in a time where great software is available with the click of a mouse, often for free or — at least — low cost. But there’s a problem: how do you select from so many alternatives? We were interested in [Lee Teschler]’s review earlier this year of 30 free circuit simulators. If you are selecting one or don’t like the one you are currently using, it is well worth the time to review.

There are several on the list that you’ve probably heard of before like GNUCap and LTspice. There are also some lesser-known products. Some of those are just trial or student versions of paid products. Some are branded versions of commercial products (like Tina) or were made free after selling for higher price tags (like MicroCap 12).

Old favorites like Falstad (which is apparently known as Circuit Sims) and TinkerCAD made the list. Many of the trial versions were very limited. For example, DCAClab only provides an NPN bipolar transistor model. Proteus doesn’t let you save or print unless you pay. While the list includes TI’s Tina, it doesn’t seem to mention that TI also provides a free version of PSpice which is a very popular professional product.

While the capsule descriptions are nice, you may want to dig in a little on the ones you are most interested in. For example, Falstad has a great mixed mode that can even include an AVR microprocessor. But there were a few on the list we had not heard of and maybe you’ll find something new there, too.

It’s A Bird! It’s A Plane! It’s… A Live Air Traffic Plane Spotting Simulation

Plane spotting has been a hobby of aviation enthusiasts for generations. Hanging out by the airport, watching aircraft come and go, maybe even listening to Air Traffic Control on a scanner from your local Radio Shack. Yep- we’ve been there, and it can be a lot of fun! But how can those of us who don’t live near a major controlled airport keep up on the action? As demonstrated by the [Information Zulu] YouTube channel’s Live Stream, seen below the break, the action may be closer than you think!

Aircraft on approach to LAX- Virtually

By using publicly available information, software, and some ingenuity, [Information Zulu] has created a live simulation of Los Angeles International Airport (LAX) for your simulated plane spotting pleasure. Aircraft positional data is gained through an ADSB receiver and piped into a the flight simulator software with a Traffic Injection Addon, and the simulator itself is used to properly place aircraft, set the weather, and even the correct aircraft types and liveries. Setting off the illusion of a real plane spotting adventure is the live Air Traffic Control radio chatter!

We love the creativity that went into not just making all of the software available, but in combining it into a cohesive product that can be viewed 24/7 on YouTube that, if you squint just right, could be mistaken for a view of the real thing.

If you’re not familiar with ADSB and how it’s used to track aircraft in such a way that anybody can receive it with the right equipment, check out this beginner’s course on ADSB from a few years back!

Continue reading “It’s A Bird! It’s A Plane! It’s… A Live Air Traffic Plane Spotting Simulation”

LTSpice Tips And A Long Tutorial

We always enjoy videos from [FesZ], so when we saw his latest about tips and tricks for LTSpice, we decided to put the 20 minutes in to watch it. But we noticed in the text that he has an entire series of video tutorials about LTSpice and that this is actually episode 30. So there’s plenty to watch.

Like any tips and tricks video, you might know some of them and you may not care about some of them — for example, the first one talks about setting the colors which is a highly personal preference.  But it is a good bet you’ll find something to like in the video.

Continue reading “LTSpice Tips And A Long Tutorial”

Can You Help NASA Build A Mars Sim In VR?

No matter your project or field of endeavor, simulation is a useful tool for finding out what you don’t know. In many cases, problems or issues aren’t obvious until you try and do something. Where doing that thing is expensive or difficult, a simulation can be a low-stakes way to find out some problems without huge costs or undue risks.

Going to Mars is about as difficult and expensive as it gets. Thus, it’s unsurprising that NASA relies on simulations in planning its missions to the Red Planet. Now, the space agency is working to create a Mars sim in VR for training and assessment purposes. The best part is that you can help!

Continue reading “Can You Help NASA Build A Mars Sim In VR?”

Open-Source Farming Robot Now Includes Simulations

Farming is a challenge under even the best of circumstances. Almost all conventional farmers use some combination of tillers, combines, seeders and plows to help get the difficult job done, but for those like [Taylor] who do not farm large industrial monocultures, more specialized tools are needed. While we’ve featured the Acorn open source farming robot before, it’s back now with new and improved features and a simulation mode to help rapidly improve the platform’s software.

The first of the two new physical features includes a fail-safe braking system. Since the robot uses electric geared hub motors for propulsion, the braking system consists of two normally closed relays which short the motor leads in emergency situations. This makes the motors see an extremely high load and stops them from turning. The robot also has been given advanced navigation facilities so that it can follow custom complex routes. And finally, [Taylor] created a simulation mode so that the robot’s entire software stack can be run in Docker and tested inside a simulation without using the actual robot.

For farmers who are looking to buck unsustainable modern agricultural practices while maintaining profitable farms, a platform like Acorn could be invaluable. With the ability to survey, seed, harvest, and even weed, it could perform every task of larger agricultural machinery. Of course, if you want to learn more about it, you can check out our earlier feature on this futuristic farming machine.

A PNG Based Circuit Simulator

We’re sure thousands of hours have been spent in Minecraft implementing digital logic. Inspired by that, [lynnpepin] created a digital logic simulator named Reso that is based on pixels rather than voxels.

There are a few clever things here. First, different colors represent different parts. There are three different colors of wire, output and input wires, XOR gates, and AND gates. OR gates are just output wires, which or all the input wires together. By implementing these gates, Reso is, by definition, Turing complete. Since it’s just a PNG, it is trivial to open it up in GIMP and copy and paste one bit of the circuit multiple times. The different color wires are mainly to help route in a 2d plane, as you don’t have vias. Currently, the image compiles into a graph that is executed. [Lynn] chose code readability and ease of prototyping over premature optimization, so the code isn’t particularly fast. But it is pretty fun, squinting at the pixels that make up the adders and clocks he has on his blog. After giving Reso your image, it outputs a series of images that enumerate the state for several states.

The code is available on Github, and a Rust version has already been written that offers some impressive speed improvements at the expense of not being at feature parity yet. If MS-Paint isn’t your IDE of choice, perhaps a more Javascript-based digital logic simulator might be more to your taste.