SlideShare a Scribd company logo
Introduction to Arduino
Preet Sangha
23 May 2016
Shameless Plugs
• Who am I?
• Why am I here?
• Who are you, and why are you here? ;-)
What I’m covering
• Jump start
• What is it
• How to start using it
• Even cooler stuff
Yes … there will be demos
What is Arduino?
Many Types
It’s Open Source
• Both hardware design and software
• Based on an earlier project(?)
• Don’t call it Arduino though!
• Funduino
• Diavalino
• Freeduino
• Seeeduino
• Nanocode
• Arduino name belongs to Arduino.cc
Basics
• The world is analogue (analog)
• Computers are mostly digital
• Arduino bridges divide
• Make complex decisions with simple code
A real world problem!
What about computers?
• Yes you can, but
• Problems
• Physical size
• Complexity
• Drivers
• $$$
• What about smart phones?
• Yes mostly the same issues
Microcontrollers
• Cheap
• Ubiquitous
• But have limited resources
• Need (some) careful design
• Automate almost anything
• Imagination v. credit card
Isn’t it complex?
• Only if you want • Can start very simply
Ok I’m in…
How do I start?
Buy a few things
Breadboard
Wires
ResistorsA board
LEDs
Or a starter kit
http://www.geeker.co.nz/kits/arduino/ard
uino-starter-kit-standard.html
Arduino Starter Kit (24 Project)
Or just use a free simulator
https://123d.circuits.io
Arduino is a platform
• Many different microcontrollers
• Some more powerful than others
• Different strengths/weaknesses
• hardware < == > software libraries
• No lock in
• The Arduino IDE
A common experience
What about the Raspberry Pi
• Not Arduino
• It’s a microprocessor/computer
• Much more versatile but more complex
• Can do many things – it’s a computer!
• Costs more!
So why use Arduino?
• Easily talks to hardware
• Educational – heaps of resources/examples
• Simple to get going
• No operating system in your way
• Just your hardware and your code
Coding
• C like language*
• Windows/Linux/Mac
• Heaps of examples
• Forgiving
Coding
• Easy start
• Download
• Install
• Connect
• Go!
• Need two functions only
• setup()
• loop()
Connect 1/2
• Set the board
Connect 2/2
• Set the port
Time to do some demos!
1. Actuate
2. Sense
3. Control
4. Internet of Things
Demo 1 - Lets do the Arduino “Hello World”
Sensing the real world
• Interface real world to our electronic world
• Analogue or Digital
• Examples
• Light, Motion, Temperature, Sound etc.
• Anything that can be measured can be sensed!
• Used to make decisions
Demo 2 – Digital Sensor
Demo 3 – Analogue Control
Resources
• www.Arduino.cc
• Youtube
• Massimo Banzi: How Arduino is open-sourcing imagination
• https://programmingelectronics.com/thearduinocourse/
• https://www.youtube.com/user/iforce2d
• Purchase
• Ali Express
• Ebay
• Trademe
• Bang Good
• Hobby King
More cool stuff?
Extras
• 1-Day Project: Build Your Own Arduino Uno for $5
• Shields
• Add functionality
• Communications e.g. GSM, Wifi, Ethernet, Radio, etc.
• Camera control
• SD cards
• Your own custom boards (anything)
Internet of Things
• Got me excited
• Needs communication
• Lots of other chips e.g. the
ESP 8266
• Built in Wifi
Demo 4 – IoT
Coding #2
• Arduino is usually programmed in a C/C++ type of language
• Not the only option (but smaller communities)
• Graphical languages - Ardublock
• .NET Micro Framework/C#
• Different projects are porting different languages
• Two prominent ones for the ESP 8266
• NodeMCU (LUA)
• Micro Python (err Python I think)
Don’t need to use the Arduino IDE!
http://www.visualmicro.com/
• Microsoft Visual Studio
• With intellisense!!!!
Thank you for patience!
Any questions!

More Related Content

