Basics before Migtrating to Arduino

Size: px
Start display at page:

Download "Basics before Migtrating to Arduino"

Transcription

1 Basics before Migtrating to Arduino Who is this for? Written by Storming Robots Last update: Oct 11 th, 2013 This document is meant for preparing students who have already good amount of programming knowledge, including simple data structure, file I/O, binary/hex, and most importantly must be self-motivated learners. This is not meant to focus on learning electronic, but prepare competition teams for migrating to Arduino Platform. This includes topics that you should know before you start to work on Arduino robot. Table of Contents 1- A few Basics in electronics... 3 Voltage... 3 Current... 3 Resistors... 3 How to measure the resistance:... 4 Voltage Divider (VDR)... 5 Basic Symbols Basic Digital / Analog Input... 6 Exercises: Motor Interface... 7 Pulse Width Modulation(PWM) and AnalogWrite... 8 Pulse Width Modulation(PWM)... 8 Exercises DC motor interface - PWM Simple Servo motor inteface With Ping range Exercises: Reference I2C device Communication With I2C Compass With I2C Mux With Thermal Inter-processors serial communication Sample: Interface via Software Serial between 2 controllers

2 7- Other Basics you should know debouncing Software debouncing: About Fritzing Electronic Design Automation Software Interface with NXT devices Know the Cable Sample I2C Schematic NXT via I2C a Uno/Nano, etc. sensors / motors What NOT to do? Exceeding the voltage allowed Shorting Circuit Missing Voltage Regulator Misc What is a Capacitor? What is an inductor? What is an transistor?

3 Resistor 1- A few Basics in electronics Summary of Voltage / Current / Resistance Voltage : the force of electricity; measured in volts (V). Current : amount of flow of electrons; measured in amperes (A). Resistance (from resistor) : a material's opposition to the flow of electric current; measured in ohms (Ω).The resistance increases as the diameter of the wire decreases. Ohm's Law can be written as R = V/I. Voltage Name Math Symbol Unit Unit Symbol voltage V or E volt V current I ampere (amp) A resistance R ohm Ω - Electrical force caused by the flow of electrons. - Something cause the push of electrons, that causes energy,that causes current (see below) - Also called potential difference (but rarely used) - E.g. in batteries, chemical action within the battery causes the push Current - The flow of charge through wire, like the flow of water through pipes. - Voltage is the Cause, Current is the Effect - current will flow if the circuit is complete Resistors - hindrance to the flow of charge - the frictional affects between water and the pipe surfaces - what affects resistor: o wire length resistance o Temperature resistance o Width resistance o Conducting ability of a material resistance Now, put all three together: Voltage (Volt) Current (Amp) 3

4 How to measure the resistance: There are 2 configurations Series and Parallel: (again, think about them like water flow thru a pipe) In Series: R total = R 1 + R R n V = I * R total Current remains the same at each Resistor even when each resister measures different. The amount of current (think about amount of water) going through each resistor (think about various sizes or same size of pipes) will remain the same. I R1 == I R2 == == I Rn even if all R n measure different. In Parallel: R total = Current will be different at various Resistor if these resistors measure different. The amount of current going through each resistor may be the different. I R1!= I R2!=!= I Rn if all R n measure different ohms. 4

5 Voltage Divider (VDR) There are plenty of learning resources online. But I personally thought this video is very easy to understand and fun to watch - VDR is circuit configuration, NOT a device. VDR determines the voltage drop across a resistance within a series circuit. Voltage divider is also known as a potential divider. V V V I R I R Almost all analog sensors have voltage divider. The feedback value (from Vout) reflects the variable voltage as a result of a voltage divider with at least one variable resistor. Provided: Vin = 5V, R1=2k, R2 = 3k (we know V = I * R) I = Vin / (R1+R2) (amp) I = 5v/(5000ohmz) = amp = 1 milliamp V R2 = I * R2 = 1 ma * 3000 ohmz = 3 V V R1 = I * R1 = 1 ma * 2000 ohmz = 2 V so = Vout = Vin * Suggested steps for wiring: R1 directly connected to Vin R1 on the same bus with R2 R2 directly connected to Gnd Vout in-between R1 and R2 Vout = Vin ( ) Vout = Vin ( ) Reference: 5

6 Basic Symbols 2- Basic Digital / Analog Input With photocell With potentiometer Exercises: - Blink program blink onboard LED (pin 13) with digitalwrite. - Modified Blink program - Use Fritzing diagram to hook up LED to pin 9. - Dim program - Dim and brighten LED on pin 9 using analogwrite(). - Hello World with Serial objects. Show them how to view output with Serial monitor. - Potentiometer Reading in the value of a potentiometer with analogread(). Display value using Serial.println(). - Push button Hook up a push button and display message when button is pushed. - Line Sensor module reader Read in the value from the line sensor module. - Make your own Multimeter. Create a voltage divider with two resistors. Read the "Vout" from your voltage divider into an Analog port on the Arduino. Read the value in and convert it to a voltage (analogread produces values from 0 to is 0 volts, 1023 is 5 volts). Optional: Hook up an RGB LED and write a program to change the LED color. 6

7 3- Motor Interface H-Bridge: - A circuit, an H-like configuration, used for controlling motors. - This is implemented onto a motor controller / motor shield. - Usually one H-bridge for each DC motor. Some other kinds may need two. - A single controller may have multiple H-Bridges. Quick review: Diagram from modularcircuits.com Q1..Q4 : switches element transistors D1..D4 : diode Q1+Q4== on == motor A on Q2+Q3== on == motor B on Damage!!!! There are 9 valid configuration: (0==open, 1==closed) Q1 Q2 Q3 Q

