Ride, Captain, Ride Aboard Your Arduino-Controlled Autopiloted Sailboat

[Jack], a mechanical engineer, loom builder, and avid sailor wanted an autopilot system for his 1983 Robert Perry Nordic 40 sailboat with more modern capabilities than the one it came with. He knew a PC-based solution would work, but it was a bit out of reach. Once his son showed him an Arduino, though, he was on his way. He sallied forth and built this Arduino-based autopilot system for his sloop, the Wile E. Coyote.

He’s using two Arduino Megas. One is solely for the GPS, and the other controls everything else. [Jack]’s autopilot has three modes. In the one he calls knob steering, a potentiometer drives the existing hydraulic pump, which he controls with a Polulu Qik serial DC motor controller. In compass steering mode, a Pololu IMU locks in the heading to steer (HTS).  GPS mode uses a predetermined waypoint, and sets the course to steer (CTS) to the same bearing as the waypoint.

[Jack]’s system also uses cross track error (XTE) correction to calculate a new HTS when necessary. He has fantastic documentation and several Fritzing and Arduino files available on Dropbox.

Autopilot sailboat rigs must be all the rage right now. We just saw a different one back in November.

Continue reading “Ride, Captain, Ride Aboard Your Arduino-Controlled Autopiloted Sailboat”

Controlling Cheap, Awesome Christmas Lights

LEDs

[James] was wandering around Walgreens after Christmas and found something very interesting – RGB LED Christmas lights that were individually addressable. At $6.50 for a strand of 15 lights, he just had to buy a few and figure out the control protocol. After all, who can turn down a big, cheap, controllable RGB LED strip?

The packaging for these lights – apparently manufactured by BriteStar – includes a ‘try me’ button that cycles through different light patterns. This button is what initially tipped [James] off to the fact the lights on this strand could be individually controllable. Opening up one of the lights, he found exactly what he wanted: an epoxy blob, two wires for power, and three wires for the signaling.

After checking out this light with a scope and logic analyzer, [James] realized there was a very, very simple protocol going on. Essentially, the entire string functioned as a gigantic shift register, taking the values for one light and pushing it down the string. In looking at the protocol, [James] also discovered] these lights support 16 levels of brightness. Yep, RGB LED Christmas Lights with PWM for under $7. Can’t beat that.

[James] wrote an Arduino library to control these strings and put it up on Github. While your local Walgreens has probably already hidden these lights away in the back of the store, it might be worth asking around to see if they have any left.

Retro Chaser Sign Lights Up Your Life

lighted-sign

[Gnsart] builds props often used in the film industry. He’s created an amazing retro Vegas style light chaser sign. The sign was started as a job a few years ago. While [Gnsart] could handle the physical assembly, the cost of a mechanical light chaser pushed the project over budget. The sign project was cancelled back then, but he never forgot it.

Fast forward to a few weeks ago. [Gnsart] happened upon the Arduino community. He realized that with an Arduino Uno and a commonly available relay board, he could finally build the sign. He started with some leftover cedar fence pickets. The pickets were glued up and then cut into an arrow shape. The holes for the lights were then laid out and drilled with a paddle bit. [Gnsart] wanted the wood to look a bit aged, so he created an ebonizing stain. 0000 steel wool, submerged and allowed to rust in vinegar for a few days, created a liquid which was perfect for the task. The solution is brushed on and removed just like stain, resulting in an aged wood. We’ve seen this technique used before with tea, stain, and other materials to achieve the desired effect.

[Gnsart] then built his edging. 22 gauge steel sheet metal was bent to fit the outline in a bending brake. The steel sheet was stapled to the wood, then spot welded to create one continuous piece. Finally, the light sockets were installed and wired up to the Arduino. [Gnsart] first experimented with mechanical relays, and while we love the sound, we’re not sure how long they’d last. He wisely decided to go with solid state relays for the final implementation. The result speaks for itself. LEDs are great – but there is just something about the warm glow of low-wattage incandescent lights.

Continue reading “Retro Chaser Sign Lights Up Your Life”

A Low Cost Dual Discriminator Module For The Easy-phi Project

A few months ago I presented you the Easy-phi project, which aims at building a simple, cheap but intelligent rack-based open hardware/software platform for hobbyists. With easy-phi, you simply have a rack to which you add cards (like the one shown above) that perform the functions you want.