PPTX
Introduction to Arduino
ODP
Introduction to Arduino
PPTX
Introduction to Arduino
PPT
Arduino Basics
PPTX
Introduction to Arduino
PDF
Arduino Introduction Presentation
PPTX
Arduino and c programming
PDF
Introduction to arduino
Introduction to Arduino
Introduction to Arduino
Introduction to Arduino
Arduino Basics
Introduction to Arduino
Arduino Introduction Presentation
Arduino and c programming
Introduction to arduino

What's hot (20)

PDF
Arduino presentation
PPTX
Arduino
PDF
Arduino Development For Beginners
PPTX
Introduction to arduino
PPTX
Aurdino presentation
PDF
Introducing... Arduino
PPTX
Arduino Microcontroller
PPT
Introduction to Arduino
PPTX
Lesson sample introduction to arduino
PPS
What is Arduino ?
PPTX
Different Arduino Boards
PDF
Intro arduino English
PDF
Introduction to Arduino
PPT
Introduction To Arduino
PPTX
Introduction to Arduino and Hands on to Iot
PPTX
Basics of arduino uno
PDF
Arduino - A simple Introduction
PDF
Arduino Lecture 1 - Introducing the Arduino
PPTX
Arduino as an embedded industrial controller
PPT
arduino-1
Arduino presentation
Arduino
Arduino Development For Beginners
Introduction to arduino
Aurdino presentation
Introducing... Arduino
Arduino Microcontroller
Introduction to Arduino
Lesson sample introduction to arduino
What is Arduino ?
Different Arduino Boards
Intro arduino English
Introduction to Arduino
Introduction To Arduino
Introduction to Arduino and Hands on to Iot
Basics of arduino uno
Arduino - A simple Introduction
Arduino Lecture 1 - Introducing the Arduino
Arduino as an embedded industrial controller
arduino-1
Ad

Similar to Introduction to arduino (20)

PDF
Raspberry Pi, Arduino and the Maker Movement
PPTX
A brief introduction to making your own (Internet of Things) Thing
PPTX
small electronics for your makerspace 2 (clc trendspotting - 26 march 2014)
PPTX
ATL_Arduino_Complete_Presentation_AI_Visuals.pptx
PDF
Welcome to Arduino
KEY
Eating Fruit - Combining Robots & Apps
PDF
#startathon2.0 - Arduino
PPTX
External Editors for Arduino
PPTX
An Hour of Arduino and Ardublock
PPTX
small electronics for your makerspace (clc trendspotting - february 2014)
PPTX
Arduino for developers by Steve Robinson
PPTX
Build IoT Applications with C#
PPTX
Robots conf microcontroller and iot survey
PDF
Arduino + Android
PDF
2.2. Introduction to Arduino
KEY
Mobile Knife Fighting at JSConf US
PPTX
Introduction to Arduino
PPTX
Chicago Girls In Computing Arduino Workshop
PDF
Low Cost Assistive Technology Solutions
PPTX
Getting started with arduino uno
Raspberry Pi, Arduino and the Maker Movement
A brief introduction to making your own (Internet of Things) Thing
small electronics for your makerspace 2 (clc trendspotting - 26 march 2014)
ATL_Arduino_Complete_Presentation_AI_Visuals.pptx
Welcome to Arduino
Eating Fruit - Combining Robots & Apps
#startathon2.0 - Arduino
External Editors for Arduino
An Hour of Arduino and Ardublock
small electronics for your makerspace (clc trendspotting - february 2014)
Arduino for developers by Steve Robinson
Build IoT Applications with C#
Robots conf microcontroller and iot survey
Arduino + Android
2.2. Introduction to Arduino
Mobile Knife Fighting at JSConf US
Introduction to Arduino
Chicago Girls In Computing Arduino Workshop
Low Cost Assistive Technology Solutions
Getting started with arduino uno
Ad

Recently uploaded (20)