8 Pulse Width Modulation(PWM) and AnalogWrite - Arduino circuitry cannot send variable (analog) voltage. - AnalogWrite sends on/off pulses. The voltage ends up being the average voltage. - use oscilloscope to see the pulses. (if you get one!) Pulse Width Modulation(PWM) 0% Duty Cycle analogywrite(0) 25% Duty Cycle analogwrite(63) ; // out of % Duty Cycle analogwrite(127) ; // out of % Duty Cycle analogywrite(192) 100% Duty Cycle analogywrite(255) Things to Remember: analogwrite(pin,value) pin is the pine to write out to, value is a number between sends out 0 volts and 255 sends out the max voltage of 5 volts. A number in between would send out a fraction of the voltage such as voltage. As you recall we used the analogwrite() function to send a variable voltage to both dim an LED and to control the amount of power going to our motor. But that isn't exactly what is happening. The chip on the Arduino Uno, the ATmel 328P, is incapable of generating a true variable voltage. Like most digital devices, it can only create a HIGH signal at 5 volts or a LOW signal at 0 volts. Example: a) Use analogwrite to dim The Arduino's chip is able to mimic voltages in between 0 and 5 volts by using a series of timed pulses that will average out to the desired voltage. analogwrite (127) == half of maximum brightness. The Arduino will then send a series of timed pulses where the HIGH signal is sent for half the time (50%) and a LOW signal is send for the other half of the time (50%). By doing this, the Arduino creates an "average voltage" on the wire of 2.5 volts. Half the time the LED is powered at 5 volts and the other half it is turned off. 8

9 Here is a screen shot from an oscilloscope hooked up to pin 10 and we called analogwrite(10,127): The oscilloscope shows various statistics about these pulses. Look at the values Vmax, Vmin and Vavg. Vmax is the maximum voltage at 5.04 volts. Vmin is the lowest voltage at -80 mvolts (essentially 0 volts). You can see that Vavg is 2.5 volts which is what we want. The last two statistics that are important are the +Duty and Duty (together they describe what is called the duty cycle). +Duty is the percent of the time the voltage is at its highest and Duty is the percent where it is at its lowest.+duty is 51.0% and Duty is 49.0% ( these end up being roughly 50% each). So as stated earlier our signal is high half of the time and low the other half of the time. So what would the signal look like if we passed different values to analogwrite. Let s say we wanted to dim our LED to 25% so we would pass a value or 255 * 0.25 which rounds to 64. We should see an average 1.25 volts (5 volts * 0.25). So calling analogwrite(10,64) our oscilloscope shows: As you can see Vavg is 1.25 volts. Also notice our +Duty stat is 25.5% and our Duty state is 74.5%. So on average our pin is switched to HIGH for 25.5% of the time and LOW for the other 74.5% (which is very close to 25% off and 75% on). 9

10 Say we want to dim to 75% (255 * 0.75 = ). So we call analogwrite(10,191) and get And analogwrite(10,255) which is the max value we obviously get: Ok this might be neat but why is this important to know? AnalogWrite is used (indirectly) to power motors. Motors are physical devices that may or may not respond well with the pulsing of voltages. In our class the motors we use will probably not have this problem for they are small and the load on them is negligible. Also our motor shield will utilize capacitors to smooth out the pulses (this is what capacitors do). However we hope you continue to build robots going forward and understanding PWM can help troubleshoot some non-obvious problems. 10

