Any hams out there that need a quick-and-dirty morse code beacon? Then you might be interested in Mark VandeWettering’s Arduino Based Morse Beacon. I really like the clever way that he stores the code sequences for each character:

It’s a little bit clever (a very little bit) but I guess it does require some explanation. Morse code characters are all length six or less, and each element is either a dot or a dash, so it would seem that we can store the pattern in six bits. Let’s say that dits are zero and dahs are one. Lets store them so the first element gets stored in the least significant bit, and the next in the second most, and so on. The only trick is knowing when there are no elements left, because otherwise we can’t tell (for example) K (-.-) from C (-.-.) To do that, we store a single extra one after all the other elements are taken care of. Then, when we are looping, we do the following. If the pattern is equal to one, we are done (that’s our guard bit). If not, we look at the least significant digit. If it is a zero, we have a dit, if we have a one, it’s a dah. We then get rid of that element (by dividing by two, or shifting right if that floats your boat) and repeat. Voila. Each character takes only a single byte to store its pattern, and decoding is just done in a few instructions.

Mark admits that using an Arduino for this is a bit of overkill, however I think that convenience trumps component cost for one-of projects like this. If you are up for the challenge, however, you could probably build one with more esoteric components, such as an EEPROM+counter, or even a music-box type mechanical system. Anyone create something crazy cool like that?

In the Maker Shed:

Makershedsmall

Arduino Family

Make: Arduino

Read more | Permalink | Comments |

Read more articles in Arduino |

by-nc

SeismicReflector_cc.jpg

SeismicReflector2_cc.jpg

Living in the UK, Jim hadn’t experienced an earthquake firsthand. After watching recent quakes unfold in Indonesia, he decided to create a device that would keep him aware of the Earth’s seismic events. His Seismic Reflector uses a Processing-based software monitor which feeds data to very motorized Arduino –

The aim is to build a device which responds to earthquakes being reported in near-real time via the USGS RSS feeds. The device responds by illustrating the magnitude of the reported earthquake via two fairly chunky vibration motors of the kind used in video game controllers. The device is connected to a PC via a virtual com port over USB (thanks to an on board Arduino). On the PC, an application sits there checking the RSS feed periodically and when a new event it posted to the RSS feed, the desktop app parses the data out of it and presents the magnitude of the quake to the Arduino which interpreters this as rate at which to activate the vibration motors.

[…]
I’d just like to stress that this project is about empathising in some small way with victims of earthquakes.  I’m not trying to make light of peoples anguish or suffering, and I’m not trying to play on peoples fears of an impending “big one”.  I do not experience many earthquakes where I live, but I know a lot of people around the world (specifically around the Med and the Pacific) do.  This is my attempt to understand that feeling a bit better.

Check out the Seismic Reflector instructable for details.

In the Maker Shed:

Makershedsmall

MKAD7-212.jpg

MotorShield for Arduino Kit

Read more | Permalink | Comments |

by-nc

Ordnance Survey maps to go online http://bit.ly/pFoLk

by-nc
You are protected by wp-dephorm: