Arduino and Matlab for prototyping and manufacturing

Size: px
Start display at page:

Download "Arduino and Matlab for prototyping and manufacturing"

Transcription

1 Arduino and Matlab for prototyping and manufacturing Enrique Chacón Tanarro 11th - 15th December 2017 UBORA First Design School - Nairobi Enrique Chacón Tanarro e.chacon@upm.es

2 Index 1. Arduino 2. Arduino programming 3. Matlab controlling arduino 11th - 15th December 2017 UBORA First Design School - Nairobi 2

3 1. Ardunio Arduino is an open-source electronic platform based on easy to use hardware and software ( ) ENVIROMENT ARDUINO ENVIROMENT INTERACTION Sensors: Temperature Pressure Light Proximity Acceleration Actuators: Motors Relays Valves Piezoelectrics Diode led 11th - 15th December 2017 UBORA First Design School - Nairobi 3

4 1.1. Enviroment Arduino is an open-source electronic platform based on easy to use hardware and software ( ) ENVIROMENT ARDUINO ENVIROMENT INTERACTION Sensors: Temperature Pressure Light Proximity Acceleration Actuators: Motors Relays Valves Piezoelectrics Diode led 11th - 15th December 2017 UBORA First Design School - Nairobi 4

5 1.1. Enviroment Arduino can receive environment information from 2 ways: A) USER Physical: switches, buttons, potentiometers, Virtual Arduino PC - Matlab 11th - 15th December 2017 UBORA First Design School - Nairobi 5

6 1.1. Enviroment Arduino can receive environment information from 2 ways: B) SENSORS Temperature Termoresistance Movement Movement sensor Sound Microphone Piezoelectric Encoder Pressure Mechanical contact Fluids Position / Velocity Accelerometers Fotoresistence Aceleration Light Gas 11th - 15th December 2017 UBORA First Design School - Nairobi 6

7 1.1. Enviroment EXAMPLE: How can we measure the luminosity of this room? LDR resistance varies its resistance as a function of light Light Ω A0 pin voltage depends on the LDR resistance 11th - 15th December 2017 UBORA First Design School - Nairobi 7

8 1.2. Arduino board What does ARDUNIO do with the information from sensors, touchscreens, etc. ENVIROMENT ARDUINO ENVIROMENT INTERACTION Sensors: Temperature Pressure Light Proximity Acceleration Actuators: Motors Relays Valves Piezoelectrics Diode led 11th - 15th December 2017 UBORA First Design School - Nairobi 8

9 1.2. Arduino board Digital Information Arduino ONE board Programmable integrated circuit Fundamental parts: CPU (calculation speed) Memory (code complexity) Input and output peripherals (number of signals to be controlled Analogical Information Arduino board selection 11th - 15th December 2017 UBORA First Design School - Nairobi 9

10 1.2. Arduino board Arduino board selection Arduino Uno Arduino ProMini Arduino Nano Arduino Micro Arduino Mega 2560 Arduino Mega ADK (android) Arduino Gemma Arduino Leonardo Arduino Yún (ethernet) Arduino Cactus (WiFi) 11th - 15th December 2017 UBORA First Design School - Nairobi 10

11 1.2. Arduino board Arduino UNO board Analogical input 6 input pins A0,A1,A2,... Voltage range: 0-5V Precision: 5V / 1024 values = 5mV Digital input/output 14 pins 0-13 Sensors and actuators are connected in these pins. They must declared (software) is INPUT or OUTPUT. Voltage: 5V (HIGH) - 0V (LOW). Max. pin current: 40 ma. Max. total pins current: 200 ma. 11th - 15th December 2017 UBORA First Design School - Nairobi 11

12 Protoboard Electronic components What does ARDUNIO do with the information from sensors, touchscreens, etc.? ENVIROMENT ARDUINO ENVIROMENT INTERACTION Sensors: Temperature Pressure Light Proximity Acceleration ELECTRONIC COMPONENTS Actuators: Motors Relays Valves Piezoelectrics Diode led 11th - 15th December 2017 UBORA First Design School - Nairobi 12

13 Electronic components Transistors Generate an output signal in response to an input signal Functions: switch, amplifier, oscillator or rectifier Low input signal power power Great output signal base collector emitter Switch application Diodes Current circulation is only allowed in one direction Many types: Zener Used as a constant voltage source LED (light emitting diode) Photodiode Allows reverse current when light falls on it Generic Mostly used as rectifier for converting AC to DC and motor protection Cathode Current direction Anode Correct resistance selection: 1, 2 or 3 red or yellow LED (1,8-2,1V) Resistences I = V/R 11th - 15th December 2017 UBORA First Design School - Nairobi 13

14 1.3. Environment interaction What does ARDUNIO do with the information from sensors, touchscreens, etc. ENVIROMENT ARDUINO ENVIROMENT INTERACTION Sensors: Temperature Pressure Light Proximity Acceleration Actuators: Motors Relays Valves Piezoelectrics Diode led 11th - 15th December 2017 UBORA First Design School - Nairobi 14

15 1.3. Environment interaction Movement Relays Valves Motors Etc. Servomotor or Light, valve, etc. open-close control Signal Display Leds Buzzer Etc. 11th - 15th December 2017 UBORA First Design School - Nairobi 15

16 PWM outputs Are there analogical outputs in ARDUINO? Digital PWM PWM pins allows us to simulate an analog behaviour applying a continuous value. Arduino ONE board pins 3, 5, 6, 9, 10,11 Period Pulse width Average Average How does it work? Instead of a continuous signal Pulses of square signals (490Hz) We can varied pulse duration Desired analog voltage = voltage average 11th - 15th December 2017 UBORA First Design School - Nairobi 16

17 PWM outputs EXAMPLE: How can we vary the DC electric motor speed? Motor speed varies dependidng on the voltage applied to pin 9 Motor con diodo de protección External power supply Transistor with protection resistance 11th - 15th December 2017 UBORA First Design School - Nairobi 17

18 Compile Upload New Open Save 2. Arduino programming 1) Install the free software from arduino.cc/en/main/software 2) Conect Arduino board to the computer. Drivers will be installed automatically. 3) Open the software code writing area Software messages: errors and actions 11th - 15th December 2017 UBORA First Design School - Nairobi 18