11 Exercises DC motor interface - PWM Mount an Arduino duel channel motor shield and get it to run.. /************************************************************* Arduino Dual channel Motor Shield for 2 DC Motors Demo by Storming Robots *************************************************************/ const int RmADir = 12; const int RmAbrake = 9; const int RmApwm = 3; const int RmCurrent = A0; const int LmBDir = 13; const int LmBbrake = 8; const int LmBpwm = 11; const int LmCurrent = A1; enum { FD=1, BD, LT, RT, BRK, CST, DIRLAST DIR ; char sdir[dirlast][20] = {"forward", "backward", "LeftTurn", "RightTurn", "Brake", "Coast"; void setup() { //Setup Channel A pinmode(rmadir, OUTPUT); //Initiates Motor Channel A pin pinmode(rmabrake, OUTPUT); //Initiates Brake Channel B pin //Setup Channel B pinmode(lmbdir, OUTPUT); //Initiates Motor Channel B pin pinmode(lmbbrake, OUTPUT); //Initiates Brake Channel B pin Serial.begin(9600); void loop(){ 11 gostraight(fd); delay(2000); gostraight(bd); delay(2000); goturn(lt); delay(2000); gostraight(rt); delay(2000); tostop(brk); delay(20000); //============================================= // gostraight(...) : enable forward or backward // dir : FD = forward // dir : BD = backward void gostraight(int dir) { Serial.println(sDir[dir]); if (dir == FD) { //Motor A full speed digitalwrite(rmadir, HIGH); //Establishes forward direction of Channel A digitalwrite(rmabrake, LOW); //Disengage the Brake for Channel A analogwrite(rmapwm, 255); //Spins the motor on Channel A at full speed //Motor B full speed

12 digitalwrite(lmbdir, HIGH); digitalwrite(lmbbrake, LOW); analogwrite(lmbpwm, 255); else { //Motor A full speed digitalwrite(rmadir, LOW); digitalwrite(rmabrake, LOW); analogwrite(rmapwm, 255); //Establishes backward direction of Channel A //Motor B full speed digitalwrite(lmbdir, LOW); digitalwrite(lmbbrake, LOW); analogwrite(lmbpwm, 255); return; //============================================= // goturn(...) : Enable pivot turn // dir : LT = left pivot turn // dir : RT = right pivot turn void goturn(int dir) { Serial.println(sDir[dir]); 12 if (dir == RT) { digitalwrite(rmadir, LOW); digitalwrite(rmabrake, LOW); analogwrite(rmapwm, 255); digitalwrite(lmbdir, HIGH); digitalwrite(lmbbrake, LOW); analogwrite(lmbpwm, 255); else { digitalwrite(rmadir, HIGH); digitalwrite(rmabrake, LOW); analogwrite(rmapwm, 255); digitalwrite(lmbdir, LOW); digitalwrite(lmbbrake, LOW); analogwrite(lmbpwm, 255); return; //============================================= // tostop(...) : brake or coast to stop // type : BRK = brake to stop // type : CST = coast to stop //============================================= void tostop(int type) { if (type==brk) { digitalwrite(rmabrake, HIGH); //Engage the Brake for Channel A digitalwrite(lmbbrake, HIGH); //Engage the Brake for Channel B else { digitalwrite(rmabrake, LOW); digitalwrite(lmbbrake, LOW);

13 Simple Servo motor inteface To be updated!!! Exercise: Servo control - Intro to Servos and the Servo library. Servo Control 2 - Use a potentiometer to control your servo. 13

14 4- With Ping range How does a Ping sensor works? How do you hook it up? How do you generate a pulse? Review Appendix D with instructor Look at Arduino pulsein() function does some of work for you Things needed to know: o Speed of Sound o How long Sound takes to travel 1 cm o Note: Remember sound is traveling twice as far (from robot and reflected back from object) Exercises: Wall Avoidance Follow line until you come to an L-shaped wall. Use servo to look both ways. One way will have another wall, the other will not. Turn to face the way that has no wall. Wall Tracing - Get your line tracing robot to perform "wall tracing" when it sees a wall. Follow the wall until you see the line again. Reference 14

15 5- I2C device Communication Play with the Wire samples from the Sketch software first. Read the Wire Library Reference. With I2C Compass LSM303DLHC - digital 3-axis accelerometer and 3-axis magnetometer - With tilt compensation. With I2C Mux With Thermal Sample code. (to be updated) 15

16 16

17 With I2C Thermal With I2C Mux 17

18 6- Inter-processors serial communication Connect two controllers via hardware serial - Simply use Serial, UART or USART Some controllers have multiple serial lines, such as Mega which has 4, Serial 0, 1, 2, 3. Sample: Interface via Software Serial between 2 controllers Another serial device RX, Tx to D4, Secondary Uno RX, Tx to D6, Master Uno // this is a simple sample for the secondary Uno; // connect its pin D3 & 4 to another serial device s TX and RX ports // it also connects to master Uno via RX, TX #include <SoftwareSerial.h> const int spd = 9600; SoftwareSerial myserial(3,4); // RX, TX void setup() { Serial.begin(spd); Serial.println("Send "); myserial.begin(spd); myserial.println("recv "); void loop() { char ch; if (myserial.available() ) // data from another serial device { ch = myserial.read(); Serial.print (ch); // send data to another controller ** a more pragmatic set up Compass 1 Compass 2 *** Reference: RX, Tx to D4, D3 RX, Tx to D6, D5 Secondary Uno as the module which will collect and process sensors data such as RX, Tx to other pins Master Uno SerialControl - Remote control other Arduinos over a serial connection XBee - for communicating with XBees in API mode 18

19 7- Other Basics you should know debouncing Debouncing is a provision in electronic/electrical devices having switches to prevent the spikes in output. Details: When we press any switch manually and release it, it bounces due to inherent elasticity, this causes multiple make and break of electrical contact. If the response time is very large then it won't create any problem, but if it is small then we get multiple responses for a single keypress. Software debouncing: int ledpin = 13; int inputpin = 2; int val = 0; int bouncecheck = 0; void setup() { pinmode(ledpin, OUTPUT); pinmode(inputpin, INPUT); // choose the pin for the LED // choose the input pin (for a pushbutton) // variable for reading the pin status // variable for debouncing // declare LED as output // declare pushbutton as input void loop(){ val = digitalread(inputpin); delay(10); bouncecheck = digitalread(inputpin); if(val == bouncecheck){ if (val == HIGH) { digitalwrite(ledpin, LOW); else { digitalwrite(ledpin, HIGH); //read input value //wait 10ms //check again //if val is the same then not a bounce //check if the input is HIGH //turn LED OFF //turn LED ON Reference: About Fritzing Electronic Design Automation Software Fritzing is an Electronic Design Automation (EDA) software which allows users to design and document their circuits particularly with Arduino and other electronic-based prototypes. This allows you to create printed circuit board (PCB) layouts for turning it into a robust PCB yourself or by help of a manufacturer. Download here: 19

20 8- Interface with NXT devices Know the Cable blue = data yellow = clock green = power black = gnd red = gnd white = 3.3V blue = digital I/O yellow = digital I/O green = 4.3 Volt black = gnd red = gnd white = analog input NXT cable white Black Red Green Yellow Blue Motor1 Motor2 GND 4.3 Volts Tach01 Tach02 Sample I2C Schematic NXT ultrasonic sensor yes it is an i2c device. NXT via I2C a Uno/Nano, etc. sensors / motors. 20

21 9- What NOT to do? Exceeding the voltage allowed 21

22 Shorting Circuit Short circuit refers to a circuit that does not have a electrical impedance (resistance). For example, if the lamp is connected to the circuit but a direct connection is present between the battery's negative terminal and its positive terminal, too Missing Voltage Regulator When you decide to create your own power source, you do need to look in voltage regulator. More images will be posted here. 22

23 10- Misc Since this is not meant to be an electronic lesson plan, there are many fundamentals in electronic is not covered. For example, we most likely will not need to build our own controller board, or our own power supply, or a really sophisticated intelligent sensor module. Instead, we buy a good one. However, I think it will be good to simply mention the terms and if you have time and interest, you can explore on your own if you are a die-hard electonic individual. What is a Capacitor? Is a deviec that stores energy in the form of static charge Resist sudden change in voltage What is an inductor? Inductor : - is a device that temporarily stores energy in the form of magnetic field usually is a coil of wire. When current flows through a coil of wire, it creates magnetic energy. - When current stops flowing, o the magnetic field starts to collapse o magnetic energy turns back into electrical energy - resists sudden change in current Diagram from With 1KHz With 1KhZ after adding an inductor With 10 KHz after adding an inductor 23

24 With 100KHz inductor starts to average out the current over time. What is an transistor? 24

Table of Contents. 2 P a g e

Table of Contents. 2 P a g e 1 P a g e Table of Contents Preface... 4 This document Scope... 4 Important Safety Rules - MUST READ FIRST... 4 Section I The Basics... 6 I.1 - Basics Parts... 6 I.2 - About Resistors... 7 Resistor - Ohm

More information

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

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1 HAW-Arduino Sensors and Arduino 14.10.2010 F. Schubert HAW - Arduino 1 Content of the USB-Stick PDF-File of this script Arduino-software Source-codes Helpful links 14.10.2010 HAW - Arduino 2 Report for

More information

THE INPUTS ON THE ARDUINO READ VOLTAGE. ALL INPUTS NEED TO BE THOUGHT OF IN TERMS OF VOLTAGE DIFFERENTIALS.

THE INPUTS ON THE ARDUINO READ VOLTAGE. ALL INPUTS NEED TO BE THOUGHT OF IN TERMS OF VOLTAGE DIFFERENTIALS. INPUT THE INPUTS ON THE ARDUINO READ VOLTAGE. ALL INPUTS NEED TO BE THOUGHT OF IN TERMS OF VOLTAGE DIFFERENTIALS. THE ANALOG INPUTS CONVERT VOLTAGE LEVELS TO A NUMERICAL VALUE. PULL-UP (OR DOWN) RESISTOR

More information

FABO ACADEMY X ELECTRONIC DESIGN

FABO ACADEMY X ELECTRONIC DESIGN ELECTRONIC DESIGN MAKE A DEVICE WITH INPUT & OUTPUT The Shanghaino can be programmed to use many input and output devices (a motor, a light sensor, etc) uploading an instruction code (a program) to it

More information

Lecture 6. Interfacing Digital and Analog Devices to Arduino. Intro to Arduino

Lecture 6. Interfacing Digital and Analog Devices to Arduino. Intro to Arduino Lecture 6 Interfacing Digital and Analog Devices to Arduino. Intro to Arduino PWR IN USB (to Computer) RESET SCL\SDA (I2C Bus) POWER 5V / 3.3V / GND Analog INPUTS Digital I\O PWM(3, 5, 6, 9, 10, 11) Components

More information

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Lab 2: Blinkie Lab. Objectives. Materials. Theory Lab 2: Blinkie Lab Objectives This lab introduces the Arduino Uno as students will need to use the Arduino to control their final robot. Students will build a basic circuit on their prototyping board and

More information

Disclaimer. Arduino Hands-On 2 CS5968 / ART4455 9/1/10. ! Many of these slides are mine. ! But, some are stolen from various places on the web

Disclaimer. Arduino Hands-On 2 CS5968 / ART4455 9/1/10. ! Many of these slides are mine. ! But, some are stolen from various places on the web Arduino Hands-On 2 CS5968 / ART4455 Disclaimer! Many of these slides are mine! But, some are stolen from various places on the web! todbot.com Bionic Arduino and Spooky Arduino class notes from Tod E.Kurt!

More information

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

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech Computational Crafting with Arduino Christopher Michaud Marist School ECEP Programs, Georgia Tech Introduction What do you want to learn and do today? Goals with Arduino / Computational Crafting Purpose

More information

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

Attribution Thank you to Arduino and SparkFun for open source access to reference materials. Attribution Thank you to Arduino and SparkFun for open source access to reference materials. Contents Parts Reference... 1 Installing Arduino... 7 Unit 1: LEDs, Resistors, & Buttons... 7 1.1 Blink (Hello

More information

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

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino Lecture 4: Basic Electronics Lecture 4 Page: 1 Brief Introduction to Electronics and the Arduino colintan@nus.edu.sg Lecture 4: Basic Electronics Page: 2 Objectives of this Lecture By the end of today

More information

INA169 Breakout Board Hookup Guide

INA169 Breakout Board Hookup Guide Page 1 of 10 INA169 Breakout Board Hookup Guide CONTRIBUTORS: SHAWNHYMEL Introduction Have a project where you want to measure the current draw? Need to carefully monitor low current through an LED? The

More information

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

Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman Exercise 5-1: Familiarization with Lab Box Contents Objective: To review the items required for working

More information

The Motor sketch. One Direction ON-OFF DC Motor

The Motor sketch. One Direction ON-OFF DC Motor One Direction ON-OFF DC Motor The DC motor in your Arduino kit is the most basic of electric motors and is used in all types of hobby electronics. When current is passed through, it spins continuously

More information

Arduino. AS220 Workshop. Part II Interactive Design with advanced Transducers Lutz Hamel

Arduino. AS220 Workshop. Part II Interactive Design with advanced Transducers Lutz Hamel AS220 Workshop Part II Interactive Design with advanced Transducers Lutz Hamel hamel@cs.uri.edu www.cs.uri.edu/~hamel/as220 How we see the computer Image source: Considering the Body, Kate Hartman, 2008.

More information

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

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs 10-11 Introduction to Arduino In this lab we will introduce the idea of using a microcontroller as a tool for controlling

More information

Sten-Bot Robot Kit Stensat Group LLC, Copyright 2013

Sten-Bot Robot Kit Stensat Group LLC, Copyright 2013 Sten-Bot Robot Kit Stensat Group LLC, Copyright 2013 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and documentation. There is a 90 day warranty for the

More information

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

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino) Workshops Elisava 2011 Introduction to programming and electronics (Scratch & Arduino) What is programming? Make an algorithm to do something in a specific language programming. Algorithm: a procedure

More information

CONSTRUCTION GUIDE IR Alarm. Robobox. Level I

CONSTRUCTION GUIDE IR Alarm. Robobox. Level I CONSTRUCTION GUIDE Robobox Level I This month s montage is an that will allow you to detect any intruder. When a movement is detected, the alarm will turn its LEDs on and buzz to a personalized tune. 1X

More information

Arduino An Introduction

Arduino An Introduction Arduino An Introduction Hardware and Programming Presented by Madu Suthanan, P. Eng., FEC. Volunteer, Former Chair (2013-14) PEO Scarborough Chapter 2 Arduino for Mechatronics 2017 This note is for those

More information

Written by : Elizabeth Mabrey, Director of Storming Robots

Written by : Elizabeth Mabrey, Director of Storming Robots Written by : Elizabeth Mabrey, Director of Before you use this document: Unless otherwise noted, retains an All Rights Reserved copyright, pursuant from the day this document was published by. This means

More information

1. Introduction to Analog I/O

1. Introduction to Analog I/O EduCake Analog I/O Intro 1. Introduction to Analog I/O In previous chapter, we introduced the 86Duino EduCake, talked about EduCake s I/O features and specification, the development IDE and multiple examples

More information

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

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment. Physics 222 Name: Exercise 6: Mr. Blinky This exercise is designed to help you wire a simple circuit based on the Arduino microprocessor, which is a particular brand of microprocessor that also includes

More information

.:Twisting:..:Potentiometers:.

.:Twisting:..:Potentiometers:. CIRC-08.:Twisting:..:Potentiometers:. WHAT WE RE DOING: Along with the digital pins, the also has 6 pins which can be used for analog input. These inputs take a voltage (from 0 to 5 volts) and convert

More information

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

Arduino Microcontroller Processing for Everyone!: Third Edition / Steven F. Barrett Arduino Microcontroller Processing for Everyone!: Third Edition / Steven F. Barrett Anatomy of a Program Programs written for a microcontroller have a fairly repeatable format. Slight variations exist

More information

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

Community College of Allegheny County Unit 4 Page #1. Timers and PWM Motor Control Community College of Allegheny County Unit 4 Page #1 Timers and PWM Motor Control Revised: Dan Wolf, 3/1/2018 Community College of Allegheny County Unit 4 Page #2 OBJECTIVES: Timers: Astable and Mono-Stable

More information

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

You'll create a lamp that turns a light on and off when you touch a piece of conductive material TOUCHY-FEELY LAMP You'll create a lamp that turns a light on and off when you touch a piece of conductive material Discover : installing third party libraries, creating a touch sensor Time : 5 minutes

More information

TWEAK THE ARDUINO LOGO

TWEAK THE ARDUINO LOGO TWEAK THE ARDUINO LOGO Using serial communication, you'll use your Arduino to control a program on your computer Discover : serial communication with a computer program, Processing Time : 45 minutes Level

More information

Assignments from last week

Assignments from last week Assignments from last week Review LED flasher kits Review protoshields Need more soldering practice (see below)? http://www.allelectronics.com/make-a-store/category/305/kits/1.html http://www.mpja.com/departments.asp?dept=61

More information

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Ahmed Okasha, Assistant Lecturer okasha1st@gmail.com Objective Have a

More information

DFRduino Romeo All in one Controller V1.1(SKU:DFR0004)

DFRduino Romeo All in one Controller V1.1(SKU:DFR0004) DFRduino Romeo All in one Controller V1.1(SKU:DFR0004) DFRduino RoMeo V1.1 Contents 1 Introduction 2 Specification 3 DFRduino RoMeo Pinout 4 Before you start 4.1 Applying Power 4.2 Software 5 Romeo Configuration

More information

Using Transistors and Driving Motors

Using Transistors and Driving Motors Chapter 4 Using Transistors and Driving Motors Parts You ll Need for This Chapter: Arduino Uno USB cable 9V battery 9V battery clip 5V L4940V5 linear regulator 22uF electrolytic capacitor.1uf electrolytic

More information

NAMASKAR ROBOT-WHICH PROVIDES SERVICE

NAMASKAR ROBOT-WHICH PROVIDES SERVICE Int. J. Elec&Electr.Eng&Telecoms. 2014 V Sai Krishna and R Sunitha, 2014 Research Paper ISSN 2319 2518 www.ijeetc.com Vol. 3, No. 1, January 2014 2014 IJEETC. All Rights Reserved NAMASKAR ROBOT-WHICH PROVIDES

More information

Figure 1. Digilent DC Motor

Figure 1. Digilent DC Motor Laboratory 9 - Usage of DC- and servo-motors The current laboratory describes the usage of DC and servomotors 1. DC motors Figure 1. Digilent DC Motor Classical DC motors are converting electrical energy

More information

Motors and Servos Part 2: DC Motors

Motors and Servos Part 2: DC Motors Motors and Servos Part 2: DC Motors Back to Motors After a brief excursion into serial communication last week, we are returning to DC motors this week. As you recall, we have already worked with servos

More information

Training Schedule. Robotic System Design using Arduino Platform

Training Schedule. Robotic System Design using Arduino Platform Training Schedule Robotic System Design using Arduino Platform Session - 1 Embedded System Design Basics : Scope : To introduce Embedded Systems hardware design fundamentals to students. Processor Selection

More information

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

CURIE Academy, Summer 2014 Lab 2: Computer Engineering Software Perspective Sign-Off Sheet Lab : Computer Engineering Software Perspective Sign-Off Sheet NAME: NAME: DATE: Sign-Off Milestone TA Initials Part 1.A Part 1.B Part.A Part.B Part.C Part 3.A Part 3.B Part 3.C Test Simple Addition Program

More information

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

ARDUINO / GENUINO. start as professional. short course in a book. faculty of engineering technology ARDUINO / GENUINO start as professional short course in a book faculty of engineering technology Publisher Universiti Malaysia Pahang Kuantan 2017 Copyright Universiti Malaysia Pahang, 2017 First Published,

More information

Arduino Digital Out_QUICK RECAP

Arduino Digital Out_QUICK RECAP Arduino Digital Out_QUICK RECAP BLINK File> Examples>Digital>Blink int ledpin = 13; // LED connected to digital pin 13 // The setup() method runs once, when the sketch starts void setup() // initialize

More information

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads:

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads: Project 4: Arduino Servos Part 1 Description: A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads: a. Red: Current b. Black:

More information

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

Intelligent Systems Design in a Non Engineering Curriculum. Embedded Systems Without Major Hardware Engineering Intelligent Systems Design in a Non Engineering Curriculum Embedded Systems Without Major Hardware Engineering Emily A. Brand Dept. of Computer Science Loyola University Chicago eabrand@gmail.com William

More information

PWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness

PWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness PWM CONTROL USING ARDUINO Learn to Control DC Motor Speed and LED Brightness In this article we explain how to do PWM (Pulse Width Modulation) control using arduino. If you are new to electronics, we have

More information

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

Programming a Servo. Servo. Red Wire. Black Wire. White Wire Programming a Servo Learn to connect wires and write code to program a Servo motor. If you have gone through the LED Circuit and LED Blink exercises, you are ready to move on to programming a Servo. A

More information

Understanding the Arduino to LabVIEW Interface

Understanding the Arduino to LabVIEW Interface E-122 Design II Understanding the Arduino to LabVIEW Interface Overview The Arduino microcontroller introduced in Design I will be used as a LabVIEW data acquisition (DAQ) device/controller for Experiments

More information

o What happens if S1 and S2 or S3 and S4 are closed simultaneously? o Perform Motor Control, H-Bridges LAB 2 H-Bridges with SPST Switches

o What happens if S1 and S2 or S3 and S4 are closed simultaneously? o Perform Motor Control, H-Bridges LAB 2 H-Bridges with SPST Switches Cornerstone Electronics Technology and Robotics II H-Bridges and Electronic Motor Control 4 Hour Class Administration: o Prayer o Debriefing Botball competition Four States of a DC Motor with Terminals

More information

Community College of Allegheny County Unit 7 Page #1. Analog to Digital

Community College of Allegheny County Unit 7 Page #1. Analog to Digital Community College of Allegheny County Unit 7 Page #1 Analog to Digital "Engineers can't focus just on technology; they need to develop their professional skills-things like presenting yourself, speaking

More information

// Parts of a Multimeter

// Parts of a Multimeter Using a Multimeter // Parts of a Multimeter Often you will have to use a multimeter for troubleshooting a circuit, testing components, materials or the occasional worksheet. This section will cover how

More information

Coding with Arduino to operate the prosthetic arm

Coding with Arduino to operate the prosthetic arm Setup Board Install FTDI Drivers This is so that your RedBoard will be able to communicate with your computer. If you have Windows 8 or above you might already have the drivers. 1. Download the FTDI driver

More information

Introduction to. An Open-Source Prototyping Platform. Hans-Petter Halvorsen

Introduction to. An Open-Source Prototyping Platform. Hans-Petter Halvorsen Introduction to An Open-Source Prototyping Platform Hans-Petter Halvorsen Contents 1.Overview 2.Installation 3.Arduino Starter Kit 4.Arduino TinkerKit 5.Arduino Examples 6.LabVIEW Interface for Arduino

More information

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) PH-315 Portland State University MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) ABSTRACT A microcontroller is an integrated circuit containing a processor and programmable read-only memory, 1 which is

More information

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

100UF CAPACITOR POTENTIOMETER SERVO MOTOR MOTOR ARM. MALE HEADER PIN (3 pins) INGREDIENTS 05 POTENTIOMETER SERVO MOTOR MOTOR ARM 100UF CAPACITOR MALE HEADER PIN (3 pins) INGREDIENTS 63 MOOD CUE USE A SERVO MOTOR TO MAKE A MECHANICAL GAUGE TO POINT OUT WHAT SORT OF MOOD YOU RE IN THAT DAY Discover:

More information

Analog Feedback Servos

Analog Feedback Servos Analog Feedback Servos Created by Bill Earl Last updated on 2018-01-21 07:07:32 PM UTC Guide Contents Guide Contents About Servos and Feedback What is a Servo? Open and Closed Loops Using Feedback Reading

More information

USER MANUAL SERIAL IR SENSOR ARRAY5

USER MANUAL SERIAL IR SENSOR ARRAY5 USER MANUAL SERIAL IR SENSOR ARRAY5 25mm (Serial Communication Based Automatic Line Position Detection Sensor using 5 TCRT5000 IR sensors) Description: You can now build a line follower robot without writing

More information

Module: Arduino as Signal Generator

Module: Arduino as Signal Generator Name/NetID: Teammate/NetID: Module: Laboratory Outline In our continuing quest to access the development and debugging capabilities of the equipment on your bench at home Arduino/RedBoard as signal generator.

More information

Schematics for Breakout Examples

Schematics for Breakout Examples Schematics for Breakout Examples This document contains wiring diagrams and component lists for the examples. A diagram may be used for more than one example file. The corresponding files are listed for

More information

Arduino Sensor Beginners Guide

Arduino Sensor Beginners Guide Arduino Sensor Beginners Guide So you want to learn arduino. Good for you. Arduino is an easy to use, cheap, versatile and powerful tool that can be used to make some very effective sensors. This guide

More information

The µbotino Microcontroller Board

The µbotino Microcontroller Board The µbotino Microcontroller Board by Ro-Bot-X Designs Introduction. The µbotino Microcontroller Board is an Arduino compatible board for small robots. The 5x5cm (2x2 ) size and the built in 3 pin connectors

More information

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) PH-315 Portland State University MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) ABSTRACT A microcontroller is an integrated circuit containing a processor and programmable read-only memory, 1 which is

