Turn By Turn Driving Directions From A Turntable

Many of us now carry a phone that can give us detailed directions from where we are to a destination of our choosing. This luxury became commonplace over the last decade plus, replacing the pen-and-paper solution of consulting a map to plan a trip and writing down steps along the way. During the trip we would have to manually keep track of which step we’re on, but wouldn’t it have been nice to have the car do that automatically? [Ars Technica] showed us that innovators were marketing solutions for automatic step by step driving directions in a car over a 100 years ago.

Systems like the Jones Live-Map obviously predated GPS satellites, so they used vehicle odometry. Given a starting point and a mechanical link to the drivetrain, these machines can calculate miles traversed and scroll to the corresponding place in the list of instructions. This is a concept that has been used in many different contexts since, including the “Next Bus in 7 Minutes” type of display at bus stops. Because a bus runs a fixed route, it is possible to determine location of a bus given its odometer reading transmitted over radio. This was useful before the days of cheap GPS receiver and cellular modems. But the odometry systems would go awry if a bus rerouted due to accidents or weather, and obviously the same would apply to those old school systems as well. Taking a detour or, as the article stated, even erratic driving would accumulate errors by the end of the trip.

The other shortcoming is that these systems predated text-to-speech, so reading the fine print on those wheels became a predecessor to today’s distracted driving problem. One of the patent diagrams explained the solution is to hand the device to a passenger to read. But if there’s a copilot available for reading, they can just as easily track the manual list of directions or use a map directly. The limited utility relative to complexity and cost is probably why those systems faded away. But the desire to solve the problem never faded, so every time new technology became available, someone would try again. Just as they did with a tape casette system in the 1970s and the computerized Etak in the 1980s.

[Photo by Seal Cove Auto Museum]

An Open Source Boating Autopilot With Some Custom Tweaks

Piloting a boat is all well and good, but can get dull when you’d rather be reclining on the deck with a cold beverage in hand. For [Timo Birnschein], this simply wouldn’t do. He began to gather parts to put together an autopilot to keep his boat on the straight and narrow.

The build is based around OpenPlotter, which uses a battery of marine-ready software to handle routing charts, autopiloting, and providing a compass heading for navigation. Naturally, it all runs on a Raspberry Pi. In combination with PyPilot, it can be used to let the vessel drive itself around a series of waypoints, allowing you to soak up the atmosphere on the water without having to constantly steer the craft.

[Timo] ran into some issues, however, with the hardware side of things. Existing implementations for motor control to drive the rudder weren’t quite cutting it, so the system was reworked to run with a robust H-bridge and some fresh Arduino code. This was combined with a custom rudder sensor built with a potentiometer and some 3D printed gears. Future work aims to double up the rudder sensors for redundancy, something we should all consider at times.

Overall, the system is starting to come together, and [Timo]’s enjoying letting his boat think for itself. He notes that it’s very important to keep an eye on the boat while operating in this condition, lest it veer off course – many a boat has been lost this way. We’re always supporters of a mature attitude towards autonomous vehicle operations!

Traffic Updates On The Seven Seas: Open Source Chart Plotter Using A Raspberry Pi

As the Raspberry Pi in its various forms continues to flow into the wild by the thousands, it’s interesting to see its user base expand outside beyond the hacker communities. One group of people who’ve also started taking a liking to it is sailing enthusiasts. [James Conger] is one such sailor, and he built his own AIS enabled chart plotter for a fraction of the price of comparable commercial units.

AIS transponders in the Mediterranean. VesselFinder

Automatic Identification System (AIS) is a GPS tracking system that uses transponders to transmit a ship’s position data to other ships or receiver stations in an area. This is used for collision avoidance and by authorities (and hobbyists) to keep an eye on shipping traffic, and allow for stricken vessels to be found easily. [James]’ DIY chart plotter overlays the received AIS data over marine charts on a nice big display. A Raspberry Pi 3B+, AIS Receiver Hat, USB GPS dongle and a makes up the core of the system. The entire setup cost about $350. The Pi runs OpenCPN, an open source chart plotter and navigation software package that [John] says is rivals most commercial software. As most Pi users will know the SD card is often a weak link, so it’s probably worth having a backup SD card with all the software already installed just in case it fails during a voyage.

