Which Way Are We Going? Concepts Behind Rotary Encoders

[Pete] needed a rotary encoder for one of his project so he set out to build his own. As the name implies, a rotary encoder measures rotation by encoding “steps” into electrical signals which can be measured by a microcontroller (or used in numerous other ways). Knowing the degrees of movement for each step will allow you to calculate precise distance traveled in applications like robot wheels. Or you can simply use the rotating shaft as an input device which navigates menus or settings.

This concept is a good one to understand. We had originally planned to build rotary encoders for the multi-person Duck Hunt at Hackaday’s 10th Anniversary but the build-off crew had difficulty getting the system to work. In [Pete’s] case he’s using photointerrupters (apparently the IR beam is easily detected through the white paper but usually these parts would be cut out of the disk). We were using reflectance sensors. Either way there’s a trick to detecting which direction a rotary encoder is turning. We’ll explain that for you after the break.

Continue reading “Which Way Are We Going? Concepts Behind Rotary Encoders”

Arietta G25 Has Us Wondering Where ARM Boards Are Going

ARIETTA-G25-256

This tidy little ARM board is the Arietta G25. It’s based around an AT91SAM9G25 which is an ARM9 chip running at 400MHz. Paired with the DDR2 RAM (in 128 or 256 meg options) to the left, the board runs Linux and runs it well. After the break you can see the obligatory running of Doom. But in this case it doesn’t just run a demo, but is playable from momentary push buttons on a breadboard (props to the Arietta team for using wire wrap for that setup).

See the vertical row of pads between the processor and the SD card slot? That’s a breakout header designed to accept a WiFi module. In at €20-30 based on your RAM choice and just €7 for the WiFi module this board is certainly a contender for any embedded Linux projects. But it does have us wondering, should be thinking of these as ARM boards, or forget the low-level development and just think of them as a Linux machines with plenty of GPIO available?

The 20×2 pin header breaks out a lot of the SAM9’s features. We really like the interactive pinout posted for this device. For instance, there are three sets of USB host lines available. But you’ll want to click on each to see that one set is in use for the SD card, and another is used by the WiFi module. The documentation that has been posted for the Arietta G25 is one of its strongest point. Nice work there!

Continue reading “Arietta G25 Has Us Wondering Where ARM Boards Are Going”

The Platinum Catalyst Use In A Vintage Lighter

[Ben Krasnow] has an inimitable knack for choosing the most interesting concepts for his experiments. We’re sure it’s a combination of base knowledge and epic-curiosity. This time around he’s showing off a vintage cigarette lighter whose quirk is not needing to be “struck” to produce a flame. It’s a catalytic lighter that uses platinum to ignite methanol vapors.

The concept shown in the video below is platinum’s catalyst properties with some types of flammable gasses. The image above shows the cap of the lighter which includes a protective cage around a hunk of fine platinum powder known as platinum black. It is suspended by platinum wire and as the hydrogen passes by the reaction causes the platinum black and wire to glow red-hot.

This simple, quick experiment fills in our own knowledge gaps. We were already familiar with the role that catalytic converters play in automobiles; consuming any unburned hydrocarbons before they exit a vehicle’s exhaust system. We also know the these devices are targets for thieves seeking the platinum (and other metals like palladium and rhodium) found inside. Now we know exactly how catalytic converters work and the integral role that platinum plays in the process. All thanks to [Ben’s] demonstration of how this lighter works.

Now, if you wear a platinum wedding band and your hand passes a jet of hydrogen are you likely to get burned?

Continue reading “The Platinum Catalyst Use In A Vintage Lighter”

Fixing Faulty But Genuine Apple Power Adapters

apple The standard power adapter for Apple laptops is a work of art. The Magsafe connector has saved more than one laptop owned by the Hackaday crew, and the power brick with interchangeable plugs for different countries is a work of genius. Being a miracle of modern manufacturing doesn’t mean Apple gets it right all the time; the UK adapter doesn’t use the ground plug, leading to the power supplies singing at 50 Hz when plugged in. [Gareth] had had enough of the poor design of his charger and decided to fix it.

The Apple power adapter has two obvious connections, and another shiny metal disk meant for a connection to Earth. In most of the Apple charger ‘extension cords’, this earth connection is provided by the cord. In the smaller plug adapters – even ones where space is not an issue, like the UK plug – this connection is absent.

To fix this glaring oversight, [Gareth] shoved some aluminum foil where the earth terminal on the plug should go. A hole was drilled through the plug to connect this foil to the Earth socket terminal, and everything was covered up with kneadable epoxy.

No, aluminum foil probably won’t do its actual job of preventing horribleness in the event of an insulation failure or short. It will, however, silence the 50 cycle hum emanating from the power adapter, and that’s good enough for [Gareth].

Finding Meteors, Satellites, And Star Trails With A Raspberry Pi

meteorite

The Raspberry Pi is an incredibly popular, cheap, and low power computer that also has a nifty camera add-on that is completely programmable. This opens up a log of possibilities for long-exposure photography, and [Jippo] has found the best use so far: long exposure astrophotography for capturing meteors, satellites, and star trails.

[Jippo] is using a stock Raspi and camera module with a little bit of custom software written by his friend [Jani Lappalainen] that grabs image data from the camera and saves it either as a time-lapse, or only when something significantly changes. This would include meteors and Iridium flares, as well as passing planes, reflections of satellites, and of course long-exposure star trails.

So far, [Jippo] has already captured enough images to amount to a great night of skywatching. There’s a great picture of a meteor, a few pictures of satellites reflecting the sun, and some great star trails. The software [Jippo] is using is available on his site along with a gallery of his highlight reel.

Gearshift Display For A Rally Car

[Andrea] was helping out a local rally racing team with their car and was asked to create a device that would display the current gear on a big, bright display. Of course, a device like this already exists, but the team didn’t want to invest the significant resources into a ready-made product. Instead, [Andrea] was tasked with creating one.

The device is basically a pot attached to the gear shifter, but in testing, [Andrea] ran into a problem; between reverse and 5th gear, the shifter would turn 360 degrees, meaning these gears were indistinguishable.

The solution to this problem was a calibration procedure for when the driver starts the car. By setting a jumper, the driver puts the car into all gears, sorting out the reading and storing the analog values in the microcontroller’s EEPROM.