You are on page 1of 49

Ham Radio Applications with the Arduino Micro-Controller

Michel Hill, W8DER

Grand Rapids Amateur Radio Association

Demo of Drone Aircraft by Al, KC8OPU

GRARA February Meeting

Demo of Drone Aircraft by Al, KC8OPU


Arduino Mega Controlled Flight Control System

GRARA February Meeting

Discovering the Arduino


Looking for an easier way to develop fox hunting microcontroller devices Looking cheaper microcontroller development system ARRL Leadership Workshop Detroit Clubs & Arduino Projects Looking for club DIY Projects Interest in a club fundraising products
Arduino Micro Controllers

What is a Micro-controller?
A micro-controller is a complete computer on a single chip.

Atmega328

What's Inside a Micro-controller?


Central Processor Program Memory Scratchpad Memory EEProm Memory UART (Com Port) A to D Converters D to A Converters Interrupt Circuitry

Control Logic Watchdog Circuitry Power up/down Circuitry I/O Pin setup circuitry Master Clock Circuitry Simple Serial Interface

Many Ham Applications


Remote station controls Fox hunting compass hdg Fox hunting GPS bearings Fox Transmitter Controller Code and SSB auto keyers Morse code reader/display Propagation beacon Controller Web server Remote Controls Wireless sensor networks Motor speed/direction controls Digital camera controller Tone Generator DDS Signal Generator Frequency Counter Controller Radio Control

Data collection & logging APRS Controls Antenna switching and direction controls Packet radio controller Antenna tuner control Data entry and display Repeater Controls GPS Loggers for balloon ham radio flights Satellite equipment controllers and trackers Robotics Model Railroad Control

Grandpa Apps: Robotics, Model Railroad Controls and Automation

Advantages of Arduino
Commercial Micro-controller Systems
Commercial Development

over

Arduino Development

Programming knowledge Electronics knowledge Computer architecture knowledge Expensive development software and equipment

Very little experience to start hard work is done Public domain HWD & SW Low cost hardware ~ $30 Free Software Concentrate on learning one area at a time Lots of resources on the web Expandability Readily available parts

The Arduino Development System


A neat addition to the ham radio hobby