We’ve seen AIS receiver stations built using the RTL-SDR, as well as a number of projects around the AIS equivalent in aviation, ADS-B. Check out [John]’s video after the break. Continue reading “Traffic Updates On The Seven Seas: Open Source Chart Plotter Using A Raspberry Pi”

Building A GPS With Bug Eyes And Ancient Wisdom

The Global Positioning System (GPS) is so ingrained into our modern life that it’s easy to forget the system was created for, and is still operated by, the United States military. While there are competing technologies, such as GLONASS and Galileo, they are still operated by the governments of their respective countries. So what do you do if you want to know your position on the globe without relying on any government-operated infrastructure?

According to the team behind [Aweigh], all you have to do is take a cue from ancient mariners and insects and look up. Using two light polarization sensors, a compass, and a bit of math, their device can calculate your latitude and longitude by looking at the daytime sky. With their custom Raspberry Pi shield and open source Python 3 software, the team envisions a future where fully-independent global positioning can be tacked onto all sorts of projects.

The concept relies on the Rayleigh model, which is essentially a polarization map of the sky. As light from the sun is scattered in the Earth’s atmosphere, it creates bands of polarization which can be identified from the ground. Essentially it’s the same principle that makes the sky appear blue when viewed with human eyes, but if you have two light sensors looking at the proper wavelengths, you can use the effect to figure out where the sun is; which the team says is precisely how some insects navigate. Once the position of the sun is known, [Aweigh] operates like a modernized, automatic, sextant.

Naturally, this is not an ideal solution in all possible situations. In an urban environment, a clear view of the sky isn’t always possible, and of course the system won’t work at all once the sun goes down. In theory you could switch over to navigating by stars at night, but then you run into the same problems in urban areas. Still, it’s a fascinating project and one that we’re eager to see develop further.

Incidentally, we’ve seen automated sextants before, if you’re looking for a similar solution that still retains that Horatio Hornblower vibe.

GPS And ADS-B Problems Cause Cancelled Flights

Something strange has been going on in the friendly skies over the last day or so. Flights are being canceled. Aircraft are grounded. Passengers are understandably upset. The core of the issue is GPS and ADS-B systems. The ADS-B system depends on GPS data to function properly, but over this weekend a problem with the quality of the GPS data has disrupted normal ADS-B features on some planes, leading to the cancellations.

What is ADS-B and Why Is It Having Trouble?

Automatic Dependent Surveillance-Broadcast (ADS-B) is a communication system used in aircraft worldwide. Planes transmit location, speed, flight number, and other information on 1090 MHz. This data is picked up by ground stations and eventually displayed on air traffic controller screens. Aircraft also receive this data from each other as part of the Traffic Collision Avoidance System (TCAS).

ADS-B isn’t a complex or encrypted signal. In fact, anyone with a cheap RTL-SDR can receive the signal. Aviation buffs know how cool it is to see a map of all the aircraft flying above your house. Plenty of hackers have worked on these systems, and we’ve covered that here on Hackaday. In the USA, the FAA will effectively require all aircraft to carry ADS-B transponders by January 1st, 2020. So as you can imagine, most aircraft already have the systems installed.

The ADS-B system in a plane needs to get position data before it can transmit. These days, that data comes from a global satellite navigation system. In the USA, that means GPS. GPS is currently having some problems though. This is where Receiver autonomous integrity monitoring (RAIM) comes in. Safety-critical GPS systems (those in planes and ships) cross-check their current position. If GPS is sending degraded or incorrect data, it is sent to the FAA who displays it on their website. The non-precision approach current outage map is showing degraded service all over the US Eastern seaboard, as well as the North. The cause of this signal degradation is currently unknown.

What Hardware is Affected?

