Welcome to Arduino Day 2016

Similar documents
EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

Lesson 3: Arduino. Goals

Arduino

Arduino Lesson 1. Blink. Created by Simon Monk

LESSONS Lesson 1. Microcontrollers and SBCs. The Big Idea: Lesson 1: Microcontrollers and SBCs. Background: What, precisely, is computer science?

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

Rodni What will yours be?

ISSN: [Singh* et al., 6(6): June, 2017] Impact Factor: 4.116

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

Total Hours Registration through Website or for further details please visit (Refer Upcoming Events Section)

Application Note AN 102: Arduino I2C Interface to K 30 Sensor

Coding with Arduino to operate the prosthetic arm

Arduino An Introduction

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Electronic Prototyping

Arduino Platform Capabilities in Multitasking. environment.

FABO ACADEMY X ELECTRONIC DESIGN

Training Schedule. Robotic System Design using Arduino Platform

Montgomery Village Arduino Meetup Dec 10, 2016

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

smraza Getting Start Guide Contents Arduino IDE (Integrated Development Environment)... 1 Introduction... 1 Install the Arduino Software (IDE)...

Arduino Setup & Flexing the ExBow

J. La Favre Using Arduino with Raspberry Pi February 7, 2018

Pulse Width Modulation and

Saturday Academy Program

PLAN DE FORMACIÓN EN LENGUAS EXTRANJERAS IN-57 Technology for ESO: Contents and Strategies

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

Programming a Servo. Servo. Red Wire. Black Wire. White Wire

An IoT Based Real-Time Environmental Monitoring System Using Arduino and Cloud Service

Application Note. Communication between arduino and IMU Software capturing the data

Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman

CURIE Academy, Summer 2014 Lab 2: Computer Engineering Software Perspective Sign-Off Sheet

You'll create a lamp that turns a light on and off when you touch a piece of conductive material

Module: Arduino as Signal Generator

Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink

Arduino Microcontroller Processing for Everyone!: Third Edition / Steven F. Barrett

The Motor sketch. One Direction ON-OFF DC Motor

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

occam on the Arduino Adam T. Sampson School of Computing, University of Kent Matt C. Jadud Department of Computer Science, Allegheny College

1Getting Started SIK BINDER //3

CPSC 226 Lab Four Spring 2018

TETRIX PULSE Workshop Guide

UNIT 4 VOCABULARY SKILLS WORK FUNCTIONS QUIZ. A detailed explanation about Arduino. What is Arduino? Listening

Application Note AN 157: Arduino UART Interface to TelAire T6613 CO2 Sensor

CONSTRUCTION GUIDE Capacitor, Transistor & Motorbike. Robobox. Level VII

Using the S5U13781R01C100 Shield Graphics Library with Atmel Studio

Arduino as a tool for physics experiments

TWEAK THE ARDUINO LOGO

GETTING STARTED WITH THE MSP430 LAUNCHPAD BY ADRIAN FERNANDEZ, DUNG DANG

VMA205 WIFI ESP8266 SHIELD

Arduino For Dummies PDF

Community College of Allegheny County Unit 4 Page #1. Timers and PWM Motor Control

ZX Distance and Gesture Sensor Hookup Guide

Getting Started with the micro:bit

Light Emitting Diode IV Characterization

1 Introduction. 2 Embedded Electronics Primer. 2.1 The Arduino

Hands on Practice in Arduino Board

Milli Developer Kit Reference Application Published on Silver Spring Networks STAGE (

ARDUINO / GENUINO. start as professional

INTRODUCTION to MICRO-CONTROLLERS

ARDUINO BASED CALIBRATION OF AN INERTIAL SENSOR IN VIEW OF A GNSS/IMU INTEGRATION

100UF CAPACITOR POTENTIOMETER SERVO MOTOR MOTOR ARM. MALE HEADER PIN (3 pins) INGREDIENTS

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech

Attribution Thank you to Arduino and SparkFun for open source access to reference materials.

ASCOM EF Lens Controller

Blackfin Online Learning & Development

WEEK. Learning Objective. Materials to Prepare LESSON

DESCRIPTION DOCUMENT FOR WIFI SINGLE DIMMER ONE AMPERE BOARD HARDWARE REVISION 0.3

SCHOOL OF TECHNOLOGY AND PUBLIC MANAGEMENT ENGINEERING TECHNOLOGY DEPARTMENT

Programming 2 Servos. Learn to connect and write code to control two servos.

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino)

Experiment 1 Identification of Components and Breadboard Realization

Internet of Things Student STEM Project Jackson High School. Lesson 2: Arduino and LED

INTRODUCTION to MICRO-CONTROLLERS

INA169 Breakout Board Hookup Guide

GSM BASED PATIENT MONITORING SYSTEM

ARDUINO / GENUINO. start as professional. short course in a book. faculty of engineering technology

IOT Based Smart Greenhouse Automation Using Arduino

Python Programming For Arduino

Internet of Things (Winter Training Program) 6 Weeks/45 Days

Setup Download the Arduino library (link) for Processing and the Lab 12 sketches (link).

Smart Security System using Arduino and Wireless Communication

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino

GREEN HOUSE USING IOT

Intelligent Systems Design in a Non Engineering Curriculum. Embedded Systems Without Major Hardware Engineering

MAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL

INTRODUCTION to MICRO-CONTROLLERS

Debugging a Boundary-Scan I 2 C Script Test with the BusPro - I and I2C Exerciser Software: A Case Study

Arduino: Sensors for Fun and Non Profit

Triscend E5 Support. Configurable System-on-Chip (CSoC) Triscend Development Tools Update TM

