Color Sensor Demystified

When [millerman4487] bought a TCS230-based color sensor, he was expecting a bit more documentation. Since he didn’t get it, he did a little research and some experimentation and wrote it up to help the rest of us.

The TCS3200 uses an 8×8 array of photodiodes. The 64 diodes come in four groups of 16. One group has a blue filter, one has green and the other has a red filter. The final set of diodes has no filter at all. You can select which group of diodes is active at any given time.

Continue reading “Color Sensor Demystified”

Talking With Bubbles

Despite the title, this isn’t a tale of conversing with Michael Jackson’s chimp. Rather, it is about [KyungYun]’s machine that transforms speech into whimsical bubbles. While the speech control is novel, we were more fascinated with how the mechanism uses a system of strings to blow bubbles, along with the workmanship to make the device portable.

The rate of fire isn’t that great, so the bubbles appear to simply get larger the longer you talk. Essentially, the device increases the size of the iris — the part that blows the bubble — until you pause speaking. Then it burps out a bubble.

Continue reading “Talking With Bubbles”

An Arduino Carbon Fiber Wrapping Machine

Many of the projects we feature on Hackaday are motivated by pure greed. Not on the part of the hacker, mind you; but rather the company that’s charging such an outrageous price for a mass produced item that somebody decides they can do the same thing cheaper as a one-off project. Which is precisely how [Bryan Kevan] ended up building his own carbon fiber tube wrapping machine. Not only do the finished tubes look fantastic, but they cost him a fraction of what even the “cheap” commercial ones cost.

The principle behind producing the tubes is really pretty simple: carbon fiber ribbon (or “tow”, in the official parlance) gets wrapped around a rotating mandrel, ideally in interesting patterns, and epoxy is added to bind it all together. When it’s hardened up, you slide the new carbon fiber tube off the mandrel and away you go building a bike frame or whatever it is you needed light and strong tubes for. You could even do it by hand, if you had enough patience.

[Bryan] had done it by hand before, but was looking for a way to not only automate the process but make the final product a bit more uniform-looking. His idea was to rotate a horizontal PVC pipe as his mandrel, and move a “car” carrying the carbon fiber ribbon back and forth along its length. The PVC pipe just needs to rotate along its axis so he figured that would be easy enough; and using a GT2 belt and some pulleys, getting the carbon-laying car moving back and forth didn’t seem like much of a challenge either.

The frame of the winder is built from the hacker’s favorite: 20/20 aluminum extrusion. Add to that an Arduino Uno, two stepper motors with their appropriate drivers, and the usual assortment of 3D printed odds and ends. [Bryan] says getting the math figured out for generating interesting wrap patterns was a bit tricky and took a fair amount of trial and error, but wasn’t a showstopper. Though we’d suggest following his example and using party ribbon during testing rather than the carbon stuff, as producing a few bird nests at the onset seems almost a guarantee.

One of the trickiest parts of the project ended up being removing the carbon fiber tubes from the PVC mandrel once they were done. [Bryan] eventually settled on a process which involved spraying the PVC with WD-40, wrapping it in parchment paper, and then using a strip of 3M blue painter’s tape to keep the parchment paper from moving. If you can toss the whole mandrel in the freezer after wrapping to shrink it down a bit, even better.

So was all this work worth it in the end? [Bryan] says he was originally looking at spending up to $70 USD per foot for the carbon fiber tubes he needed for his bike frame, but by buying the raw materials and winding them himself, he ended up producing his tubes for closer to $3 per foot. Some might question the strength and consistency of these DIY tubes, but for a ~95% price reduction, we’d be willing to give it a shot.

Years ago we covered a Kickstarter campaign for a very similar carbon winder. Probably due to the relatively limited uses of such a gadget, the winder didn’t hit the funding goal. But just like the current wave of very impressive homebrew laser cutters, the best results might come from just building the thing yourself.

Arduino Tachometer Clock Fires On All Cylinders

We’re certainly no strangers to unique timepieces around these parts. For whatever reason, hackers are obsessed with finding new and interesting ways of displaying the time. Not that we’re complaining, of course. We’re just as excited to see the things as they are to build them. With the assumption that you’re just as enamored with these oddball chronometers as we are, we present to you this fantastic digital tachometer clock created by [mrbigbusiness].

The multi-function digital gauge itself is an aftermarket unit which [mrbigbusiness] says you can get online for as little as $20 from some sites. All he needed to do was figure out how to get his Arduino to talk to it, and come up with some interesting way to hold it at an appropriate viewing angle. The mass of wires coming out of the back of the gauge might look intimidating, but thanks to his well documented code it shouldn’t be too hard to follow in his footsteps if you were so inclined.

Hours are represented by the analog portion of the gauge, and the minutes shown digitally were the speed would normally be displayed. This allows for a very cool blending of the classic look of an analog clock with the accuracy of digital. He’s even got it set up so the fuel indicator will fill up as the current minute progresses. The code also explains how to use things like the gear and high beam indicators, so there’s a lot of room for customization and interesting data visualizations. For instance, it would be easy to scrap the whole clock idea and use this gauge as a system monitor with some modifications to the code [mrbigbusiness] has provided.

The gauge is mounted to a small project box with some 3D printed brackets and bits of metal rod, complete with a small section of flexible loom to cover up all the wires. Overall it looks very slick and futuristic without abandoning its obvious automotive roots. Inside the base [mrbigbusiness] has an Arduino Nano, a DS1307 RTC connected via I2C, a voltage regulator, and a push button to set the time. It’s a perfectly reasonable layout, though we wonder if it couldn’t be simplified by using an ESP8266 and pulling the time down with NTP.