Recently my team finished testing our FPGA-based discriminator or “universal input” if you prefer. As easy-phi cards use a well-defined electrical signal to communicate with each other, we needed to make a card that would translate the different kinds of electrical signals from the outside, as well as perform plenty of other functions. It was therefore designed to have a 100MHz input bandwidth with an AC/DC coupled 50 ohm/high impedance input stage (x2) and 4 easy-phi outputs. For this module, we picked the (old) spartan3-an FPGA to perform the different logic functions that may be needed by the final users (high speed counter, OR/XOR/AND, pulse creation,…). Using the cortex-m3 microcontroller present on the board, it may be easily reconfigured at will. All design resources may be found on our Github, and you can always have a look at our official website.

Myst(ery) Box

Anyone remember the game Myst? Well, [Michael] and his girlfriend have been playing quite a bit of it lately, so for her birthday, he decided to make her something inspired from it.

For those unaware of the classic that is the Myst series, it is a set of games that started back in 1993 where you assume the role of the Stranger who gets to explore other planets (called Ages) to solve various logical and mechanical puzzles.

Anyway, [Michael] got his girlfriend tickets to visit GC319QK (a geocache site requiring diving) — since the gift is a relatively small token, it was logical for [Michael] to make a fancy box for it — and that’s exactly what he did. It’s a peculiar little wooden box with LEDs, a button, a latch, an unplugged wire, different rods and strange looking sensors — and it is a very clever little puzzle.

We could explain to you how it works (with the Arduino, phototransistors and maybe the source code), but instead we think you’ll enjoy watching [Michael’s] video of it.

Continue reading “Myst(ery) Box”

Gotta Catch ‘Em All, With An Arduino

PKMN

For every pokemon you encounter on your adventure to become the world’s greatest trainer, you have about a 1 in 8000 chance of that pokemon being ‘shiny’, or a different color than normal. Put an uncommon event in any video game, and of course a few people will take that feature to the limits of practicality: [dekuNukem] created the Poke-O-Matic, a microcontroller-powered device that breeds and captures shiny pokemon.

We’ve seen [dekuNukem]’s setup for automatically catching shiny pokemon before, but the previous version was extremely limited. It only worked with a fishing rod, so unless you want a ton of shiny Magikarp the earlier setup wasn’t extremely useful.

This version uses two microcontrollers – an Arduino Micro and a Teensy 3.0 – to greatly expand upon the previous build. Now, instead of just fishing, [dekuNukem]’s project can automatically hatch eggs, search patches of grass for shiny pokemon, and also automatically naming these new shiny pokemon and depositing them in the in-game pokemon storage system.

The new and improved version works a lot like the older fishing-only automated pokemon finder; a few wires soldered on to the button contacts control the game. The Teensy 3.0 handles the data logging of all the captured pokemon with an SD card and RTC.

What did [dekuNukem] end up with for all his effort? A lot of shiny pokemon. More than enough to build a great team made entirely out of shinies.

Video below, with all the code available through a link in the description.

Continue reading “Gotta Catch ‘Em All, With An Arduino”

An Arduino With Better Speech Recognition Than Siri

The lowly Arduino, an 8-bit AVR microcontroller with a pitiful amount of RAM, terribly small Flash storage space, and effectively no peripherals to speak of, has better speech recognition capabilities than your Android or iDevice.  Eighty percent accuracy, compared to Siri’s sixty.Here’s the video to prove it.

This uSpeech library created by [Arjo Chakravarty] uses a Goertzel algorithm to turn input from a microphone connected to one of the Arduino’s analog pins into phonemes. From there, it’s relatively easy to turn these captured phonemes into function calls for lighting a LED, turning a servo, or even replicating the Siri, the modern-day version of the Microsoft paperclip.

There is one caveat for the uSpeech library: it will only respond to predefined phrases and not normal speech. Still, that’s an extremely impressive accomplishment for a simple microcontroller.

This isn’t the first time we’ve seen [Arjo]’s uSpeech library, but it is the first time we’ve seen it in action. When this was posted months and months ago, [Arjo] was behind the Great Firewall of China and couldn’t post a proper demo. Since this the uSpeech library is a spectacular achievement we asked for a few videos showing off a few applications. No one made the effort, so [Arjo] decided to make use of his new VPN and show off his work to the world.

Video below.

Continue reading “An Arduino With Better Speech Recognition Than Siri”