DOCX
A PROPOSAL ON IoT climate sensor 2.docx
PDF
Dynamic Checkweighers and Automatic Weighing Machine Solutions
PPTX
DEATH AUDIT MAY 2025.pptxurjrjejektjtjyjjy
DOCX
fsdffdghjjgfxfdghjvhjvgfdfcbchghgghgcbjghf
PDF
2_STM32&SecureElements2_STM32&SecureElements
PPT
chapter_1_a.ppthduushshwhwbshshshsbbsbsbsbsh
PPTX
Prograce_Present.....ggation_Simple.pptx
PPTX
PLC ANALOGUE DONE BY KISMEC KULIM TD 5 .0
PDF
Smarter Security: How Door Access Control Works with Alarms & CCTV
PPTX
Embeded System for Artificial intelligence 2.pptx
PDF
Presented by ATHUL KRISHNA.S_20250813_191657_0000.pdf
PPT
Lines and angles cbse class 9 math chemistry
PPTX
Lecture 3b C Library _ ESP32.pptxjfjfjffkkfkfk
PPTX
Wireless and Mobile Backhaul Market.pptx
PPTX
02fdgfhfhfhghghhhhhhhhhhhhhhhhhhhhh.pptx
PPTX
A Clear View_ Interpreting Scope Numbers and Features
PPTX
"Fundamentals of Digital Image Processing: A Visual Approach"
PPTX
Entre CHtzyshshshshshshshzhhzzhhz 4MSt.pptx
PDF
Tcl Scripting for EDA.pdf
PPTX
Presentacion compuuuuuuuuuuuuuuuuuuuuuuu
A PROPOSAL ON IoT climate sensor 2.docx
Dynamic Checkweighers and Automatic Weighing Machine Solutions
DEATH AUDIT MAY 2025.pptxurjrjejektjtjyjjy
fsdffdghjjgfxfdghjvhjvgfdfcbchghgghgcbjghf
2_STM32&SecureElements2_STM32&SecureElements
chapter_1_a.ppthduushshwhwbshshshsbbsbsbsbsh
Prograce_Present.....ggation_Simple.pptx
PLC ANALOGUE DONE BY KISMEC KULIM TD 5 .0
Smarter Security: How Door Access Control Works with Alarms & CCTV
Embeded System for Artificial intelligence 2.pptx
Presented by ATHUL KRISHNA.S_20250813_191657_0000.pdf
Lines and angles cbse class 9 math chemistry
Lecture 3b C Library _ ESP32.pptxjfjfjffkkfkfk
Wireless and Mobile Backhaul Market.pptx
02fdgfhfhfhghghhhhhhhhhhhhhhhhhhhhh.pptx
A Clear View_ Interpreting Scope Numbers and Features
"Fundamentals of Digital Image Processing: A Visual Approach"
Entre CHtzyshshshshshshshzhhzzhhz 4MSt.pptx
Tcl Scripting for EDA.pdf
Presentacion compuuuuuuuuuuuuuuuuuuuuuuu