19 2. Arduino programming Arduino is programmed in C/C++ The algorithm consist of: Fundamental structures Variables y constants Mathematical, logical and Boolean operators Control structures (conditionals, cycles) Functions 11th - 15th December 2017 UBORA First Design School - Nairobi 19

20 2.1. Fundamental structures Initial configuration code Only executed once loop() is executed after setup () and keeps running until the Arduino is disconnected Both functions are usually preceded by void These are functions without an output or result. 11th - 15th December 2017 UBORA First Design School - Nairobi 20

21 2.2. Variables, constants, mathematical, logical and Boolean operators Variables: Boolean open=true; int conta=5; char id= a ; Constants: const float pi = 3.14 Mathematical operators: =, -, +, /, Logical operators: ==, >,!=, <=, Boolean operators: && (and), II (or), 11th - 15th December 2017 UBORA First Design School - Nairobi 21

22 2.3. Control structures If if (input<500) { // action A } else { // action B } Switch/case switch (var) { case 1: // action A break; case 2: // action B break; default: // action B } For for (int a=0; a>10; a++) { // repeated action } While while (a<10) { // repeated action a++; } 11th - 15th December 2017 UBORA First Design School - Nairobi 22

23 2.4. Functions pinmode() Configurates a pin PinMode(pin,mode) pinmode(13, OUTPUT); pinmode(a, INPUT); Digital functions digitalread() digitalwrite() Writes 1 or 0 in a digital pin digitalwrite(pin,state) digitalwrite(13, HIGH); digitalwrite(13, LOW); Reads 1 or 0 in a digital pin digitalread(pin) int a = digitalread(13); Analytical functions analogread() Reads an analog pin (0-1023) analogread(pin) int a = analogread(a0); analogwrite() PWM Reads an analog value (0-255) analogwrite(pin, PWM value) analogwrite(9, 134); 11th - 15th December 2017 UBORA First Design School - Nairobi 23

24 2.4. Functions Random numbers Time Communication Mathematical Advance External interruptions 11th - 15th December 2017 UBORA First Design School - Nairobi 24

25 3. Arduino programming with Matlab Benefits of using MATLAB for Arduino programming: Read/write sensor data interactively without waiting for your code to compile Analyze your sensor data using pre-built Matlab functions for signal processing, machine learning, mathematical modeling, Quickly visualize your data (MATLAB plot types) Disadvantage: Speed data trasnmision NOTES: Is our arduino board compatible? Only allowed Matlab 2014 and later versions More info: 11th - 15th December 2017 UBORA First Design School - Nairobi 25

26 3. Arduino programming with Matlab Examples Mapping your surroundings using MATLAB and Arduino Ultrasonic distance sensor Servomotor 11th - 15th December 2017 UBORA First Design School - Nairobi 26

27 4. Practical studies Case 1: Blink led L Aim: Arduino software/conect introduction Steps: 1. Open arduino software 2. Open blink example 3. Read the code and understand it 4. Select the board and the port. 5. Load the code on the Arduino board. Few seconds after the "uploaded message appears, we see the LED blinking 11th - 15th December 2017 UBORA First Design School - Nairobi 27

28 4. Practical studies Case 2: Touch lamp 11th - 15th December 2017 UBORA First Design School - Nairobi 28

29 This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No th - 15th December 2017 UBORA First Design School - Nairobi 29

Arduino Prof. Dr. Magdy M. Abdelhameed

Arduino Prof. Dr. Magdy M. Abdelhameed Course Code: MDP 454, Course Name:, Second Semester 2014 Arduino What is Arduino? Microcontroller Platform Okay but what s a Microcontroller? Tiny, self-contained computers in an IC Often contain peripherals

More information

More Arduino Programming

More Arduino Programming Introductory Medical Device Prototyping Arduino Part 2, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota More Arduino Programming Digital I/O (Read/Write) Analog

More information

Arduino Part 2. Introductory Medical Device Prototyping

Arduino Part 2. Introductory Medical Device Prototyping Introductory Medical Device Prototyping Arduino Part 2, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota More Arduino Programming Digital I/O (Read/Write) Analog

More information

Arduino Programming. Arduino UNO & Innoesys Educational Shield

Arduino Programming. Arduino UNO & Innoesys Educational Shield Arduino Programming Arduino UNO & Innoesys Educational Shield www.devobox.com Electronic Components & Prototyping Tools 79 Leandrou, 10443, Athens +30 210 51 55 513, info@devobox.com ARDUINO UNO... 3 INNOESYS

More information

FUNCTIONS For controlling the Arduino board and performing computations.

FUNCTIONS For controlling the Arduino board and performing computations. d i g i t a l R e a d ( ) [Digital I/O] Reads the value from a specified digital pin, either HIGH or LOW. digitalread(pin) pin: the number of the digital pin you want to read HIGH or LOW Sets pin 13 to

More information

BASIC ARDUINO WORKSHOP. Mr. Aldwin and Mr. Bernardo

BASIC ARDUINO WORKSHOP. Mr. Aldwin and Mr. Bernardo BASIC ARDUINO WORKSHOP Mr. Aldwin and Mr. Bernardo 1 BASIC ARDUINO WORKSHOP Course Goals Introduce Arduino Hardware and Understand Input Software and Output Create simple project 2 Arduino Open-source

More information

keyestudio Keyestudio MEGA 2560 R3 Board

keyestudio Keyestudio MEGA 2560 R3 Board Keyestudio MEGA 2560 R3 Board Introduction: Keyestudio Mega 2560 R3 is a microcontroller board based on the ATMEGA2560-16AU, fully compatible with ARDUINO MEGA 2560 REV3. It has 54 digital input/output

More information

Arduino Uno Microcontroller Overview

Arduino Uno Microcontroller Overview Innovation Fellows Program Arduino Uno Microcontroller Overview, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota Arduino Uno Power & Interface Reset Button USB

More information

INDUSTRIAL TRAINING:6 MONTHS PROGRAM TEVATRON TECHNOLOGIES PVT LTD

INDUSTRIAL TRAINING:6 MONTHS PROGRAM TEVATRON TECHNOLOGIES PVT LTD MODULE-1 C Programming Language Introduction to C Objectives of C Applications of C Relational and logical operators Bit wise operators The assignment statement Intermixing of data types type conversion

More information

Intro to Arduino. Zero to Prototyping in a Flash! Material designed by Linz Craig and Brian Huang

Intro to Arduino. Zero to Prototyping in a Flash! Material designed by Linz Craig and Brian Huang Intro to Arduino Zero to Prototyping in a Flash! Material designed by Linz Craig and Brian Huang Overview of Class Getting Started: Installation, Applications and Materials Electrical: Components, Ohm's

More information

TANGIBLE MEDIA & PHYSICAL COMPUTING INTRODUCTION TO ARDUINO

TANGIBLE MEDIA & PHYSICAL COMPUTING INTRODUCTION TO ARDUINO TANGIBLE MEDIA & PHYSICAL COMPUTING INTRODUCTION TO ARDUINO AGENDA ARDUINO HARDWARE THE IDE & SETUP BASIC PROGRAMMING CONCEPTS DEBUGGING & HELLO WORLD INPUTS AND OUTPUTS DEMOS ARDUINO HISTORY IN 2003 HERNANDO

More information

Introduction to Arduino. Wilson Wingston Sharon

Introduction to Arduino. Wilson Wingston Sharon Introduction to Arduino Wilson Wingston Sharon cto@workshopindia.com Physical computing Developing solutions that implement a software to interact with elements in the physical universe. 1. Sensors convert

More information

Smart Objects. SAPIENZA Università di Roma, M.Sc. in Product Design Fabio Patrizi

Smart Objects. SAPIENZA Università di Roma, M.Sc. in Product Design Fabio Patrizi Smart Objects SAPIENZA Università di Roma, M.Sc. in Product Design Fabio Patrizi 1 What is a Smart Object? Essentially, an object that: Senses Thinks Acts 2 Example 1 https://www.youtube.com/watch?v=6bncjd8eke0

More information

ARDUINO. By Kiran Tiwari BCT 2072 CoTS.

ARDUINO. By Kiran Tiwari BCT 2072 CoTS. ARDUINO By Kiran Tiwari BCT 2072 CoTS www.kirantiwari.com.np SO What is an Arduino? WELL!! Arduino is an open-source prototyping platform based on easy-to-use hardware and software. Why Arduino? Simplifies

More information

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Arduino

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Arduino University of Portland EE 271 Electrical Circuits Laboratory Experiment: Arduino I. Objective The objective of this experiment is to learn how to use the Arduino microcontroller to monitor switches and

More information

Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S

Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S Overview Motivation Circuit Design and Arduino Architecture Projects Blink the LED Switch Night Lamp

More information

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process Lab 01 Arduino 程式設計實驗 Essential Arduino Programming and Digital Signal Process Arduino Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's

More information

IME-100 ECE. Lab 4. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

IME-100 ECE. Lab 4. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE, IME-100 ECE Lab 4 Electrical and Computer Engineering Department Kettering University 4-1 1. Laboratory Computers Getting Started i. Log-in with User Name: Kettering Student (no password required) ii.

More information

Introduction to Arduino

Introduction to Arduino Introduction to Arduino Paco Abad May 20 th, 2011 WGM #21 Outline What is Arduino? Where to start Types Shields Alternatives Know your board Installing and using the IDE Digital output Serial communication

More information

Grove - Buzzer. Introduction. Features

Grove - Buzzer. Introduction. Features Grove - Buzzer Introduction The Grove - Buzzer module has a piezo buzzer as the main component. The piezo can be connected to digital outputs, and will emit a tone when the output is HIGH. Alternatively,

More information

Laboratory of Sensors Engineering Sciences 9 CFU

Laboratory of Sensors Engineering Sciences 9 CFU Laboratory of Sensors Engineering Sciences 9 CFU Contacts Alexandro Catini catini@ing.uniroma2.it Phone: +39 06 7259 7347 Department of Electronic Engineering First Floor - Room B1-07b Course Outline THEORY

More information

Serial.begin ( ); Serial.println( ); analogread ( ); map ( );

Serial.begin ( ); Serial.println( ); analogread ( ); map ( ); Control and Serial.begin ( ); Serial.println( ); analogread ( ); map ( ); A system output can be changed through the use of knobs, motion, or environmental conditions. Many electronic systems in our world

More information

Arduino Platform Part I

Arduino Platform Part I Arduino Platform Part I Justin Mclean Class Software Email: justin@classsoftware.com Twitter: @justinmclean Blog: http://blog.classsoftware.com Who am I? Director of Class Software for almost 15 years

More information

SECOND EDITION. Arduino Cookbook. Michael Margolis O'REILLY- Tokyo. Farnham Koln Sebastopol. Cambridge. Beijing

SECOND EDITION. Arduino Cookbook. Michael Margolis O'REILLY- Tokyo. Farnham Koln Sebastopol. Cambridge. Beijing SECOND EDITION Arduino Cookbook Michael Margolis Beijing Cambridge Farnham Koln Sebastopol O'REILLY- Tokyo Table of Contents Preface xi 1. Getting Started 1 1.1 Installing the Integrated Development Environment

More information

RoboSpecies Technologies Pvt. Ltd.

RoboSpecies Technologies Pvt. Ltd. Table of Contents Table of Contents... vi Part 1: Introduction to Robotics... 1 1.1 Robotics... 3 1.1.1 House Robots... 4 1.1.2 Industrial Robots... 4 1.1.3 Medical Robots... 6 1.1.4 Space Robots... 7

More information

PROGRAMMING ARDUINO COURSE ON ADVANCED INTERACTION TECHNIQUES. Luís Carriço FCUL 2012/13

PROGRAMMING ARDUINO COURSE ON ADVANCED INTERACTION TECHNIQUES. Luís Carriço FCUL 2012/13 Sources: Arduino Hands-on Workshop, SITI, Universidad Lusófona Arduino Spooky projects Basic electronics, University Pennsylvania Beginning Arduino Programming Getting Started With Arduino COURSE ON ADVANCED

More information

The Arduino Briefing. The Arduino Briefing

The Arduino Briefing. The Arduino Briefing Mr. Yee Choon Seng Email : csyee@simtech.a-star.edu.sg Design Project resources http://guppy.mpe.nus.edu.sg/me3design.html One-Stop robotics shop A-Main Objectives Pte Ltd, Block 1 Rochor Road, #02-608,

More information

Procedure: Determine the polarity of the LED. Use the following image to help:

Procedure: Determine the polarity of the LED. Use the following image to help: Section 2: Lab Activity Section 2.1 Getting started: LED Blink Purpose: To understand how to upload a program to the Arduino and to understand the function of each line of code in a simple program. This

More information

analogwrite(); The analogwrite function writes an analog value (PWM wave) to a PWM-enabled pin.

analogwrite(); The analogwrite function writes an analog value (PWM wave) to a PWM-enabled pin. analogwrite(); The analogwrite function writes an analog value (PWM wave) to a PWM-enabled pin. Syntax analogwrite(pin, value); For example: analogwrite(2, 255); or analogwrite(13, 0); Note: Capitalization

More information

SPDM Level 2 Smart Electronics Unit, Level 2

SPDM Level 2 Smart Electronics Unit, Level 2 SPDM Level 2 Smart Electronics Unit, Level 2 Evidence Folder John Johns Form 3b RSA Tipton 1.1 describe the purpose of circuit components and symbols. The candidate can describe the purpose of a range

More information

Robotics/Electronics Review for the Final Exam

Robotics/Electronics Review for the Final Exam Robotics/Electronics Review for the Final Exam Unit 1 Review. 1. The battery is 12V, R1 is 400 ohms, and the current through R1 is 20 ma. How many ohms is R2? ohms What is the voltage drop across R1? V

More information

How to Use an Arduino

How to Use an Arduino How to Use an Arduino By Vivian Law Introduction The first microcontroller, TMS-1802-NC, was built in 1971 by Texas Instruments. It owed its existence to the innovation and versatility of silicon and the

More information

Alessandra de Vitis. Arduino

Alessandra de Vitis. Arduino Alessandra de Vitis Arduino Arduino types Alessandra de Vitis 2 Interfacing Interfacing represents the link between devices that operate with different physical quantities. Interface board or simply or

More information

Arduino Cookbook O'REILLY* Michael Margolis. Tokyo. Cambridge. Beijing. Farnham Koln Sebastopol

Arduino Cookbook O'REILLY* Michael Margolis. Tokyo. Cambridge. Beijing. Farnham Koln Sebastopol Arduino Cookbook Michael Margolis O'REILLY* Beijing Cambridge Farnham Koln Sebastopol Tokyo Table of Contents Preface xiii 1. Getting Started 1 1.1 Installing the Integrated Development Environment (IDE)

More information

ARDUINO LEONARDO ETH Code: A000022

ARDUINO LEONARDO ETH Code: A000022 ARDUINO LEONARDO ETH Code: A000022 All the fun of a Leonardo, plus an Ethernet port to extend your project to the IoT world. You can control sensors and actuators via the internet as a client or server.

More information

EP486 Microcontroller Applications

EP486 Microcontroller Applications EP486 Microcontroller Applications Topic 6 Step & Servo Motors Joystick & Water Sensors Department of Engineering Physics University of Gaziantep Nov 2013 Sayfa 1 Step Motor http://en.wikipedia.org/wiki/stepper_motor

More information

GOOD MORNING SUNSHINE

GOOD MORNING SUNSHINE Item 11: Good Morning Sunshine Monday, 15 October 2018 12:30 PM GOOD MORNING SUNSHINE EXPLORE WALT: definition and decomposition of complex problems in terms of functional and non-functional requirements

More information

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE, IME-100 ECE Lab 3 Electrical and Computer Engineering Department Kettering University 3-1 1. Laboratory Computers Getting Started i. Log-in with User Name: Kettering Student (no password required) ii.

More information

Introduction to Arduino

Introduction to Arduino Introduction to Arduino Mobile Computing, aa. 2016/2017 May 12, 2017 Daniele Ronzani - Ph.D student in Computer Science dronzani@math.unipd.it What are Microcontrollers Very small and simple computers

More information

Lecture 6: Embedded Systems and Microcontrollers

Lecture 6: Embedded Systems and Microcontrollers Lecture 6: Embedded Systems and Microcontrollers Bo Wang Division of Information & Computing Technology Hamad Bin Khalifa University bwang@hbku.edu.qa 1 What is Embedded System? Embedded System = Computers

More information

Basic Electronic Toolkit for under $40

Basic Electronic Toolkit for under $40 Basic Electronic Toolkit for under $40 Multimeter http://www.mpja.com/prodinfo.asp?number=17191+te Small Wire cutters http://www.mpja.com/prodinfo.asp?number=16761+tl Wire strippers http://www.mpja.com/prodinfo.asp?number=11715+tl

More information

USER MANUAL ARDUINO I/O EXPANSION SHIELD

USER MANUAL ARDUINO I/O EXPANSION SHIELD USER MANUAL ARDUINO I/O EXPANSION SHIELD Description: Sometimes Arduino Uno users run short of pins because there s a lot of projects that requires more than 20 signal pins. The only option they are left

More information

TABLE OF CONTENTS INTRODUCTION LESSONS PROJECTS

TABLE OF CONTENTS INTRODUCTION LESSONS PROJECTS TABLE OF CONTENTS INTRODUCTION Introduction to Components - Maker UNO 5 - Maker UNO Board 6 - Setting Up - Download Arduino IDE 7 - Install Maker UNO Drivers - Install Maker UNO Board Package 3 LESSONS.

More information

IME-100 Interdisciplinary Design and Manufacturing

IME-100 Interdisciplinary Design and Manufacturing IME-100 Interdisciplinary Design and Manufacturing Introduction Arduino and Programming Topics: 1. Introduction to Microprocessors/Microcontrollers 2. Introduction to Arduino 3. Arduino Programming Basics

More information

Arduino Uno. Power & Interface. Arduino Part 1. Introductory Medical Device Prototyping. Digital I/O Pins. Reset Button. USB Interface.

Arduino Uno. Power & Interface. Arduino Part 1. Introductory Medical Device Prototyping. Digital I/O Pins. Reset Button. USB Interface. Introductory Medical Device Prototyping Arduino Part 1, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota Arduino Uno Power & Interface Reset Button USB Interface

More information

Update: Ver 1.3 Dec Arduino Learning Guide For Beginner Using. Created by Cytron Technologies Sdn Bhd - All Rights Reserved

Update: Ver 1.3 Dec Arduino Learning Guide For Beginner Using. Created by Cytron Technologies Sdn Bhd - All Rights Reserved Update: Ver 1.3 Dec 2018 Arduino Learning Guide For Beginner Using Created by Cytron Technologies Sdn Bhd - All Rights Reserved LESSON 0 SETTING UP HARDWARE & SOFTWARE Part 1: Put Up Label Stickers for

More information

EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments

EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments EXPERIMENT 7 Please visit https://www.arduino.cc/en/reference/homepage to learn all features of arduino before you start the experiments TEMPERATURE MEASUREMENT AND CONTROL USING LM35 Purpose: To measure

More information

Robotic Systems ECE 401RB Fall 2006

Robotic Systems ECE 401RB Fall 2006 The following notes are from: Robotic Systems ECE 401RB Fall 2006 Lecture 15: Processors Part 3 Chapter 14, G. McComb, and M. Predko, Robot Builder's Bonanza, Third Edition, Mc- Graw Hill, 2006. I. Peripherals

More information

ARDUINO LEONARDO WITH HEADERS Code: A000057

ARDUINO LEONARDO WITH HEADERS Code: A000057 ARDUINO LEONARDO WITH HEADERS Code: A000057 Similar to an Arduino UNO, can be recognized by computer as a mouse or keyboard. The Arduino Leonardo is a microcontroller board based on the ATmega32u4 (datasheet).

More information

Digital Pins and Constants

Digital Pins and Constants Lesson Lesson : Digital Pins and Constants Digital Pins and Constants The Big Idea: This lesson is the first step toward learning to connect the Arduino to its surrounding world. You will connect lights

More information

Intel Galileo gen 2 Board

Intel Galileo gen 2 Board Intel Galileo gen 2 Board The Arduino Intel Galileo board is a microcontroller board based on the Intel Quark SoC X1000, a 32- bit Intel Pentium -class system on a chip (SoC). It is the first board based

More information

mi:node User Manual Element14 element14.com/minode 1 User Manual V3.1

mi:node User Manual Element14 element14.com/minode 1 User Manual V3.1 mi:node User Manual Element14 element14.com/minode 1 Table of Contents 1) Introduction... 3 1.1 Overview... 3 1.2 Features... 3 1.3 Kit Contents... 3 2) Getting Started... 5 2.1 The Connector Board...

