+ All Categories
Home > Documents > Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a...

Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a...

Date post: 13-Oct-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
50
Introduction to Arduino by Barry van Kampen [email protected]
Transcript
Page 2: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Who?

• Fish_ aka Barry?

• Proud to be a Nerd at ITQ

• Founder of Randomdata

• HiTB 2010 Amsterdam

• 0xThinker!

• The sky is NOT the limit

Page 3: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Agenda

• What you can and what we do

• Introduction to Arduino hardware

• Arduino 1-2-3

• HandsOn!

Page 4: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Experience?

Page 5: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect
Page 6: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect
Page 7: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Blinky!

Page 8: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Blinky!

Page 9: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Blinky!

Page 10: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Blinky!

• Website: http://www.randomdata.nl/blinky/

• Twitter: http://www.twitter.com/randomblinky

• Details & code: http://www.randomdata.nl/wiki/index.php/Adruino_14_segment_LED_board

Page 11: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Garduino

Page 12: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect
Page 13: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Garduino

Page 14: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Garduino

• Stats:

• Details & code: http://www.randomdata.nl/wiki/index.php/Garduino

Page 15: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Other projects

• Blinky 2.0

• Garduino extentions

• Beer/barduino (Brucon)

• Space automation

Page 16: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Arduino

The serial single sided

Page 17: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Arduino

The serial

Page 18: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Arduino

The pro mini

Page 19: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Arduino

The pro

Page 20: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Arduino

The Lilypad

Page 21: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Arduino

Arduino BT

Page 22: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Arduino

The Diecimila

Page 23: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Arduino

The Duemilanove

Page 24: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Arduino

The boarduino

Page 25: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Arduino

The mega

Page 26: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Arduino’s

Page 27: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Shields

• A shield extends your Arduino functionality

• Shields come in much variety

• Shields are usual compatible with the “classic” arduino’s

Page 28: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Shields

Protoshield

Page 29: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Shields

Ethernetshield

Page 30: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Shields

Motorshield

Page 31: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Shields

RFiDuino

Page 32: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Shields

GPS shield

Page 33: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Shields

Optoshield

Page 34: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Shields

Waveshield

Page 35: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Shields

USB shield:http://www.circuitsathome.com/category/mcu/arduino/usb-shield

Page 36: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

The GUI

• Multi platform

• OSX

• Windows

• Linux

• Easy to use

• Examples to start

Page 37: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

The GUI

Page 38: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

The Code

• C-like language

• Examples :-)

• setup “routine”

• loop “routine”

Page 39: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Practice

• Install the gui

• Hookup

• First code: hello world

• Play around with Arduino

Page 40: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Install the GUI

1. Download the arduino software: http://arduino.cc/en/Main/Software

2. Install the USB drivers

Page 41: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Hello World Arduino

1. Connect the Arduino

2. Start the Arduino software

3. You’re ready to code

Page 42: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Practice 1

Page 43: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Practice 1

• Insert a LED in pin 13* and the ground next to it.

• Open the Arduino programm

• Connect the Arduino to your laptop with USB

* pin 13 has an on board resistor, the rest doesn’t!

Page 44: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Practice 1• Open an example:

Page 45: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Practice 1• Select your serial port

Page 46: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Practice 1• Upload the code

Page 47: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

Watch the LED

Page 48: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

0xTH1NK3R

Page 49: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

0xTH1NK3R

• shields: ethernetshield, datashield, rfidshield

• LEDwar? Knight-rider, randomblink,

Page 50: Introduction to Arduinoconference.hitb.org/hitbsecconf2010ams/materials...Practice 1 • Insert a LED in pin 13* and the ground next to it. • Open the Arduino programm • Connect

?


Recommended