Saturday, March 23, 2013

Ham Radio for Arduino and Picaxe

Ham Radio Meets Open Source Electronics

Microcontroller technology has exploded in popularity among ham radio operators. The new generation of single-board microcontrollers is easier than ever to use, bringing together hardware and software for project-building most radio amateurs can easily dive into.

With inexpensive microcontroller platforms – such as the popular open-source Arduino board – along with readily available parts, components and accessory boards, the possibilities are limitless: beacon transmitters, keyers, antenna position control, RTTY and digital mode decoders, waterfall displays, and more.

Editor Leigh L. Klotz, Jr, WA5ZNU has assembled this first edition of Ham Radio for Arduino and PICAXE to help introduce you to the rewards of experimenting with microcontrollers. Klotz and many other contributors have designed projects that will enhance your ham radio station and operating capabilities. Or, you can take it to the next step, using these projects as a launch pad for creating your own projects.

Sunday, March 17, 2013

Missing Arduino Analog Inputs, and the Random Function

The Atmel 328P chip used on many of the Arduino boards actually has 8 Analog Inputs, but specifically with the DIP version instead of the SMT, there weren't enough pins on the DIP carrier to bring those ports out for use. On some of the SMT versions, like the Pro Mini, Ports A6 & A7 are available as analog inputs, but not multi purpose (Digital I/O) like A0-A5.

Even on the UNO, which doesn't bring A6 & A7 out to a pin, we can still make use of these ports. The Random function is a common function for many applications, as it seems to provide a random number generator that can be used for dice games, and other applications. However, unless seeded by a varying start number, it actually is quite predictable.

One neat feature of an analog input is referred to as a floating input. This is a input that is not connected to anything. If you try to read it, the values will be all over the place, based on changing electrical fields nearby. We can use either of these two phantom analog inputs as seeds for the random function, ensuring a truly random output.

long randNumber;

void setup(){

void loop(){
  randNumber = random(300);


More Info:

Related Posts Plugin for WordPress, Blogger...