More information

ARDUINO EXPERIMENTS ARDUINO EXPERIMENTS

ARDUINO EXPERIMENTS ARDUINO EXPERIMENTS ARDUINO EXPERIMENTS IR OBSTACLE SENSOR... 3 OVERVIEW... 3 OBJECTIVE OF THE EXPERIMENT... 3 EXPERIMENTAL SETUP... 3 IR SENSOR ARDUINO CODE... 4 ARDUINO IDE SERIAL MONITOR... 5 GAS SENSOR... 6 OVERVIEW...

More information

Introduction to Microcontrollers Using Arduino. PhilRobotics

Introduction to Microcontrollers Using Arduino. PhilRobotics Introduction to Microcontrollers Using Arduino PhilRobotics Objectives Know what is a microcontroller Learn the capabilities of a microcontroller Understand how microcontroller execute instructions Objectives

More information

output devices. connected to the controller. data communications link. relay systems. user program. MECH1500Quiz1ReviewVersion2 Name: Class: Date:

output devices. connected to the controller. data communications link. relay systems. user program. MECH1500Quiz1ReviewVersion2 Name: Class: Date: Class: Date: MECH1500Quiz1ReviewVersion2 True/False Indicate whether the statement is true or false. 1. The number and type of I/Os cannot be changed in a fixed PLC. 2. In a PLC system, there is a physical

