introduction to arduino - the livonia amateur radio club ... · 26.10.2015  · what can arduino...

18
Introduction To Presented by John Hopkins K8YYZ

Upload: others

Post on 30-Jun-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Introduction To

Presented by

John Hopkins

K8YYZ

Page 2: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

What is Arduino?

“Arduino is an open-source computer hardware

and software company, project and user

community that designs and

manufactures microcontroller-based kits for

building digital devices and interactive objects

that can sense and control the physical world.”Source: https://en.wikipedia.org/wiki/Arduino

Page 3: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

What Can Arduino Do?“Arduino is an open-source prototyping platform based on easy-

to-use hardware and software. Arduino boards are able to read

inputs - light on a sensor, a finger on a button, or a Twitter

message - and turn it into an output - activating a motor, turning

on an LED, publishing something online. You can tell your board

what to do by sending a set of instructions to the microcontroller

on the board.”Source: https://www.arduino.cc/en/Guide/Introduction

Page 4: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Microcontroller“A microcontroller is a small computer on a

single integrated circuit containing a processor

core, memory, and programmable input/output

peripherals. Microcontrollers are designed for

embedded applications, in contrast to

the microprocessors used in personal

computers or other general purpose

applications.”Source: https://en.wikipedia.org/wiki/Microcontroller

Page 5: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Why Use A Microcontroller?• Inexpensive

• Small

• Low power

• Many applications

– Consumer electronics

– Vehicles

– Appliances

– Home automation

– Microcontrollers are EVERYWHERE

• Internet of Things (IOT)

Page 6: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Atmel ATmega328P

• 8-bit/16MHz processor– equivalent to Intel 80286

• 32K Flash Memory/2K SRAM

• 5V operating voltage (7V-12V input)

• -40°F to +185°F temperature range

• 23 I/O lines

• Serial interfaces– USART

– SPI

– I2C

Page 7: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Arduino Ecosystem

• Arduino boards – UNO, Pro, Zero, Mega, Due, Mini, Micro, Nano, Yun, Gemma,

Lilypad

• Shields, sensors and peripherals (3rd party)

• Integrated Development Environment (IDE)– Windows, Mac, Linux

• Community– arduino.cc

– YouTube

– Bloggers

– Maker movement (Make: Magazine, Maker Faire, hacker spaces)

– Commercial ventures (adafruit, Maker Shed, Sparkfun, etc.)

Page 8: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Arduino Facts• Open source under Creative Commons license

– Design documents are openly available

– Software is also open source

• Introduced in 2005– Student project at Interaction Design Institute Ivrea in Ivrea,

Italy

– Team formed to provide a low cost alternative to the “BASIC Stamp” microcontroller board made by Parallax (~$100)

– Named after a bar where the team collaborated• Bar named after Arduin of Ivrea, king of Italy 1002-1014

• An estimated 300,000 Arduino boards produced by mid-2011. By 2013, roughly 700,000 boards were in use.Source: https://en.wikipedia.org/wiki/Arduino

Page 9: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Arduino is a BRAND

• Like Kleenex, Band Aid, Xerox, Velcro

• All Arduinos are microcontroller platforms

• Not all microcontroller platforms are Arduinos

• Also Arduino is not the same as Raspberry Pi

Page 10: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Arduino Uno

Page 11: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Shields

• Stackable boards that extend the capabilities

of Arduino

Prototyping Shield

Wifi Shield

GPS Shield LCD Shield

Motor Controller Shields (stacked) Datalogger Shield

Page 12: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

IDE

Page 13: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

IDE

Page 14: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Anatomy of a Sketch

Page 15: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Servo Control

Page 16: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Servo Control Via Potentiometer

Page 17: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Language

Page 18: Introduction To Arduino - The Livonia Amateur Radio Club ... · 26.10.2015  · What Can Arduino Do? “Arduino is an open-source prototyping platform based on easy-to-use hardware

Resources

• Arduino - www.arduino.cc

• Adafruit - www.adafruit.com

• Maker Shed – www.makershed.com

• Sparkfun - www.sparkfun.com

• Digi-Key - www.digikey.com

• All Electronics – www.allelectronics.com

• Jeremy Blum - youtube.com/user/sciguy14

• Make: - youtube.com/user/makemagazine