GPS isn’t down though — you can walk outside with your cell phone to verify that. However, it is degraded. How a plane’s GPS system reacts to that depends on the software built into the GPS receiver. If the system fails, the pilots will have to rely on older systems like VOR to navigate. But ADS-B will have even more problems. An aircraft ADS-B system needs position data to operate.  If you can’t transmit your position information, air traffic controllers need to rely on old fashioned radar to determine position. All of this adds up to a safety of flight problem, which means grounding the aircraft.

Digging through canceled flight lists, one can glean which aircraft are having issues. From the early reports, it seems like Bombardier CRJ 700 and 900 have problems. Folks on Airliners.net are speculating that any aircraft with Rockwell Collins flight management systems are having problems.

This is not a small issue, there are hundreds or thousands of canceled flights. The FAA set up a teleconference to assess the issue. Since then, the FAA has issued a blanket waiver to all affected flights. They can fly, but only up to 28,000 feet.

This is a developing story, and we’ll be keeping an eye on it. Seeing how the industry handles major problems is always educational, and there will be much to learn in the coming days.

A Bolt-On I2C Navigation Key For Your Next Project

We often talk about the advantages of modular hardware here at Hackaday; the ability to just order a few parts online, hook them up with some jumper wires, and move onto the software side of things is a monumental time saver when it comes to prototyping. So anytime we see a new module that’s going to save us time and aggravation down the road, we get a bit excited.

Today we present the very slick I2CNavKey developed by [Saimon], a turn-key interface solution for your builds that can’t quite get away with a couple toggle switches. It not only gives you a four-way directional pad with center button, but a rotary “wheel” like on the old iPods. All of which you can access easily and with a minimum of wiring thanks to the wonders of I2C.

But even that might be selling the module short. This isn’t just a couple of buttons on a breakout board, the I2CNavKey is powered by its own PIC16F18345 microcontroller and features three configurable GPIOs with PWM support (perfect for an RGB LED) plus 256 bytes of onboard EEPROM storage.

[Saimon] has released the entire project as open source hardware for your hacking pleasure, but you can also get them as ready-to-use modules on Tindie for $18 USD [Editor’s Note: Because of a typo we originally we left the 1 out of the price]. Whether you’re a paying customer or not, you get access to the project’s absolutely phenomenal documentation, including a nearly 30 page manual that contains everything you’d ever want to know about the I2CNavKey and how to integrate it into your project. If all hardware was documented with this level of dedication, the world would be a much nicer place for folks like us.

If you recognize the name, or perhaps the affinity for neat I2C-connected input devices, it’s probably because you’ve seen his very similar I2C rotary encoder on these pages previously, which was a finalist in our Open Hardware Design Challenge during the 2018 Hackaday Prize.

Simple Hand Tools Turn Brass And Steel Into An Amazing Astrolabe

There’s something enchanting about ancient tools and instruments. The idea that our forebears were able to fashion precision mechanisms with nothing but the simplest hand tools is fascinating. And watching someone recreate the feat, such as by building an astrolabe by hand, can be very appealing too.

The astrolabe is an ancient astronomical tool of incredible versatility, allowing the user to do everything from calculating when the sun will rise to predicting the positions of dozens of stars in the night sky. That it accomplishes all this with only a few moving parts makes it all the more fascinating. [Uri Tuchman] began the astrolabe build shown in the video below with only a few hand tools. He quickly had his fill of the manual fretsaw work, though, and whipped up a simple scroll saw powered by an old sewing machine foot treadle to speed up his work. The real treat though is the hand engraving, a skill that [Uri] has clearly mastered. We couldn’t help musing that a CNC router could do the same thing so much more quickly, but watching [Uri] do it was so much more satisfying. Everything about the build really makes a statement, from the contrasting brass and steel parts to the choice of complex Arabic script for the markings. [Uri] has another video that goes over astrolabe basics and his design process that’s well worth watching too.

While it’s nowhere near as complicated an instrument, this astrolabe puts us in the mood to watch the entire Clickspring clock build again. And [Chris] is working on his own ancient instrument build at the moment, recreating the Antikythera mechanism. We can’t wait to binge-watch that one too.

Continue reading “Simple Hand Tools Turn Brass And Steel Into An Amazing Astrolabe”