More information

Controlling a fischertechnik Conveyor Belt with Arduino board

Controlling a fischertechnik Conveyor Belt with Arduino board EXPERIMENT TITLE: Controlling a fischertechnik Conveyor Belt with Arduino board PRODUCTS USED: CHALLENGE: AUTHOR: CREDITS: Interface and control a conveyor belt model (24 Volts, fischertechnik) with an

More information

Prototyping & Engineering Electronics Kits Basic Kit Guide

Prototyping & Engineering Electronics Kits Basic Kit Guide Prototyping & Engineering Electronics Kits Basic Kit Guide odysseyboard.com Please refer to www.odysseyboard.com for a PDF updated version of this guide. Guide version 1.0, February, 2018. Copyright Odyssey

More information

Arduino Programming Part 3. EAS 199A Fall 2010

Arduino Programming Part 3. EAS 199A Fall 2010 Arduino Programming Part 3 EAS 199A Fall 2010 Overview Part I Circuits and code to control the speed of a small DC motor. Use potentiometer for dynamic user input. Use PWM output from Arduino to control

More information

Update: Ver 1.3 Dec Arduino Learning Guide For Beginner Using. Created by Cytron Technologies Sdn Bhd - All Rights Reserved

Update: Ver 1.3 Dec Arduino Learning Guide For Beginner Using. Created by Cytron Technologies Sdn Bhd - All Rights Reserved Update: Ver 1.3 Dec 2018 Arduino Learning Guide For Beginner Using Created by Cytron Technologies Sdn Bhd - All Rights Reserved LESSON 0 SETTING UP HARDWARE & SOFTWARE Part 1: Put Up Label Stickers for

