Arduino Uno Microcontroller Overview
|
|
- Phillip Sanders
- 6 years ago
- Views:
Transcription
1 Innovation Fellows Program Arduino Uno Microcontroller Overview, Department of Biomedical Engineering, University of Minnesota
2 Arduino Uno
3 Power & Interface Reset Button USB Interface 7 to 12 VDC Input Debug LED Digital I/O Pins ICSP Connector ATMega Microcontroller Power & Auxiliary Pins Analog to - Digital Converter Pins
4 USB Connection to Computer
5 Example Modules Sensors Ultrasonic Sensor - HC-SR04 IR Sensor 2Y0A21 Sharp Digital Distance Sensor MAX6675 Module + K Type Thermocouple Temperature Sensor Diymall Bme280 Pressure Temperature Sensor Module with IIC I2c SunFounder Accelerometer ADXL335
6 9-Axis Absolute Orientation Sensor Sensor fusion combines the following measurements Absolute Orientation (Euler Vector, 100Hz) Three axis orientation data based on a 360 sphere. Absolute Orientation (Quaterion, 100Hz) Four point quaternion output for more accurate data manipulation. Angular Velocity Vector (100Hz) Three axis of 'rotation speed' in rad/s. Acceleration Vector (100Hz) Three axis of acceleration (gravity + linear motion) in m/s^2. Magnetic Field Strength Vector (20Hz) Three axis of magnetic field sensing in micro Tesla (ut). Linear Acceleration Vector (100Hz) Three axis of linear acceleration data (acceleration minus gravity) in m/s^2. Gravity Vector (100Hz) Three axis of gravitational acceleration (minus any movement) in m/s^2. Temperature (1Hz) Ambient temperature in degrees celsius. Courtesy of Adafruit
7 Actuators Standard Size - High Torque - Metal Gear Servo Stepper Motor DC Motor with Gear 2-Channel 5 V Solid State Relay Module
8 User Interface Diymall 0.96" Inch I2c IIC Serial 128x64 Oled LCD LED White Display Module 7-Segment Serial Display - Red Adafruit 1.8 Color TFT LCD Display with MicroSD Card Breakout ST77 35R1.8" Color TFT LCD display with MicroSD Card Breakout - ST7735R Mini ISD2548 Digital Voice Recorder
9 Consider this Device Concept Task: Make a digital thermometer consisting of an enclosure, microcontroller board, thermocouple sensor, digital display, sound alert, slide switch, pushbutton and battery
10 Formulate an Algorithm 1. When the pushbutton is pressed Measure the temperature, Beep when the reading is good, Display the value for ten seconds, and finally Save the value to memory. 2. Start all over again. 3. Now flowchart this
11 Flowchart the Algorithm Start Monitor for Button Press No Button Pressed? Yes Read Temperature Store Value Valid Reading? No Yes Stop Clear Display Delay 10 Sec. Display Temperature & Beep
12 Software & Programming 1. Software is the smart in your smart device. 2. An algorithm displayed as a flowchart, transforms your problem into various input, processing, decision and output steps 3. Lines of code are written to implement your algorithm. 4. Code may be written in assembly language and/or higher level languages such as C, C++, and C#. 5. A compiler converts your code into machine language that the microcontroller understands. 6. The compiled code is then uploaded into a board containing the microcontroller, memory and various interface circuits. 7. Errors are then fixed by debugging. 8. You may write your own code and/or incorporate code that has been written by others ( sketches ).
13 Integrated Development Environment (IDE) Editor To write your code in C (.c) and/or assembly (.a) language. A finished program is called a sketch. Compiler Turns your code into machine readable instructions or object files (.o). A Linker combines this code with the standard Arduino Libraries, producing a single hex file (.h). Means to Upload Transferring the hex file to the Arduino board program memory. This is done via the USB or serial connection with the aid of the bootloader. Means to Run Executing the Program Means to Debug Finding & Correcting Errors
14 Arduino Programming Components 1. Structures A. Setup & loop B. Control statements C. Syntax D. Arithmetic operators E. Comparison operators F. Bitwise operators G. Compound operators 2. Variables A. Constants B. Data Types C. Variable Scope D. Qualifiers E. Conversion F. Utilities We will discuss today only the items above in blue. 3. Functions A. Digital I/O B. Analog I/O C. Due & Zero only D. Advanced I/O E. Time F. Math G. Trigonometry H. Characters I. Random numbers J. Bits and bytes K. External interrupts L. Interrupts M. Communication N. USB
15 1. Structures: Setup() Example 1) Initialize variables 2) Assign pins 3) Runs once, after powerup or reset. int buttonpin = 3; void setup() { Serial.begin(9600) ; //serial baud rate pinmode(buttonpin), INPUT); //assign pin 3 to be an input void loop() {
16 Loop() Example 1. Occurs after setup. 2. Loops consecutively 3. Initialize variables 4. Assign pins 5. Runs once, after powerup or reset. 6. Variations: if, ifelse; if-else-if int buttonpin = 3; void setup() { Serial.begin(9600) ; //serial baud rate pinmode(buttonpin), INPUT); //assign 3 to be an input void loop() { if(digitalread(buttonpin) == HIGH) Serial.write( H ); else serial.write( L ); delay(1000);
17 Control Statements Loop Statements For While Do-While Decision Statements Break and Continue If If-Else, if-else-if Switch-Case Directional Goto Return
18 Arrays 1. The first element is indexed with zero, e.g. a[3] has 3 elements, a[0], a[1], and a[2]. 2. Declare as usual, e.g. int a[3], float a[3], and char a[3]. 3. Initialize: int a[3] = {2, 6, Ok to initialize using a for loop. 5. If number of elements is not stated, the initialization will determine it, e.g. int a[ ] = {2, 6, 1 elements will be three. 6. Arrays may be multidimensional, e.g. a[3, 5]. 7. Two dimensional (rows and columns) can also be written, e.g. int M[4] [5] (remember there is a zero row and column). 8. Number of elements may be determined by variable in which case range check first.
19 For Statement (a Loop) Statement Format for (initialization; condition; increment) {program statement(s); Example Code Example What is the value of the a[49] element? int a[100]; for (int n = 0; n < 100; n = n + 1) { a[n] = n * 2;
20 While Statement (a Loop) while (expression a boolean that is true or false) {program statement(s); Example What is the value of a[30] element? int a[100]; int n = 0; while (n < 100) { a[n] = n * 3; n = n + 1; // Could also use ++n
21 Do-while Statement (a Loop) do {program statement(s) while (test condition); Example What is the value of a[75] element? int a[100]; int n = 0; do { a[n] = n * 4; n = n + 1; while n < 100;
22 If Statement (a Decision) if (expression) {program statement(s); Example What is the value of n? int a = 4, n = 0; if a <= 5 { n = n + 50;
23 If-Else Statement (a Decision) if (expression) {program statement(s); else {program statement(s); Example What is the value of n? int a = 10, n = 0; if a <= 5 { n = n + 50; else { n = n + 25;
24 Switch Case Statement (a Decision ) switch (expression) { case label1: program statements; break; case label2: program statements; break; default: program statements; break; For example: int a; Bool buy; a = 2; switch (a) { case 1: // if a =1 buy = true; break; case 2: // if a =2 buy = false; break;
25 Syntax ; Used to end a statement { Enclose statements, keep balanced // Start comment until end of line /* */ Multi-line comment #define #include Assigning a value to a constant name Follows C rules and no semicolon afterwards Use const type variable = value (e.g. const float pi = 3.14) when able instead. To include outside libraries
26 Arithmetic & Boolean Operators = assignment operator + addition - subtraction * multiplication / division % modulo && and or! not
27 Comparison & Pointer Operators == equal to!= not equal to < less than > greater than <= less than or equal to >= greater than or equal to * dereference & reference
28 2. Variables: Constants 1. true false (typed in lower case) 1. false is defined as zero 2. true is defined as one, or any boolean test of an integer that is non-zero. 2. Integer constants: Decimal 123 Binary B (leading B) Octal 0173 (leading zero) Hexadecimal 0x7B (leading 0x)
29 5. Floating point constants: Constant Evaluates to Also E * 10^ e * 10^
30 Data Types 1. boolean (8 bit) - simple logical true/false (1 byte = 8 bits) 2. byte (8 bit) - unsigned number from char (8 bit) - signed number from -128 to 127. The compiler will attempt to interpret this data type as a character in some circumstances, which may yield unexpected results 4. unsigned char (8 bit) - same as byte ; if this is what you re after, you should use byte instead, for reasons of clarity 5. word (16 bit) - unsigned number from (1 word = 2 bytes) 6. unsigned int (16 bit)- the same as word. Use word instead for clarity and brevity.
31 7. int (16 bit) - signed number from to This is most commonly what you see used for general purpose variables in Arduino example code provided with the IDE. 8. unsigned long (32 bit) - unsigned number from 0-4,294,967,295. The most common usage of this is to store the result of the millis() function, which returns the number of milliseconds the current code has been running. 9. long (32 bit) - signed number from -2,147,483,648 to 2,147,483, float (32 bit) or double- signed number from E38 to E38. Floating point on the Arduino is not native; the compiler has to jump through hoops to make it work. If you can avoid it, you should.
32 Variable Scope 1. A global variable is one that can be seen by every function in a program. Local variables are only visible to the function in which they are declared. In the Arduino environment, any variable declared outside of a function (e.g. setup(), loop(), etc. ), is a global variable. For loop variables are local. 2. Static - the static keyword is used to create variables that are visible to only one function.
33 3. Functions: Digital I/O (Digital Pins) Digital pins on the Arduino can be defined as being Inputs or Outputs using the function pinmode(). The state of a digital pin can be determined with the function digitalread(). The state of an output can be set as High or Low with the function digitalwrite().
34 digitalwrite() digitalwrite() writes a HIGH or a LOW value to a digital pin. If the pin has been configured as an OUTPUT with pinmode(), its voltage will be set to the corresponding value: 5V (or 3.3V on 3.3V boards) for HIGH, 0V (ground) for LOW. If the pin is configured as an INPUT, digitalwrite() will enable (HIGH) or disable (LOW) the internal pullup on the input pin. It is recommended to set the pinmode() to INPUT_PULLUP to enable the internal pull-up resistor. See the digital pins tutorial for more information. e.g. digitalwrite(ledpin, HIGH)
35 digitalread() digital read() reads the value from a specified digital pin, either HIGH or LOW. e.g. digitalread(inpin);
36 Example: Blinking an LED const int LED = 10; int blinks = 5; bool done = false; void setup() { pinmode(led, OUTPUT); digitalwrite(led, LOW); // blink 5 times; //set pin 10 as an OUTPUT // Initialize off void loop() { while (done!= true) { for (int i = 1; i<= blinks; ++i) // ++i same as i = i+1 { digitalwrite(led, HIGH); // Turn on LED delay(500); //Pause digitalwrite(led, LOW); // Turn off LED delay(500); //Pause done = true;
37 Schematic
38 Example: Debouncing a Pushbutton const int LED = 9, BUTTON = 2; bool laststate = LOW, currentstate = LOW, lit = false; void setup() { pinmode(led, OUTPUT); pinmode(button, INPUT); boolean debounce(boolean last) //function { boolean state = digitalread(button); if(last!= state) // has button settled down { delay(5); //delay if not state= digitalread(button); //and read again return state; void loop() { currentstate = debounce(laststate); //call function if (laststate == LOW && currentstate == HIGH) { lit =!lit; //toggle LED laststate = currentstate; digitalwrite(led, lit); //update LED
39 Debouncing a Pushbutton
40 analogreference() analogreference() - configures the reference voltage used for analog input (i.e. the value used as the top of the input range). The options are: DEFAULT: the default analog reference of 5 volts (on 5V Arduino boards) or 3.3 volts (on 3.3V Arduino boards) INTERNAL: an built-in reference, equal to 1.1 volts on the ATmega168 or ATmega328 and 2.56 volts on the ATmega8 (not available on the Arduino Mega) INTERNAL1V1: a built-in 1.1V reference (Arduino Mega only) INTERNAL2V56: a built-in 2.56V reference (Arduino Mega only) EXTERNAL: the voltage applied to the AREF pin (0 to 5V only) is used as the reference.
41 analogread() analogread() reads the value from the specified analog pin. The Arduino board contains a 6 channel (8 channels on the Mini and Nano, 16 on the Mega), 10-bit analog to digital converter. This means that it will map input voltages between 0 and 5 volts into integer values between 0 and This yields a resolution between readings of: 5 volts / 1024 units or,.0049 volts (4.9 mv) per unit. The input range and resolution can be changed using analogreference(). It takes about 100 microseconds ( s) to read an analog input, so the maximum reading rate is about 10,000 times a second
42 analogwrite() analogwrite() writes an analog value (PWM wave) to a pin. Can be used to light a LED at varying brightnesses or drive a motor at various speeds. After a call to analogwrite(), the pin will generate a steady square wave of the specified duty cycle until the next call to analogwrite() (or a call to digitalread() or digitalwrite() on the same pin). The frequency of the PWM signal on most pins is approximately 490 Hz. On the Uno and similar boards, pins 5 and 6 have a frequency of approximately 980 Hz. Pins 3 and 11 on the Leonardo also run at 980 Hz.
43 analogreadresolution() analogreadresolution() is also an extension of the Analog API for the Arduino Due and Zero. Sets the size (in bits) of the value returned by analogread(). It defaults to 10 bits (returns values between ) for backward compatibility with AVR based boards. The Due and the Zero have 12-bit ADC capabilities that can be accessed by changing the resolution to 12. This will return values from analogread() between 0 and 4095.
44 Example: Reading a Potentiometer Igoe, Tom. If statement tutorial. Arduino 2012
45 Reading a Potentiometer const int analogpin = A0; const int ledpin = 13; const int threshold = 400; void setup() { pinmode(ledpin, OUTPUT); Serial.begin(9600); void loop() { int analogvalue = analogread(analogpin); if (analogvalue > threshold) { digitalwrite(ledpin, HIGH); // pin that the potentiometer is attached to // pin that the LED is attached to on UNO // an arbitrary threshold level that's in the range of the analog input // initialize the LED pin as an output // initialize serial communications // read the value of the potentiometer // if the analog value is high enough, turn on the LED else { digitalwrite(ledpin, LOW); Serial.println(analogValue); delay(1); // print the analog value // delay in between reads for stability Igoe, Tom. If statement tutorial. Arduino 2012
46 I 2 C or Inter-Integrated Circuit Serial Interface SDA SCL Only two bus lines are required; a serial data line (SDA) and a serial clock line (SCL). Each device connected to the bus is software addressable. Serial, 8-bit oriented, bidirectional data transfers can be made.
47 Summary Arduino Uno, sensors and actuator examples. Using an IDE, programs are typically written in C and assembly language, compiled, linked with libraries and uploaded onto the Arduino board memory as hexadecimal code. Structures, variables and functions comprise an embedded program. Digital pins are defined as INPUT or OUTPUT and having levels of HIGH and LOW. Digital and analog functions. Examples: blinking light, debouncing a pushbutton and reading a potentiometer. I 2 C Serial 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 informationMore 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 informationArduino 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 informationFUNCTIONS 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 informationArduino 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 informationFUNCTIONS 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 informationIME-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 informationLab 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 informationIntroduction 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 informationArduino 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 informationProcedure: 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 informationTANGIBLE 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 informationUniversity 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<Table of content> <Parts and description> <Circuit board Guide> <Pins> <Basics of Coding> <Intro to Arduino> <Intro> <Downloading Arduino IDO>
http://www.arduino.cc/
More informationIntroduction 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 informationARDUINO. 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 informationIME-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 informationkeyestudio 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 informationChapter 2 The Basic Functions
Chapter 2 The Basic Functions 2.1 Overview The code you learn to write for your Arduino is very similar to the code you write in any other computer language. This implies that all the basic concepts remain
More informationEXPERIMENT 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 informationIME-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 informationIntroduction 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 informationARDUINO 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 informationSerial.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 informationArduino and Matlab for prototyping and manufacturing
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 Index 1. Arduino 2. Arduino
More informationARDUINO 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 informationArduino provides a standard form factor that breaks the functions of the micro-controller into a more accessible package.
About the Tutorial Arduino is a prototype platform (open-source) based on an easy-to-use hardware and software. It consists of a circuit board, which can be programed (referred to as a microcontroller)
More informationEnergia MSP-430!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1
Energia MSP-430 1 3 Energia 4 4 4 6 8 9 Energia 11 18 2 IIB Energia MSP-430 IIB C C++ 3 Energia Energia MSP-430 Windows Mac OS Linux MSP-430, http://www.energia.nu, Max OS X, windows Linux Mac OS X, energia-
More informationAdapted from a lab originally written by Simon Hastings and Bill Ashmanskas
Physics 364 Arduino Lab 1 Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas Vithayathil/Kroll Introduction Last revised: 2014-11-12 This lab introduces you to an electronic development
More informationSECOND 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 informationIntroduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur
Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture - 23 Introduction to Arduino- II Hi. Now, we will continue
More informationHow 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 informationRobotics/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 informationArduino 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 informationNote. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.
Robotics and Electronics Unit 2. Arduino Objectives. Students will understand the basic characteristics of an Arduino Uno microcontroller. understand the basic structure of an Arduino program. know how
More informationarduino programming notebook brian w. evans revised by Paul Badger
arduino programming notebook brian w. evans revised by Paul Badger Arduino Programming Notebook Written and compiled by Brian W. Evans With information or inspiration taken from: http://www.arduino.cc
More informationThe 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 informationARDUINO MICRO WITHOUT HEADERS Code: A000093
ARDUINO MICRO WITHOUT HEADERS Code: A000093 Arduino Micro is the smallest board of the family, easy to integrate it in everyday objects to make them interactive. The Micro is based on the ATmega32U4 microcontroller
More informationUSER 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 informationSPDM 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 informationArduino Workshop. Overview. What is an Arduino? Why Arduino? Setting up your Arduino Environment. Get an Arduino based board and usb cable
Arduino Workshop Overview Arduino, The open source Microcontroller for easy prototyping and development What is an Arduino? Arduino is a tool for making computers that can sense and control more of the
More informationLaboratory 1 Introduction to the Arduino boards
Laboratory 1 Introduction to the Arduino boards The set of Arduino development tools include µc (microcontroller) boards, accessories (peripheral modules, components etc.) and open source software tools
More informationArduino 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 informationJUN 18 Rev 3
Application Specification 114-133115 21 JUN 18 Rev 3 AmbiMate MS4: Application software in Python and for Arduino NOTE All numerical values are in metric units [with U.S. customary units in brackets].
More informationIntroduction to Arduino Diagrams & Code Brown County Library
Introduction to Arduino Diagrams & Code Project 01: Blinking LED Components needed: Arduino Uno board LED Put long lead into pin 13 // Project 01: Blinking LED int LED = 13; // LED connected to digital
More informationArduino: What is it? What can it do?
Arduino: What can it do? tswsl1989@sucs.org May 20, 2013 What is an Arduino? According to Arduino: Arduino is a tool for making computers that can sense and control more of the physical world than your
More informationBASIC 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 informationIntroduction to Arduino Diagrams & Code Brown County Library
Introduction to Arduino Diagrams & Code Project 01: Blinking LED Components needed: Arduino Uno board LED Put long lead into pin 13 // Project 01: Blinking LED int LED = 13; // LED connected to digital
More informationINDUSTRIAL 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 informationARDUINO 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 informationExpLoRer Starter Kit User Guide
ExpLoRer Starter Kit User Guide Introducing: ExpLoRer 2 3 Why Arduino?? Open Source Industry standard Easily accessible Free IDEs No flashing tools needed only a USB cable Simple structure (setup & loop)
More informationIntroduction 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 informationSmart 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 informationROBOTLINKING 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 informationArduino Smart Robot Car Kit User Guide
User Guide V1.0 04.2017 UCTRONIC Table of Contents 1. Introduction...3 2. Assembly...4 2.1 Arduino Uno R3...4 2.2 HC-SR04 Ultrasonic Sensor Module with Bracket / Holder...5 2.3 L293D Motor Drive Expansion
More informationEEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE
EEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 1: INTRODUCTION TO ARDUINO IDE AND PROGRAMMING DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS 1. FYS KIT COMPONENTS
More informationArduino 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 informationArduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front
Arduino Uno Arduino Uno R3 Front Arduino Uno R2 Front Arduino Uno SMD Arduino Uno R3 Back Arduino Uno Front Arduino Uno Back Overview The Arduino Uno is a microcontroller board based on the ATmega328 (datasheet).
More informationEP486 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 informationGOOD 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 informationLab 2 - Powering the Fubarino. Fubarino,, Intro to Serial, Functions and Variables
Lab 2 - Powering the Fubarino Fubarino,, Intro to Serial, Functions and Variables Part 1 - Powering the Fubarino SD The Fubarino SD is a 56 pin device. Each pin on a chipkit device falls broadly into one
More informationIntroduction to Arduino Programming. Sistemi Real-Time Prof. Davide Brugali Università degli Studi di Bergamo
Introduction to Arduino Programming Sistemi Real-Time Prof. Davide Brugali Università degli Studi di Bergamo What is a Microcontroller www.mikroe.com/chapters/view/1 A small computer on a single chip containing
More informationArduino Part 3. Introductory Medical Device Prototyping
Introductory Medical Device Prototyping Arduino Part 3, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota More Arduino Functions More functions: Math functions Trigonometry
More informationArduino ADK Rev.3 Board A000069
Arduino ADK Rev.3 Board A000069 Overview The Arduino ADK is a microcontroller board based on the ATmega2560 (datasheet). It has a USB host interface to connect with Android based phones, based on the MAX3421e
More informationIndex 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 informationARDUINO M0 PRO Code: A000111
ARDUINO M0 PRO Code: A000111 The Arduino M0 Pro is an Arduino M0 with a step by step debugger With the new Arduino M0 Pro board, the more creative individual will have the potential to create one s most
More informationModern Robotics Inc. Sensor Documentation
Sensor Documentation Version 1.0.1 September 9, 2016 Contents 1. Document Control... 3 2. Introduction... 4 3. Three-Wire Analog & Digital Sensors... 5 3.1. Program Control Button (45-2002)... 6 3.2. Optical
More informationComputer 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 informationARDUINO 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 informationArduino - DigitalReadSerial
arduino.cc Arduino - DigitalReadSerial 5-6 minutes Digital Read Serial This example shows you how to monitor the state of a switch by establishing serial communication between your Arduino or Genuino and
More informationARDUINO MINI 05 Code: A000087
ARDUINO MINI 05 Code: A000087 The Arduino Mini is a very compact version of the Arduino Nano without an on board USB to Serial connection The Arduino Mini 05 is a small microcontroller board originally
More informationUniversity of Hull Department of Computer Science C4DI Interfacing with Arduinos
Introduction Welcome to our Arduino hardware sessions. University of Hull Department of Computer Science C4DI Interfacing with Arduinos Vsn. 1.0 Rob Miles 2014 Please follow the instructions carefully.
More informationTABLE 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 informationSPLDuino Programming Guide
SPLDuino Programming Guide V01 http://www.helloapps.com http://helloapps.azurewebsites.net Mail: splduino@gmail.com HelloApps Co., Ltd. 1. Programming with SPLDuino 1.1 Programming with Arduino Sketch
More informationARDUINO INDUSTRIAL 1 01 Code: A000126
ARDUINO INDUSTRIAL 1 01 Code: A000126 The Industrial 101 is a small form-factor YUN designed for product integration. OVERVIEW: Arduino Industrial 101 is an Evaluation board for Arduino 101 LGA module.
More informationCARTOOINO Projects Book
1 CARTOOINO Projects Book Acknowledgement Acknowledgement This Cartooino Projects Book is a cartoon based adaptation of the Arduino Projects Book. The Cartooino Project Book was developed by the GreenLab
More informationGUIDE 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 informationSENSORS AND MOTORS LAB
SENSORS AND MOTORS LAB Astha Prasad Team F / ADD_IN Teammates: Daniel Berman, Nikhil Baheti, Ihsane Debbache ILR #1 October 16 th, 2015 Individual Progress For the Sensors and Motors lab, I was responsible
More informationIntroduction to Microcontrollers
Introduction to Microcontrollers June 2017 Scott A. Theis W2LW Rev 5 ( 0 8 / 0 2 / 2 0 1 7 ) What s it all about How to get started What are some of the common controller options General introduction to
More informationTANGIBLE MEDIA & PHYSICAL COMPUTING MORE ARDUINO
TANGIBLE MEDIA & PHYSICAL COMPUTING MORE ARDUINO AGENDA RECAP ALGORITHMIC APPROACHES TIMERS RECAP: LAST WEEK WE DID: ARDUINO IDE INTRO MAKE SURE BOARD AND USB PORT SELECTED UPLOAD PROCESS COVERED DATATYPES
More informationEarthshine Design Arduino Starters Kit Manual - A Complete Beginners Guide to the Arduino. Project 13. Serial Temperature Sensor
Project 13 Serial Temperature Sensor 75 Project 13 - Serial Temperature Sensor Now we are going to make use of the Temperature Sensor in your kit, the LM35DT. You will need just one component. What you
More informationSpecification. 1.Power Supply direct from Microcontroller Board. 2.The circuit can be used with Microcontroller Board such as Arduino UNO R3.
Part Number : Product Name : FK-FA1410 12-LED AND 3-BOTTON SHIELD This is the experimental board for receiving and transmitting data from the port of microcontroller. The function of FK-FA1401 is fundamental
More informationARDUINO MEGA ADK REV3 Code: A000069
ARDUINO MEGA ADK REV3 Code: A000069 OVERVIEW The Arduino MEGA ADK is a microcontroller board based on the ATmega2560. It has a USB host interface to connect with Android based phones, based on the MAX3421e
More informationAdafruit 1-Wire GPIO Breakout - DS2413
Adafruit 1-Wire GPIO Breakout - DS2413 Created by Bill Earl Last updated on 2018-08-22 03:40:00 PM UTC Guide Contents Guide Contents Overview Assembly & Wiring Headers Position the Header And Solder! Wiring
More informationArduino Uno R3 INTRODUCTION
Arduino Uno R3 INTRODUCTION Arduino is used for building different types of electronic circuits easily using of both a physical programmable circuit board usually microcontroller and piece of code running
More informationLAB PROCEDURE. Lab Objectives 1. Generate a project using the GR-Sakura web compiler 2. Edit/Compile/Build/Debug the project using the web compiler
Lab Objectives 1. Generate a project using the GR-Sakura web compiler 2. Edit/Compile/Build/Debug the project using the web compiler Lab Materials Please verify you have the following materials at your
More informationPROGRAMMING 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 informationLab-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 informationARDUINO UNO REV3 Code: A000066
ARDUINO UNO REV3 Code: A000066 The UNO is the best board to get started with electronics and coding. If this is your first experience tinkering with the platform, the UNO is the most robust board you can
More informationARDUINO MEGA 2560 REV3 Code: A000067
ARDUINO MEGA 2560 REV3 Code: A000067 The MEGA 2560 is designed for more complex projects. With 54 digital I/O pins, 16 analog inputs and a larger space for your sketch it is the recommended board for 3D
More informationIntroduction to Arduino (programming, wiring, and more!)
Introduction to Arduino (programming, wiring, and more!) James Flaten, MN Space Grant Consortium with Ben Geadelmann, Austin Langford, et al. University of MN Twin Cities Aerospace Engineering and Mechanics
More informationLab 2 - Powering the Fubarino, Intro to Serial, Functions and Variables
Lab 2 - Powering the Fubarino, Intro to Serial, Functions and Variables Part 1 - Powering the Fubarino SD The Fubarino SD is a 56 pin device. Each pin on a chipkit device falls broadly into one of 9 categories:
More informationSanguino TSB. Introduction: Features:
Sanguino TSB Introduction: Atmega644 is being used as CNC machine driver for a while. In 2012, Kristian Sloth Lauszus from Denmark developed a hardware add-on of Atmega644 for the popular Arduino IDE and
More informationArduino 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 informationARDUINO PRIMO. Code: A000135
ARDUINO PRIMO Code: A000135 Primo combines the processing power from the Nordic nrf52 processor, an Espressif ESP8266 for WiFi, as well as several onboard sensors and a battery charger. The nrf52 includes
More informationSX1509 I/O Expander Breakout Hookup Guide
Page 1 of 16 SX1509 I/O Expander Breakout Hookup Guide Introduction Is your Arduino running low on GPIO? Looking to control the brightness of 16 LEDs individually? Maybe blink or breathe a few autonomously?
More informationThe Arduino IDE and coding in C (part 1)
The Arduino IDE and coding in C (part 1) Introduction to the Arduino IDE (integrated development environment) Based on C++ Latest version ARDUINO IDE 1.8.3 can be downloaded from: https://www.arduino.cc/en/main/software
More informationArduino Programming Part 4: Flow Control
Arduino Programming Part 4: Flow Control EAS 199B, Winter 2010 Gerald Recktenwald Portland State University gerry@me.pdx.edu Goal Make choices based on conditions in the environment Logical expressions:
More informationElectronic 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 informationPROGRAMMING AND CUSTOMIZING
PROGRAMMING AND CUSTOMIZING THE PICAXE MICROCONTROLLER SECOND EDITION DAVID LINCOLN Mc Grauu Hill New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore
More information