Experiment 1: Robot Moves in 3ft squared makes sound and

Design of WSN for Environmental Monitoring Using IoT Application

Downloading a ROBOTC Sample Program

Veyron Servo Driver (24 Channel) (SKU:DRI0029)

CONSTRUCTION GUIDE Robotic Arm. Robobox. Level II

ENGI1020. Lab 0 Introduction to Arduino IDE and Hardware Lori Hogan, Lab Instructor - Winter 2019

Introduction to Mechatronics Programming a robot

March 06, 2017 Page 1 of 17. Two Day Workshop ARDUINO AND ITS PROGRAMMING. 03. MARCH.2017 to 04.MARCH.2017

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

Transcription:

Welcome to Arduino Day 2016

An Intro to Arduino From Zero to Hero in an Hour! Paul Court (aka @Courty)

Welcome to the SLMS Arduino Day 2016 Arduino / Genuino?! What??

Part 1 Intro Quick Look at the Uno Board and Arduino IDE Software

What is Arduino? + Hardware Software Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It s intended for artists, designers, hobbyists and anyone interested in creating interactive objects or for just learning about microcontrollers.

Other Members of the Arduino Family Arduino s come in all sorts of shapes and sizes

Anatomy of the UNO R2 Digital Input and Outputs R3 Microcontroller ATMega328P

Microcontroller? A microcontroller is a small computer (SoC - System on a Chip) on a single integrated circuit containing a processor core, memory and programmable input/output peripherals.

Programmable input/output peripherals? Sensors With some simple code, the Arduino can control and interact with a wide variety of sensors - things that can measure light, temperature, degree of flex, pressure, proximity, acceleration, carbon monoxide, radioactivity, humidity, barometric pressure, you name it, you can sense it! Shields Additionally, there are these things called shields basically they are pre-built circuit boards that fit on top of your Arduino and provide additional capabilities controlling motors, connecting to the internet, providing cellular or other wireless communication, controlling an LCD screen, and much more.

The Arduino Software (IDE)

Factoid! The name Arduino comes from a bar in Ivrea, Italy where some of the founders of the project used to meet. The bar was named after Arduin of Ivrea, who was the margrave of the March of Ivrea and King of Italy from 1002 to 1014!

Part 2 The Arduino UNO Deeper Look at the Uno Board

Anatomy of the UNO Output Input Digital = Light Switch Analog = Dimmer Switch

Arduino Benefits Easiest to get started with of all the kit boards Huge global community sharing ideas, code and help Great support for all sorts of sensors and gadgets Very flexible, Loads of options and ways to configure it Most of the Pins are programmable You tell the board what each pin should do Fairly robust and hard to break (this is not a challenge!) Fast, up to 16 million instructions per second Great leader into other microcontrollers and to Electronics

Part 3 The Arduino IDE Deeper Look at the Arduino Software

Quick tour of the IDE 1. Verify: Compiles and approves your code. It will catch errors in syntax (like missing semi-colons or parenthesis). 2. Upload: Sends your code to the Uno. When you click it, you should see the lights on your board blink rapidly. 3. New: This buttons opens up a new code window tab. 4. Open: This button will let you open up an existing sketch. 5. Save: This saves the currently active sketch. 6. Serial Monitor: This will open a window that displays any serial information your Uno Board is transmitting. It is very useful for debugging. 7. Sketch Name: This shows the name of the sketch you are currently working on. 8. Code Area: This is the area where you compose the code for your sketch. 9. Message Area: This is where the IDE tells you if there were any errors in your code. 10. Text Console: The text console shows complete error messages. When debugging, the text console is very useful. 11. Board and Serial Port: Shows you what board and the serial port selections

Arduino IDE Benefits Based on the industry standard C language (mostly English) Hides most of the complexity from the user so focus on job in hand Manages code and libraries for you Lots of examples built in Help system and code reference built in Starting to have support for other platforms (Esp8266 for example) Can accept advanced machine level commands too

Ready? Lets get started.. https://www.arduino.cc/en/main/software

Part 4 Lets Code! Your first project

Two Core Functions Power On setup() loop() void setup() and void loop() There are two special functions that are a part of every Arduino sketch: setup() and loop(). The setup() is called once, when the sketch starts. It's a good place to do setup tasks like setting pin modes or initializing libraries or for code that only runs once. The loop() function is called over and over in a loop and is heart of most sketches. You need to include both functions in your sketch, even if you don't use them for anything.

Blink Sketch Example Line by Line ** On your UNO, Pin 13 has a small LED attached to it

Anatomy of the UNO Output Input Digital = Light Switch Analog = Dimmer Switch

Only Four Commands in the Blink Sketch int tells Arduino to treat the item as a whole number only and sets up the name (variable) pinmode() - Configures the specified pin to behave either as an INPUT or an OUTPUT digitalwrite() - Writes a HIGH (on) or a LOW (off) value to a digital pin (+5v or 0v) delay() - Pauses the program for the amount of time (in miliseconds, 1000 milliseconds in a second)

Select your board from the Tools menu Select your board:- Tools Board Arduino UNO Select your Port:- Tools Serial Port Comx **Number is normally the last one

Open the Blink Example Open the Following Sketch :- File Examples 01 Basics Blink

Upload your Sketch!

Your Turn Task 1 Get your LED flashing by successfully uploading Blink to your Arduino UNO Task 2 Now make your LED flash at ½ second intervals instead of 1 second Task 3 Make your LED flash 3 times and then stop until the reset button is pressed

Other Sketches to play with Button SerialEvent

Congratulations!

Resources: Web SLMS Forum and Events https://discourse.southlondonmakerspace.org/

Thank You for Participating in Paul Court (aka @Courty)