Doing One Thing, Well: The UNIX Philosophy

The Unix operating system has been around for decades, and it and its lookalikes (mainly Linux) are a critical part of the computing world. Apple’s operating system, macOS, is Unix-based, as are Solaris and BSD. Even if you’ve never directly used one of these operating systems, at least two-thirds of all websites are served by Unix or Unix-like software. And, if you’ve ever picked up a smart phone, chances are it was running either a Unix variant or the Linux-driven Android. The core reason that Unix has been so ubiquitous isn’t its accessibility, or cost, or user interface design, although these things helped. The root cause of its success is its design philosophy.

Good design is crucial for success. Whether that’s good design of a piece of software, infrastructure like a railroad or power grid, or even something relatively simple like a flag, without good design your project is essentially doomed. Although you might be able to build a workable one-off electronics project that’s a rat’s nest of wires, or a prototype of something that gets the job done but isn’t user-friendly or scalable, for a large-scale project a set of good design principles from the start is key.

Continue reading “Doing One Thing, Well: The UNIX Philosophy”

Unmanned Sailboat Traverses The North Atlantic

Sailboats have been traversing the Atlantic Ocean since before 1592, sailing through sunshine, wind, and rain. The one thing that they’ve all had in common has been a captain to pilot the ship across this vast watery expanse, at least until now. A company called Offshore Sensing has sailed an unmanned vessel all the way from Canada to Ireland.

The ship, called the Sailbuoy, attempted the journey last year as well but only made it about halfway before the mission was abandoned. This year, however, the voyage was finally completed, and this craft is officially the first unmanned ship to cross the Atlantic Ocean. The journey took about 80 days using sails and a small set of solar panels to drive the control electronics.

Using this technology, the company can investigate wave activity in specific areas of the ocean without having to send out a manned vessel to install a permanent buoy. The sailbuoy simply uses its autonomy to stay in a particular patch of ocean. There have been other missions that the sailbuoy has been tasked with as well, such as investigating the aftermath of the Deepwater Horizon oil spill in the Gulf of Mexico. With a reliable craft like this, it becomes much easier, safer, and less expensive to explore the ocean’s surface.

Thanks to [Andy] for the tip!

Retro Console Upgrade Gives Atari Flair

If you’re desperate for a sense of nostalgia for video games of yore but don’t want to shell out the big bucks for an NES classic, you can always grab a single arcade-style game that’ll plug straight into your TV. Of course it’s no longer 1980, and playing Space Invaders or Asteroids can get old after a while. When that happens, just replace the internals for an upgraded retro Atari 2600 with all the games from that system instead of just one.

As expected for something that has to fit in such a tiny package, this upgrade is based on a Raspberry Pi Zero. It’s not quite as simple as throwing RetroPi on it and calling it a day, though. For one, [Blue Okiris] is still using the original two-button controller/joystick that came with the Ms. Pac-Man game this build is based on, and that added its own set of challenges. For another, RetroPi didn’t have everything he needed so he switched to another OS called Recalbox. It also includes Kodi so it could be used as a media center as well.

The build looks like a hack in the truest sense of the word. The circuit board sticks out the bottom a little bit, but this is more of a feature than a bug because that’s where some extra buttons and the power switch are. Overall, it’s a great Retro Atari system that has all the true classics that should keep [Blue Okiris] entertained until Atari releases an official system one day. If you’d like to go a little deeper in the Atari world, though, you could always restore one instead.

Continue reading “Retro Console Upgrade Gives Atari Flair”

Power Steering Pump Repurposed For Great Speed

Electric bikes are getting a lot of attention lately. Pretty much anyone can buy a kit online and get a perfectly street legal ride with plenty of range. But if you don’t want to take the kit route, and you’d rather take a tack that will get you noticed more around these parts, take some notes from [Jule553648]’s recent build that definitely isn’t using any parts from a kit.