More information

IDUINO for maker s life. User Manual. For IDUINO development Board.

IDUINO for maker s life. User Manual. For IDUINO development Board. User Manual For IDUINO development Board 1.Overview 1.1 what is Arduino? Arduino is an open-source prototyping platform based on easy-to-use hardware and software. Arduino boards are able to read inputs

More information

Arduino For Amateur Radio

Arduino For Amateur Radio Arduino For Amateur Radio Introduction to Arduino Micro controller vs. a PI Arduino Models, Books and Add-Ons Amateur Radio Applications Arduino Uno/Pro Micro Introduction to Arduino Programming More on

More information

Central Processing Unit - CPU

Central Processing Unit - CPU 1 Central Processing Unit - CPU Central Processing Unit (CPU) is the brain of a PLC controller. CPU itself is usually one of the microcontrollers. Aforetime these were 8-bit microcontrollers such as 8551,

More information

Microcontrollers for Ham Radio

Microcontrollers for Ham Radio Microcontrollers for Ham Radio MARTIN BUEHRING - KB4MG MAT T PESCH KK4NLK TOM PERRY KN4LSE What is a Microcontroller? A micro-controller is a small computer on a single integrated circuit containing a

More information

Arduino Programming and Interfacing

Arduino Programming and Interfacing Arduino Programming and Interfacing Stensat Group LLC, Copyright 2017 1 Robotic Arm Experimenters Kit 2 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and