An open source software programming environment (http://www.arduino.cc) An open source hardware prototyping environment

For micro-controller based devices

The Arduino Open Source Software Programming Environment


http://www.arduino.cc
Download: Windows Mac OS X Linux: 32 bit, 64 bit An extremely well simplified, yet powerful version of the C/C++ Programming Language. Perfect for learning by the hobbyist and experimenter.

The Arduino Open Source Hardware Prototyping Environment


Micro-controller break-out boards, functional shield boards, prototype shield boards, Arduino sensors Most add-on circuitry comes with software examples and software libraries where necessary.

Start on a shoestring....

Downoad Free Software from http://www.arduino.cc

Arduino is outrageously affordable

Common Arduino Boards The Arduino UNO R3

Processor: Atmega328
Program Memory: 32K RAM Memory: 2K EEProm Memory: 1K Processor Speed: 16 Mhz Digital Input/Output: 14 PWM Outputs: 6 Analog Inputs: 6 New Enhanced USB chip & 3.3v output. Amazon Price: $21.95

Common Arduino Boards The Arduino Duemilanove R3

Processor: Atmega328

Program Memory: 32K RAM Memory: 2K EEProm Memory: 1K Processor Speed: 16 Mhz Digital Input/Output: 14 PWM Outputs: 6 Analog Inputs: 6 Amazon Price: $19.95

Common Arduino Boards The Arduino Mega 2560 R3

Processor: Atmega2560

Program Memory: 256K RAM Memory: 8K EEProm Memory: 4K Processor Speed: 16 Mhz Digital Input/Output: 54 PWM Outputs: 15 Analog Inputs: 16 Amazon Price: $54.45

Common Arduino Boards The Arduino Nano R3

Processor: Atmega328

Program Memory: 32K RAM Memory: 2K EEProm Memory: 1K Processor Speed: 16 Mhz Digital Input/Output: 14 PWM Outputs: 6 Analog Inputs: 8 Amazon Price: $19.99

New! Released October 22, 2012 The Arduino Due 32-bit Controller

Processor: AT91SAM3X8E Program Memory: 512K RAM Memory: 96K EEProm Memory: ?K Processor Speed: 84 Mhz Digital Input/Output: 54 (6 PWM) Analog Outputs: 2 Analog Inputs: 12 Initial Price: $49.00 to $82.00 Debug Access connector Same Programming IDE

Pronounced Doo-eh

The Arduino UNO Board Layout

Shields Make I/O Expansion Easy


Stackable shields expand I/O interface. Hundreds of shields available. Motor Control WiFi Network Ethernet Mesh networks Low cost point to point com Displays Sensors Memory Relays Many, many more. See http://www.shieldlist.org
Sparkfun.com GPS Shield
A full GPS Receiver interfaced to the Arduino UNO

APRS Radio Shield


Packets are sent and received in AX.25 UI frames at 1200 baud. This allows operation on the VHF APRS network.

Digital Displays

Shields Make Prototyping Easy

Photo: John Boxall

Relay Interface Boards

Sensors

Heat sensor Humidity sensor Gas sensors Shaft encoder Photo sensor Geiger sensor Photo/light sensor Fingerprint reader

Infra red transmitter Infra red receiver Flex sensor Mag hdg sensor

The Arduino Micro-Controller Board


The Open-Source Micro-Controller Prototyping Platform

Digital Inputs and Outputs

Note: D0 13 are digital inputs by default, but can be changed to digital outputs during setup.

The Analog Inputs

Note: A0 A5 are analog inputs by default, but can be changed to digital inputs and digital outputs during setup..

Sample Applications

Fox hunting transmitter controller Display Shield, LCD Signal Generator Stepper Motor Pointer Morse Code from a PS2 Keyboard Remote Control Web Server Station Control Relay Board Mesh Networks for Home Use

The Byonics PicCon Fox-Box Controller

A Breadboard FoxBox Controller


DTMF Control/Interface Board

The Arduino Microcontroller Board

Arduino Duemilanove with a Display/Keyboard Shield

Arduino & DDS AD9650 0 - 40 Mhz Signal Generator

Arduino Driving a Stepper Motor

(Put that old PS2 Keyboard to use)

The Morse Code Keyboard

Remote Control Web Server

Remote Control Web Server


And the...

PowerSwitch Tail II

Remote Control Web Server

with the Arduino Nano Micro-Controller

Station Control Relay Board

Mesh Networks of Arduinos


Arduino XBee Node Sensor XBee Node

Laptop

Router XBee Node

Sensor XBee Node

Arduino XBee Node

Sensor XBee Node

Laptop

Arduino Xbee Node

Sensor Xbee Node Router Xbee Node

The W8DER Bucket List of Future Arduino Projects #1

The W8DER Bucket List of Future Arduino Projects


GPS enabled fox hunting antenna Arduino interface to digital camera Master/Slave fox box controls Digital logic synthesizer Infra-red controls - ham station Infra-red controls robotics Complete the home xBee network Raspberry-pi Graphical I/O Interface

The Programming Process


Laptop Computer Arduino Microcontroller

Bootloader

Compiler

USB Cable

1001100101 0100111010 0011100010 1110000000 0001110100 CPU

1001100101 0100111010 0011100010 1110000000 0001110100

Pin 13

Writing a Sketch with the Arduino Integrated Development Environment (IDE)

Getting Started With Books

Reference Books

Mechanical Interface Reference

(Going Wild!)

Arduino Web Links

http://www.arduino.cc http://wiring.org.co/learning/basics/ http://www.shieldlist.org

Arduino Sites:

Arduino Discussion Groups

http://groups.yahoo.com/group/arduinohome http://groups.yahoo.com/group/arduino http://groups.yahoo.com/group/rc-arduino http://groups.yahoo.com/group/HEAP1

Yahoo Groups:

http://arduinotronics.blogspot.com http://arduino.cc/forum/ http://www.cheat-sheets.org/saved-copy/Arduinocheat-sheet-v02c.pdf

Other Lists:

Arduino Suppliers

http://www.Amazon.com http://www.sparkfun.com http://www.sainsmart.com http://www.jameco.com http://www.adafruit.com http://www.mouser.com/arduino http://www.digikey.com/arduino Http://www.makershed.com

Just Google Arduino Suppliers for many more.

Got an idea? Join thousands of other hams who are developing Arduino applications.

The Beginning

You might also like