Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and...

29
Introduction to Arduino Microcontrollers ...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified by Mike Sharpe, W8XH October 12, 2014

Transcript of Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and...

Page 1: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Introduction to Arduino Microcontrollers

...and how they can be used in Amateur Radio

Andrew Rohne, KE8PFebruary 6, 2013

Modified by Mike Sharpe, W8XHOctober 12, 2014

Page 2: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Presentation Outline

• Basics• Terminology• Hardware• Amateur Radio Applications• Getting Started

Page 3: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

What is a Microprocessor?

• Microprocessor is an IC which has only the CPU

inside. These microprocessors don’t have RAM,

ROM, and other peripheral on the chip.

• A system designer has to add the RAM, ROM,

and other peripherals externally to make them

functional.

• Application of microprocessor includes Desktop

PC’s, Laptops, notepads etc.

Page 4: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

What is a Microcontroller?

• A Microcontroller has a CPU, in addition with a

fixed amount of RAM, ROM and other

peripherals all embedded on a single chip.

• Microcontrollers are designed to perform specific

tasks where the relationship of input and output is

defined

Page 5: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

What is it?

Page 6: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

• Open Source Hardware• Open Source Bootloader• Open Source Development Kit• Community Driven Support

Open Source

Page 7: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Terminology

• I/O Board - main microcontroller• Shield - add-on boards• Sketch - the program• Sensor - components (thermistors, etc.)• Modules - serial data (GPS module, etc.)

Page 8: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Digital IO (LEDs, switches)Analog IO (resistive sensor data)Serial Connection (Sensors, GPS, etc)

Program from your computer

Your limit is only your creativity!

What do these do?

Page 9: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Arduino I/O Boards

Page 10: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

More Boards

15 current boards

Page 11: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Compatible Boards

These are two of MANY!

Page 12: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Compatible Boards

Page 13: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Shields

Page 14: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Touchscreen Shield

Wave Shield

Datalogging Shield

Shields

Page 15: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Ethernet Shield

XBee Shield

Wifi Shield

More Shields…

Page 16: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

And more shields…

Page 17: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

APRS Shield

Even more shields!

Page 18: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Modules

Bluetooth Module

GPS Module

RFID Module

Temperature & Humidity Sensor

Page 19: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Sensors and Modules

Gas Sensor Temp & Humidity

Flex Sensor

Fingerprint Scanner

Geiger Counter

Page 20: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Photoresistor, infared, force sensitive resistor, Hall effect, Piezo, tilt sensor..

Sensors

Page 21: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Sketches

Includes

Globals

void setup()

void loop()

Page 22: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Amateur Radio Applications

Page 23: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Applications - APRS

Argent DataTrackduino

Page 24: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Morse Code Keyboard

Page 25: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Arduino Controlled Tuner

Page 26: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Arduino SimpleSat Rotor Controller

http://amsat-uk.org/info/simplesat-rotor-controller/

Page 27: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

• Weather Stations• Remote Antenna Switches

Other Examples

Page 28: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

Sparkfun Getting Started in Arduino Kit ($95)Sparkfun Starter Kit for Arduino ($60)Adafruit Experimentation Kit ($85)Adafruit Starter Pack ($65)

OR

Arduino Board (Uno $20 or Mega $35) +Breadboard, wires, components, etc.

Getting Started

Page 29: Introduction to Arduino Microcontrollers - SLAARC...Introduction to Arduino Microcontrollers...and how they can be used in Amateur Radio Andrew Rohne, KE8P February 6, 2013 Modified

With Starter Sets

Book is open source!