The motor from the build is an electric power steering pump from a junkyard car. This gets mounted on a one-off rear bike rack and drives the rear tire with help from some gears from a pocket bike gearbox from eBay. A lot of the parts in this build were designed and built using CAD and a machine shop, and the parts for the battery and the power controller were sourced via China to save on cost.

The whole build has a homemade vibe that we find irresistible. The bike can go 35 km/h on level ground without breaking a sweat and has about 40 km of range which is nothing to scoff at. It might even be street legal depending on the wattage of the motor and whether or not you live in Europe (where throttles are generally not allowed on electric bikes). If you’re lacking a machine shop, though, we featured a very well-built kit ebike a while back that you could use as a model to get your feet wet.

Continue reading “Power Steering Pump Repurposed For Great Speed”

Raspberry Shake Detects Quakes

The Raspberry Pi’s goal, at least while it was being designed and built, was to promote computer science education by making it easier to access a working computer. What its low price tag also enabled was a revolution in distributed computing projects (among other things). One of those projects is the Raspberry Shake, a seismograph tool which can record nearby earthquakes.

Of course, the project just uses the Pi as a cost-effective computing solution. It runs custom software, but if you want to set up your own seismograph then you’ll also need some additional hardware. There are different versions of the Raspberry Shake, the simplest using a single Geophone which is a coil and magnet. Vibrations are detected by sensing the electric signal generated by the magnet moving within the coil of wire. Other models increase the count to three Geophones, or add in MEMS accelerometers, you can easily whip one of these up on your own bench.

The entire setup will fit nicely on a coffee table as well, making it much smaller (and cheaper) than a comparable professional seismograph. Once all of the Raspberry Shakes around the world were networked together, it gives an accurate, real-time view of seismic activity anywhere you can imagine. If you’ve ever been interested in geology or just want to see where the latest earthquake was, check out their projects. But you don’t need even a Raspberry Pi to see where the earthquakes are, thanks to a Hackaday Prize entry all you need is a Twitter account.

Thanks to [Rich Cochran] aka [AG6QR] for the tip!

Don’t Forget Your Mints When Using This Synthesizer

While synthesizers in the music world are incredibly common, they’re not all keyboard-based instruments as you might be imagining. Especially if you’re trying to get a specific feel or sound from a synthesizer in order to mimic a real instrument, there might be a better style synth that you can use. One of these types is the breath controller, a synthesizer specifically built to mimic the sound of wind instruments using the actual breath from a physical person. Available breath controllers can be pricey, though, so [Andrey] built his own.

To build the synthesizer, [Andrey] used a melodica hose and mouthpiece connected to a pressure sensor. He then built a condenser circuit on a custom Arduino shield and plugged it all into an Arduino Mega (although he notes that this is a bit of overkill). From there, the Arduino needed to be programmed to act as a MIDI device and to interact with the pressure sensor, and he was well on his way to a wind instrument synthesizer.

The beauty of synthesizers is not just in their ability to match the look and sound of existing instruments but to do things beyond the realm of traditional instruments as well, sometimes for a greatly reduced price point.

Continue reading “Don’t Forget Your Mints When Using This Synthesizer”

Line Following Robot Without The Lines

Line-following robots are a great intro to robotics in general, since the materials and skills needed to build a good one aren’t too advanced. It turns out that line-following robots are more than just a learning tool, too. They’re pretty useful in industry, but most of them don’t follow visible marked lines. Some, like this inductive guided robot from [Randall] make use of wires to determine their paths.

Some of the benefits of inductive guidance over physical lines are that the wires can be hidden in floors, so if something like an automated forklift is using them at a warehouse there will be less trip hazard and less maintenance of the guides. They also support multiple paths, so no complicated track switching has to take place. [Randall]’s robot is a small demonstration of a larger system he built as a technician for an autonomous guided vehicle system. His video goes into the details of how they work, more of their advantages and disadvantages, and a few other things.

While inductive guided robots have been used for decades now, they’re starting to be replaced by robots with local positioning systems and computer vision. We’ve recently seen robots that are built to utilize these forms of navigation as well.

Continue reading “Line Following Robot Without The Lines”