More information

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

J. La Favre Using Arduino with Raspberry Pi February 7, 2018 As you have already discovered, the Raspberry Pi is a very capable digital device. Nevertheless, it does have some weaknesses. For example, it does not produce a clean pulse width modulation output (unless

More information

DC Motor-Driver H-Bridge Circuit

DC Motor-Driver H-Bridge Circuit Page 1 of 9 David Cook ROBOT ROOM home projects contact copyright & disclaimer books links DC Motor-Driver H-Bridge Circuit Physical motion of some form helps differentiate a robot from a computer. It

More information

Montgomery Village Arduino Meetup Dec 10, 2016

Montgomery Village Arduino Meetup Dec 10, 2016 Montgomery Village Arduino Meetup Dec 10, 2016 Making Microcontrollers Multitask or How to teach your Arduinos to walk and chew gum at the same time (metaphorically speaking) Background My personal project

More information

CMSC838. Tangible Interactive Assistant Professor Computer Science. Week 11 Lecture 20 April 9, 2015 Motors

CMSC838. Tangible Interactive Assistant Professor Computer Science. Week 11 Lecture 20 April 9, 2015 Motors CMSC838 Tangible Interactive Computing Week 11 Lecture 20 April 9, 2015 Motors Human Computer Interaction Laboratory @jonfroehlich Assistant Professor Computer Science TODAY S LEARNING GOALS 1. Learn about

More information

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

Setup Download the Arduino library (link) for Processing and the Lab 12 sketches (link). Lab 12 Connecting Processing and Arduino Overview In the previous lab we have examined how to connect various sensors to the Arduino using Scratch. While Scratch enables us to make simple Arduino programs,

More information

Arduino Workshop 01. AD32600 Physical Computing Prof. Fabian Winkler Fall 2014

Arduino Workshop 01. AD32600 Physical Computing Prof. Fabian Winkler Fall 2014 AD32600 Physical Computing Prof. Fabian Winkler Fall 2014 Arduino Workshop 01 This workshop provides an introductory overview of the Arduino board, basic electronic components and closes with a few basic

More information

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

Application Note AN 157: Arduino UART Interface to TelAire T6613 CO2 Sensor Application Note AN 157: Arduino UART Interface to TelAire T6613 CO2 Sensor Introduction The Arduino UNO, Mega and Mega 2560 are ideal microcontrollers for reading CO2 sensors. Arduino boards are useful

More information

Arduino Control of Tetrix Prizm Robotics. Motors and Servos Introduction to Robotics and Engineering Marist School

Arduino Control of Tetrix Prizm Robotics. Motors and Servos Introduction to Robotics and Engineering Marist School Arduino Control of Tetrix Prizm Robotics Motors and Servos Introduction to Robotics and Engineering Marist School Motor or Servo? Motor Faster revolution but less Power Tetrix 12 Volt DC motors have a

More information

ARDUINO / GENUINO. start as professional

ARDUINO / GENUINO. start as professional ARDUINO / GENUINO start as professional . ARDUINO / GENUINO start as professional short course in a book MOHAMMED HAYYAN ALSIBAI SULASTRI ABDUL MANAP Publisher Universiti Malaysia Pahang Kuantan 2017 Copyright

More information

Analog Servo Drive 20A20

Analog Servo Drive 20A20 Description Power Range NOTE: This product has been replaced by the AxCent family of servo drives. Please visit our website at www.a-m-c.com or contact us for replacement model information and retrofit

More information

CPSC 226 Lab Four Spring 2018

CPSC 226 Lab Four Spring 2018 CPSC 226 Lab Four Spring 2018 Directions. This lab is a quick introduction to programming your Arduino to do some basic internal operations and arithmetic, perform character IO, read analog voltages, drive

More information

MAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL

MAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL USER MANUAL 1. Introduction To all residents of the European Union Important environmental information about this product This symbol on the device

More information

Arduino Advanced Projects

Arduino Advanced Projects Arduino Advanced Projects Created as a companion manual to the Toronto Public Library Arduino Kits. Arduino Advanced Projects Copyright 2017 Toronto Public Library. All rights reserved. Published by the

More information

Preface. If you have any problems for learning, please contact us at We will do our best to help you solve the problem.

Preface. If you have any problems for learning, please contact us at We will do our best to help you solve the problem. Preface Adeept is a technical service team of open source software and hardware. Dedicated to applying the Internet and the latest industrial technology in open source area, we strive to provide best hardware

More information

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

Experiment 1: Robot Moves in 3ft squared makes sound and Experiment 1: Robot Moves in 3ft squared makes sound and turns on an LED at each turn then stop where it started. Edited: 9-7-2015 Purpose: Press a button, make a sound and wait 3 seconds before starting

More information

Analog Servo Drive 25A20DD

Analog Servo Drive 25A20DD Description Power Range NOTE: This product has been replaced by the AxCent family of servo drives. Please visit our website at www.a-m-c.com or contact us for replacement model information and retrofit

More information

introduction to Digital Electronics Install the Arduino IDE on your laptop if you haven t already!

introduction to Digital Electronics Install the Arduino IDE on your laptop if you haven t already! introduction to Digital Electronics Install the Arduino IDE 1.8.5 on your laptop if you haven t already! Electronics can add interactivity! Any sufficiently advanced technology is indistinguishable from

More information

Electronic Concepts and Troubleshooting 101. Experiment 1

Electronic Concepts and Troubleshooting 101. Experiment 1 Electronic Concepts and Troubleshooting 101 Experiment 1 o Concept: What is the capacity of a typical alkaline 1.5V D-Cell? o TS: Assume that a battery is connected to a 20Ω load and the voltage across

More information

Name & SID 1 : Name & SID 2:

Name & SID 1 : Name & SID 2: EE40 Final Project-1 Smart Car Name & SID 1 : Name & SID 2: Introduction The final project is to create an intelligent vehicle, better known as a robot. You will be provided with a chassis(motorized base),

More information

Arduino Application: Speed control of small DC Motors

Arduino Application: Speed control of small DC Motors Arduino Application: Speed control of small DC Motors ME 120 Mechanical and Materials Engineering Portland State University http://web.cecs.pdx.edu/~me120 Learning Objectives Be able to describe the use

More information

User Interface Engineering FS 2013

User Interface Engineering FS 2013 User Interface Engineering FS 2013 Input Fundamentals 23.09.2013 1 Last Week Brief Overview of HCI as a discipline History of the UI Product perspective Research perspective Overview of own research as

More information

LoRa Quick Start Guide

LoRa Quick Start Guide LoRa Quick Start Guide The Things Uno Tweetonig Rotterdam (English) v1.0 - written for Things Uno v4 Index LoRa Quick Start Guide 1 The Things Uno 1 Index 2 Specifications 3 CPU: ATmega32u4 3 Pin layout

More information

A circuit for controlling an electric field in an fmri phantom.

A circuit for controlling an electric field in an fmri phantom. A circuit for controlling an electric field in an fmri phantom. Yujie Qiu, Wei Yao, Joseph P. Hornak Magnetic Resonance laboratory Rochester Institute of Technology Rochester, NY 14623-5604 June 2013 This

More information

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory Electronics Design Laboratory Lecture #10 Electronics Design Laboratory 1 Lessons from Experiment 4 Code debugging: use print statements and serial monitor window Circuit debugging: Re check operation

More information

Analog Servo Drive 30A8

Analog Servo Drive 30A8 Description Power Range The 30A8 PWM servo drive is designed to drive brush type DC motors at a high switching frequency. A single red/green LED indicates operating status. The drive is fully protected

More information

Building an autonomous light finder robot

Building an autonomous light finder robot LinuxFocus article number 297 http://linuxfocus.org Building an autonomous light finder robot by Katja and Guido Socher About the authors: Katja is the

More information

Pulse Width Modulation and

Pulse Width Modulation and Pulse Width Modulation and analogwrite ( ); 28 Materials needed to wire one LED. Odyssey Board 1 dowel Socket block Wire clip (optional) 1 Female to Female (F/F) wire 1 F/F resistor wire LED Note: The

More information

PCB & Circuit Designing (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY

PCB & Circuit Designing (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY PCB & Circuit Designing (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY RoboSpecies Technologies Pvt. Ltd. Office: D-66, First Floor, Sector- 07, Noida, UP Contact us: Email: stp@robospecies.com

More information

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

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Roberts Page 1 See Appendix A, for Licensing Attribution information

More information

Industrial Automation Training Academy. Arduino, LabVIEW & PLC Training Programs Duration: 6 Months (180 ~ 240 Hours)

Industrial Automation Training Academy. Arduino, LabVIEW & PLC Training Programs Duration: 6 Months (180 ~ 240 Hours) nfi Industrial Automation Training Academy Presents Arduino, LabVIEW & PLC Training Programs Duration: 6 Months (180 ~ 240 Hours) For: Electronics & Communication Engineering Electrical Engineering Instrumentation

More information

University of Jordan School of Engineering Electrical Engineering Department. EE 204 Electrical Engineering Lab

University of Jordan School of Engineering Electrical Engineering Department. EE 204 Electrical Engineering Lab University of Jordan School of Engineering Electrical Engineering Department EE 204 Electrical Engineering Lab EXPERIMENT 1 MEASUREMENT DEVICES Prepared by: Prof. Mohammed Hawa EXPERIMENT 1 MEASUREMENT

More information

DeviceCraft Revision #1 11/29/2010

DeviceCraft Revision #1 11/29/2010 DeviceCraft Revision #1 11/29/2010 DC Wiper Motor H-Bridge Servo / Speed Controller P/N 1020 Features: Dip Switch selectable mode of operation Both PID servo or speed controller Forward/Reverse operation

More information

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor Recommended Due Date: By your lab time the week of February 12 th Possible Points: If checked off before

More information

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin 2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control October 5, 2009 Dr. Harrison H. Chin Formal Labs 1. Microcontrollers Introduction to microcontrollers Arduino microcontroller

More information

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

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 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 By the end of this session: You will know how to use an Arduino

More information

Lab 06: Ohm s Law and Servo Motor Control

Lab 06: Ohm s Law and Servo Motor Control CS281: Computer Systems Lab 06: Ohm s Law and Servo Motor Control The main purpose of this lab is to build a servo motor control circuit. As with prior labs, there will be some exploratory sections designed

More information

System Board 6219 MAXREFDES89#: MAX14871 Full-Bridge DC Motor Driver MBED Shield

System Board 6219 MAXREFDES89#: MAX14871 Full-Bridge DC Motor Driver MBED Shield System Board 6219 MAXREFDES89#: MAX14871 Full-Bridge DC Motor Driver MBED Shield Introduction Brushed DC motors provide cost-effective, convenient motion in many applications ranging from electric toothbrushes

More information

DC Motor and Servo motor Control with ARM and Arduino. Created by:

DC Motor and Servo motor Control with ARM and Arduino. Created by: DC Motor and Servo motor Control with ARM and Arduino Created by: Andrew Kaler (39345) Tucker Boyd (46434) Mohammed Chowdhury (860822) Tazwar Muttaqi (901700) Mark Murdock (98071) May 4th, 2017 Objective

More information

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

Application Note. Communication between arduino and IMU Software capturing the data Application Note Communication between arduino and IMU Software capturing the data ECE 480 Team 8 Chenli Yuan Presentation Prep Date: April 8, 2013 Executive Summary In summary, this application note is

More information

KUBE Electronics AG. KUBE TR156 Universal PIR Circuit IC. For PIR Motion and Presence Detectors. Applications. Features

KUBE Electronics AG. KUBE TR156 Universal PIR Circuit IC. For PIR Motion and Presence Detectors. Applications. Features KUBE TR156 Universal PIR Circuit IC For PIR Motion and Presence Detectors All functions for a PIR detector are available in a single chip solution. It includes analog and digital circuitry and functions

More information

ABCs of Arduino. Kurt Turchan -

ABCs of Arduino. Kurt Turchan - ABCs of Arduino Kurt Turchan - kurt@trailpeak.com Bio: Kurt is a web designer (java/php/ui-jquery), project manager, instructor (PHP/HTML/...), and arduino enthusiast, Kurt is founder of www.trailpeak.com

More information

Lesson 13. The Big Idea: Lesson 13: Infrared Transmitters

Lesson 13. The Big Idea: Lesson 13: Infrared Transmitters Lesson Lesson : Infrared Transmitters The Big Idea: In Lesson 12 the ability to detect infrared radiation modulated at 38,000 Hertz was added to the Arduino. This lesson brings the ability to generate

More information

LEDs and Sensors Part 2: Analog to Digital

LEDs and Sensors Part 2: Analog to Digital LEDs and Sensors Part 2: Analog to Digital In the last lesson, we used switches to create input for the Arduino, and, via the microcontroller, the inputs controlled our LEDs when playing Simon. In this

More information