More information

MEDIS Module 2. Microcontroller based systems for controlling industrial processes. Chapter 4: Timer and interrupts. M. Seyfarth, Version 0.

MEDIS Module 2. Microcontroller based systems for controlling industrial processes. Chapter 4: Timer and interrupts. M. Seyfarth, Version 0. MEDIS Module 2 Microcontroller based systems for controlling industrial processes Chapter 4: Timer and interrupts M. Seyfarth, Version 0.1 Steuerungstechnik 1: Speicherprogrammierbare Steuerungstechnik

More information

Computer Architectures

Computer Architectures Implementing the door lock with Arduino Gábor Horváth 2017. február 24. Budapest associate professor BUTE Dept. Of Networked Systems and Services ghorvath@hit.bme.hu Outline Aim of the lecture: To show

More information

ARDUINO YÚN Code: A000008

ARDUINO YÚN Code: A000008 ARDUINO YÚN Code: A000008 Arduino YÚN is the perfect board to use when designing connected devices and, more in general, Internet of Things projects. It combines the power of Linux with the ease of use

More information

ELECTRONIC SYSTEMS. Politecnico di Torino - ICT school. Goup B - goals. System block diagram Sensors and actuators Analog and digital signals

ELECTRONIC SYSTEMS. Politecnico di Torino - ICT school. Goup B - goals. System block diagram Sensors and actuators Analog and digital signals Politecnico di Torino - ICT school Goup B - goals ELECTRONIC SYSTEMS B INFORMATION PROCESSING B.1 Systems, sensors, and actuators» System block diagram» Analog and digital signals» Examples of sensors»