Introduction to arduino

  • 1. Introduction to Arduino Preet Sangha 23 May 2016
  • 2. Shameless Plugs • Who am I? • Why am I here? • Who are you, and why are you here? ;-)
  • 3. What I’m covering • Jump start • What is it • How to start using it • Even cooler stuff Yes … there will be demos
  • 6. It’s Open Source • Both hardware design and software • Based on an earlier project(?) • Don’t call it Arduino though! • Funduino • Diavalino • Freeduino • Seeeduino • Nanocode • Arduino name belongs to Arduino.cc
  • 7. Basics • The world is analogue (analog) • Computers are mostly digital • Arduino bridges divide • Make complex decisions with simple code
  • 8. A real world problem!
  • 9. What about computers? • Yes you can, but • Problems • Physical size • Complexity • Drivers • $$$ • What about smart phones? • Yes mostly the same issues
  • 10. Microcontrollers • Cheap • Ubiquitous • But have limited resources • Need (some) careful design • Automate almost anything • Imagination v. credit card
  • 11. Isn’t it complex? • Only if you want • Can start very simply
  • 12. Ok I’m in… How do I start?
  • 13. Buy a few things Breadboard Wires ResistorsA board LEDs
  • 14. Or a starter kit http://www.geeker.co.nz/kits/arduino/ard uino-starter-kit-standard.html Arduino Starter Kit (24 Project)
  • 15. Or just use a free simulator https://123d.circuits.io
  • 16. Arduino is a platform • Many different microcontrollers • Some more powerful than others • Different strengths/weaknesses • hardware < == > software libraries • No lock in • The Arduino IDE A common experience
  • 17. What about the Raspberry Pi • Not Arduino • It’s a microprocessor/computer • Much more versatile but more complex • Can do many things – it’s a computer! • Costs more!
  • 18. So why use Arduino? • Easily talks to hardware • Educational – heaps of resources/examples • Simple to get going • No operating system in your way • Just your hardware and your code
  • 19. Coding • C like language* • Windows/Linux/Mac • Heaps of examples • Forgiving
  • 20. Coding • Easy start • Download • Install • Connect • Go! • Need two functions only • setup() • loop()
  • 21. Connect 1/2 • Set the board
  • 23. Time to do some demos! 1. Actuate 2. Sense 3. Control 4. Internet of Things
  • 24. Demo 1 - Lets do the Arduino “Hello World”
  • 25. Sensing the real world • Interface real world to our electronic world • Analogue or Digital • Examples • Light, Motion, Temperature, Sound etc. • Anything that can be measured can be sensed! • Used to make decisions
  • 26. Demo 2 – Digital Sensor
  • 27. Demo 3 – Analogue Control
  • 28. Resources • www.Arduino.cc • Youtube • Massimo Banzi: How Arduino is open-sourcing imagination • https://programmingelectronics.com/thearduinocourse/ • https://www.youtube.com/user/iforce2d • Purchase • Ali Express • Ebay • Trademe • Bang Good • Hobby King
  • 30. Extras • 1-Day Project: Build Your Own Arduino Uno for $5 • Shields • Add functionality • Communications e.g. GSM, Wifi, Ethernet, Radio, etc. • Camera control • SD cards • Your own custom boards (anything)
  • 31. Internet of Things • Got me excited • Needs communication • Lots of other chips e.g. the ESP 8266 • Built in Wifi
  • 32. Demo 4 – IoT
  • 33. Coding #2 • Arduino is usually programmed in a C/C++ type of language • Not the only option (but smaller communities) • Graphical languages - Ardublock • .NET Micro Framework/C# • Different projects are porting different languages • Two prominent ones for the ESP 8266 • NodeMCU (LUA) • Micro Python (err Python I think)
  • 34. Don’t need to use the Arduino IDE! http://www.visualmicro.com/ • Microsoft Visual Studio • With intellisense!!!!
  • 35. Thank you for patience! Any questions!

Editor's Notes

  • #2: Hey everyone, Welcome to Introduction to Arduino, my name is Preet Sangha. Thank you for trekking out here and for helping make this meetup a 100% successful meetup ;)
  • #3: Preet Sangha Dev for nearly 40 years – yes I started coding back in 1977 on the BBC micro and the TRS 80. Since then I’ve programmed on mainframes through to pipe computers counting gas on robot gas rigs in the North Sea, from PCs to web to workstations and back to fat clients. In all that time I’ve enjoyed making machines do my bidding. Recently I felt like going back to low level programming and now that my kids are teenagers I decided to geek out and investigate Arduino. This meetup is was created to let me indulge in this hobby! I have a few projects in mind and a few on the go. Anyway that’s enough about me, now it’s your turn. Please could we go around the room, and introduce ourselves, and perhaps if you’re up to it, say a few words about what you are would like to do/see/discuss.
  • #5: I thought I’d let the Arduino project themselves summarise what Arduino is.
  • #9: Let’s consider a real world problem
  • #10: So what is the Arduino actually? Arduino basically consists a Microcontroller on a board supported by some other circuitry to enable you to program and use it easily
  • #11: So what is the Arduino actually? Arduino basically consists a Microcontroller on a board supported by some other circuitry to enable you to program and use it easily
  • #27: Should have a pulldown!
  • #28: Should have a pulldown!
  • #33: Should have a pulldown!