We’ve seen gauges turned into a timepiece before, but we have to admit that this is probably the most practical realization we’ve seen of the idea yet. Of course if you want to outfit the garage with something a bit more authentic, you can always repurpose a Porsche brake rotor.

Arduino RC Transmitter For Homebrew Projects

The field of radio control has benefited much from the onward march of technology. Where a basic 2-channel setup would once have cost hundreds of dollars, it’s now possible to get a high-end 2.4GHz 9-channel rig for well under $100, shipped to your door. However, the vast majority of these systems are closed-source and built for purpose. Sometimes, there are benefits to doing things your own way, and that’s precisely what this project does.

At its heart, it’s a simple combination. An Arduino Pro Mini talks to a NRF24L01 which handles the wireless communication. At that point, it’s up to you – throw in as few or as many controls as you like. For this build, [HowToMechatronics] has gone with a twin-stick setup, with a pair of potentiometers and twin toggle switches to round out the options.

The build comes in handy, as it’s possible to program in whatever features you may need for a given project. [HowToMechatronics] has used it to control a hexapod robot, among other projects. It’s a build that shows that with cheap and readily available parts, it’s possible to whip up a custom solution to suit your needs.

If this topic interests you.it’s worth saying that even those closed source radio control products can sometimes be hacked.

[Thanks to Baldpower for the tip!]

Arduino Hunts (and Sees) The Wumpus

For anyone who’s been fiddling around with computers since the days before VGA, “Hunt the Wumpus” probably brings back fond memories. Developed in 1973, this text game has you move around a system of caves searching for the foul-smelling Wumpus, a vile creature which you must dispatch with your trusty bow and arrow. Some consider it to be one of the very first survival horror games ever developed, a predecessor to the Resident Evil franchise as well as the video game version of Hannah Montana: The Movie.

If the concept of “Hunt the Wumpus” sounds interesting to you, but you just can’t get over the whole text adventure thing, you may be in luck. [Benjamin Faure] has developed a semi-graphical version of the classic horror title which might better appeal to your 21st century tastes. Running on an Arduino Mega 2560 with graphics displayed on a 8 x 8 LED matrix, it’s not exactly DOOM; but at least you won’t have to type everything out.

You are winner!

For his handheld version of “Hunt the Wumpus”, [Benjamin] 3D printed a nice enclosure and adorned it with labels and instructions that look like tiny scrolls, a neat touch for a game that’s so old contemporary players would have called Zork a “next gen” game. While playing you can see where you’ve been and where you are currently thanks to illuminated dots on the MAX7219 display, and there are LEDs to warn you of your proximity to bottomless pits and the Wumpus itself. There’s even a piezo speaker that will chirp when a bat is nearby, which is important as they have a tendency to ruin your day by carrying you away to a random location in the cave.

Most of the game looks like an advanced version of Snake, but [Benjamin] did go through the trouble of adding some rudimentary animations and sound effects that play during specific parts of the game. When you shoot your arrow or get carried away by a bat, you’ll see a “cutscene” of sorts on the LED display. It’s a fairly simple effect, but helps break up the otherwise fairly spartan graphics and might just be enough to keep a youngins’ attention.

If you subtract a dimension, this project is reminiscent of the 1D dungeon crawler we covered last year. But if even one dimension is too many, you could always run the text version of “Hunt the Wumpus on your trusty Arduino.

Continue reading “Arduino Hunts (and Sees) The Wumpus”

Electrifying A Vintage Outboard Motor

Clamped or bolted to the stern of the boat, outboard motors offer a very easy and (relatively) economical way of powering small craft. The vast majority of these outboards are gasoline powered, with electric models generally limited to so-called “trolling motors” which are often used to move slowly and quietly during fishing. That might be fine for most people, but not [Olly Epsom].

An engineer focusing on renewable energy by profession, [Olly] wanted to equip his small inflatable dinghy with a suitably powerful “green” propulsion system. Deciding nothing on the market quite met his requirements, especially for what manufacturers were charging, he decided to convert an old gas outboard to electric. Not only did he manage to do it for less money than a turn-key system would have cost, but he ended up with a system specifically geared to his exact requirements. Something he says will come in handy if he ever gets around to converting the dinghy to remote control so he can use it as a wildlife photography platform.

Put simply, an outboard motor consists of a gasoline engine with a vertical shaft that’s coupled to a right-angle gearbox with a propeller on the end. Beyond that they’re a fairly “dumb” piece of gear, so replacing the engine on top with something else should be (at least in theory) a pretty simple job. Especially on the small older model that [Olly] decided to use as a donor unit. The 1974 Johnson 2 HP motor didn’t have any tricky electronics in it to contend with; the thing didn’t even have a clutch.

Once [Olly] had removed the old gas engine from the top of the outboard, he designed an adapter plate in OnShape and had it cut out of aluminum so he could mount a beefy 1 kW 48 V brushless electric motor in its place. Connecting the new electric motor to the carcass of the outboard actually ended up being simpler than putting the original motor on, as this time around he didn’t need to reconnect the cooling pumps which would usually pull water from down by the propeller and recirculate it through the engine.

While the mechanical aspects of this project are certainly cool, we’re especially interested in the control system for this newly electric outboard. It uses a 3.2 inch Nextion color touch screen and Arduino Nano to provide a very slick looking digital “dashboard” which can convey motor status and other information at a glance. Unfortunately, [Olly] says the details on that part of the project will be saved for a future post, leaving us with only a single picture of the system’s interface for us to drool over until then.

We’ve seen the occasional seafaring project that made use of an electric trolling motor, and we’ve even seen an electric drill put in some overtime spinning a prop in the water. Converting gasoline boat over to electric is however a rarity. But much like electric car conversions, such projects may become more common as the cost and complexity of powerful electric propulsion systems continues to fall.

[Thanks to Alex for the tip.]