More information

Micro-controllers. Applications in Experimental Aircraft. RAA Meeting Nov 14, Terry Fisher

Micro-controllers. Applications in Experimental Aircraft. RAA Meeting Nov 14, Terry Fisher Micro-controllers Applications in Experimental Aircraft RAA Meeting Nov 14, 2016 Terry Fisher About Me Retired software/hardware designer Pilot Cessna 182T C-GYKF, G1000 Building a Rotorway Exec 162F Mentor

More information

Index A COPYRIGHTED MATERIAL 349

Index A COPYRIGHTED MATERIAL 349 = (assignment) operator, 34 == (comparison) operator, 32 && (logical) operator, 35 3-bit analog quantization, 44 45 3.3V power, 7 5V power, 7, 82 84 74HC595 shift register, 148 151 A accelerometers, triple

More information

Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System

Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System Ahmed Okasha okasha1st@gmail.com

More information

Appendix F: Design Documentation for multisensory therapy system

Appendix F: Design Documentation for multisensory therapy system Appendix F: Design Documentation for multisensory therapy system This appendix contains in details all the system design. It summarizes at the structure design, electrical design, and software design.

More information

GUIDE TO SP STARTER SHIELD (V3.0)

GUIDE TO SP STARTER SHIELD (V3.0) OVERVIEW: The SP Starter shield provides a complete learning platform for beginners and newbies. The board is equipped with loads of sensors and components like relays, user button, LED, IR Remote and

More information

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL 1 Preface About RobotLinking RobotLinking is a technology company focused on 3D Printer, Raspberry Pi and Arduino open source community development.

More information

IDUINO for maker s life. User Manual. For IDUINO Mega2560 Board(ST1026)

IDUINO for maker s life. User Manual. For IDUINO Mega2560 Board(ST1026) User Manual For IDUINO Mega2560 Board(ST1026) 1.Overview 1.1 what is Arduino? Arduino is an open-source prototyping platform based on easy-to-use hardware and software. Arduino boards are able to read

More information

PDF of this portion of workshop notes:

PDF of this portion of workshop notes: PDF of this portion of workshop notes: http://goo.gl/jfpeym Teaching Engineering Design with Student-Owned Digital and Analog Lab Equipment John B. Schneider Washington State University June 15, 2015 Overview

More information

Score. Test. Issued. Date. Name:

Score. Test. Issued. Date. Name: Name: Date Issued Test Score 1073 2 Workbook Summary To learn about Arduino electronics. To learn how to upload a code the Arduino UNO board. To learn the basic principles of electricity. To learn about

More information

Product Manual. Relay Plug

Product Manual. Relay Plug Product Manual Relay Plug Updated on 24 June 2017 Index Index 1 Introduction 2 Specification 3 Operating voltage: 5V 3 Variants 4 Supported cables: 4 Details 4 How to interface? 5 Example Codes 9 Arduino

More information

Scientech Universal PLC Platform. Features. New

Scientech Universal PLC Platform. Features. New New In today's environment of automation, the importance of PLC has rapidly increased. Universal PLC Platform is an ideal setup to study the working of PLC's used for industrial applications. has been

More information

ARDUINO YÚN MINI Code: A000108

ARDUINO YÚN MINI Code: A000108 ARDUINO YÚN MINI Code: A000108 The Arduino Yún Mini is a compact version of the Arduino YUN OVERVIEW: Arduino Yún Mini is a breadboard PCB developed with ATmega 32u4 MCU and QCA MIPS 24K SoC CPU operating

More information

Workshop on Microcontroller Based Project Development

Workshop on Microcontroller Based Project Development Organized by: EEE Club Workshop on Microcontroller Based Project Development Presented By Mohammed Abdul Kader Assistant Professor, Dept. of EEE, IIUC Email:kader05cuet@gmail.com Website: kader05cuet.wordpress.com

More information

ROS Interface with Low Level Control - Arduino

ROS Interface with Low Level Control - Arduino ROS Interface with Low Level Control - Arduino Welcome Dr. Ahmad Kamal Nasir 12.02.2015 Dr. Ahmad Kamal Nasir 1 Today s Objectives Introduction to Arduino Writing simple Arduino sketches Serial Communication

More information

ARDUINO BOARD LINE UP

ARDUINO BOARD LINE UP Technical Specifications Pinout Diagrams Technical Comparison Board Name Processor Operating/Input Voltage CPU Speed Analog In/Out Digital IO/PWM USB UART 101 Intel Curie 3.3 V/ 7-12V 32MHz 6/0 14/4 Regular

More information

FUNCTIONS USED IN CODING pinmode()

FUNCTIONS USED IN CODING pinmode() FUNCTIONS USED IN CODING pinmode() Configures the specified pin to behave either as an input or an output. See the description of digital pins for details on the functionality of the pins. As of Arduino

More information

CHAPTER 5. Voltage Regulator

CHAPTER 5. Voltage Regulator CHAPTER 5 Voltage Regulator In your robot, the energy is derived from batteries. Specifically, there are two sets of batteries wired up to act as voltage sources; a 9V battery, and two 1.5V batteries in

More information

Physical Computing Tutorials

Physical Computing Tutorials Physical Computing Tutorials How to install libraries Powering an Arduino Using an MPR121 capacitive touch sensor Using a Sparkfun MP3 Trigger Controlling an actuator with TinkerKit Mosfet Making sounds

More information

4 CHANNEL RELAY BOARD- BLUETOOTH

4 CHANNEL RELAY BOARD- BLUETOOTH 4 CHANNEL RELAY BOARD- BLUETOOTH www.researchdesignlab.com Page 1 Table of Contents OVERVIEW...3 FEATURES...3 APPLICATION DIAGRAM...4 Bluetooth Module HC 05...5 SPECIFICATION... 5 APPLICATION...5 CIRCUIT

More information

DEV-1 HamStack Development Board

DEV-1 HamStack Development Board Sierra Radio Systems DEV-1 HamStack Development Board Reference Manual Version 1.0 Contents Introduction Hardware Compiler overview Program structure Code examples Sample projects For more information,

More information

3. The circuit is composed of 1 set of Relay circuit.

3. The circuit is composed of 1 set of Relay circuit. Part Number : Product Name : FK-FA1420 ONE CHANNEL 12V RELAY MODULE This is the experimental module for a relay controller as the fundamental controlling programming. It is adaptable or is able to upgrade

More information

UNIT II SPECIAL SEMICONDUCTOR DEVICES

UNIT II SPECIAL SEMICONDUCTOR DEVICES UNIT II SPECIAL SEMICONDUCTOR DEVICES 1 2 3 4 5 6 7 8 9 10 11 12 13 A photodiode is a semiconductor device that converts light into an electrical current. The current is generated when photons are absorbed

More information

Microcontrollers and Interfacing week 8 exercises

Microcontrollers and Interfacing week 8 exercises 2 HARDWARE DEBOUNCING Microcontrollers and Interfacing week 8 exercises 1 More digital input When using a switch for digital input we always need a pull-up resistor. For convenience, the microcontroller

More information

09/05/2014. Engaging electronics for the new D&T curriculum. Geoff Hampson Managing Director of Kitronik. Presentation overview

09/05/2014. Engaging electronics for the new D&T curriculum. Geoff Hampson Managing Director of Kitronik. Presentation overview Presentation overview Engaging electronics for the new D&T curriculum Geoff Hampson Managing Director of Kitronik What to include Free web resources Electronic project ideas Using programmable components

More information

MBM - Modular I/O system IP20

MBM - Modular I/O system IP20 - Modular I/O system IP20 Input/output module digital 4-way Ordering data 4 digital inputs and outputs 55882 3-wire screw terminal block 55832 3-wire spring clamp terminal block 55852 Load weight 1) 1.00

More information

Embedded Systems and Kinetic Art. CS5968: Erik Brunvand School of Computing. FA3800: Paul Stout Department of Art and Art History.

Embedded Systems and Kinetic Art. CS5968: Erik Brunvand School of Computing. FA3800: Paul Stout Department of Art and Art History. Embedded Systems and Kinetic Art CS5968: Erik Brunvand School of Computing FA3800: Paul Stout Department of Art and Art History Logistics Class meets Wednesdays from 3:05-6:05 We ll start meeting in MEB

More information

Logistics. Embedded Systems. Kinetic Art. This Class. Embedded Systems and Kinetic Art. Kinetic Art

Logistics. Embedded Systems. Kinetic Art. This Class. Embedded Systems and Kinetic Art. Kinetic Art Embedded Systems and Kinetic Art CS5968: Erik Brunvand School of Computing FA3800: Paul Stout Department of Art and Art History Logistics Class meets Wednesdays from 3:05-6:05 We ll start meeting in MEB

More information

Electronic Brick Starter Kit

Electronic Brick Starter Kit Electronic Brick Starter Kit Getting Started Guide v1.0 by Introduction Hello and thank you for purchasing the Electronic Brick Starter Pack from Little Bird Electronics. We hope that you will find learning

More information

Stellar Instruments. SC1 Controller & Display System. General User s Manual. Copyright 2013 Stellar Instruments 1

Stellar Instruments. SC1 Controller & Display System. General User s Manual. Copyright 2013 Stellar Instruments 1 Stellar Instruments SC1 Controller & Display System General User s Manual Copyright 2013 Stellar Instruments 1 Contents Section 1 General... 3 Section 2 Base Unit A (Multi-Event Programmable Timer)...

More information

Introduction To Arduino

Introduction To Arduino Introduction To Arduino What is Arduino? Hardware Boards / microcontrollers Shields Software Arduino IDE Simplified C Community Tutorials Forums Sample projects Arduino Uno Power: 5v (7-12v input) Digital

More information

user manual Getting started... 3 Calibration... 3 Getting to know your robot... 4

user manual Getting started... 3 Calibration... 3 Getting to know your robot... 4 user manual Table of Contents Getting started... 3 Calibration... 3 Getting to know your robot... 4 Battery pack and power supply... 4 USB connector and power... 4 Arduino hardware... 5 Proximity sensor...

More information