Robotics/Electronics Review for the Final Exam
|
|
- Arlene Cole
- 5 years ago
- Views:
Transcription
1 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 What is the voltage drop between points A and B? V What is the current through point A? ma A B 2. The current through R1 is 25 ma, R2 is 250 ohms, and the voltage drop across R2 is 7.5V. How many volts is the battery? V What is the current through R2? ma What is the current through point A? ma How many ohms is R1? ohms A 3. This is a 30V battery. R1 is 100 ohms. There is a 7V drop across R2. The current through R3 is 40mA. R2 is ohms R3 is ohms The voltage drop across R1 is volts The voltage drop across R3 is volts 4. The current through R1 is 12 ma and the current through R2 is 24 ma. R1 is 300 ohms and R3 is 450 ohms. A How many volts is the battery? V What is the current through R3? ma What is the current through point A? ma How many ohms is R2? ohms
2 5. If we have a 9 volt battery and we want a 2.2 V voltage drop across the LED at 20 ma, what value should the resistor be? ohms 6. Suppose the voltage drop across the LED is 1.8V, the voltage drop across R1 is 2.1V, the voltage drop across R2 is 1.5V, and the current through the LED is 15mA. How many volts is the battery? V How many ohms is R1? How many ohms is R2? 7. To the right is a sketch of a multi-meter attached to a live circuit (one with a working battery attached). Select the true statement(s). a) If the dial is set correctly, it could be measuring the resistor s resistance. b) If the dial is set correctly, it could be measuring the current through the resistor. c) If the dial is set correctly, it could be measuring the voltage drop the resistor. d) None of the above. 8. To the right is a sketch of a multi-meter attached to a live circuit (one with a working battery attached). Select the true statement(s). a) If the dial is set correctly, it could be voltage drop between the two resistors. b) If the dial is set correctly, it could be measuring the current between the two resistors. c) If the dial is set correctly, it could be measuring the battery s voltage. d) None of the above. 9. With the multi-meter set to 20kΩ, R1 measures 1.2. The battery is 6V. What is the current through R1? ma
3 10. The figure to the right shows: a) a short circuit b) an open circuit c) a closed circuit with an LED and resistor in series d) a closed circuit that only contains a resistor. The LED is not part of the circuit. 11. Suppose the voltage drop across R1 is 4 volts. Select the TRUE statement(s). a) The battery must have more than 4 volts. b) The voltage drop across the LED might be around 2 or 3 volts. c) The voltage drop across the LED is zero. d) There is not enough information to select any of the above answers. 12. Each of the three resistors are 500 ohms. The battery is 9V. What is the voltage drop across the bottom resistor? What is the voltage drop across the middle resistor? What is the voltage drop across the top resistor? 13. The battery is 7.2V. The top resistor is 600 ohms and the bottom resistor is 400 ohms. What is the current through the top resistor? ma What is the current through the bottom resistor? ma 14. This circuit is a) a short circuit b) an open circuit c) a closed parallel circuit d) a closed series circuit
4 15. This circuit is a) a short circuit b) an open circuit c) a closed parallel circuit d) a closed series circuit 16. Select the true statement(s). If the voltage drop across R1 is greater than the voltage drop across R2 then a) R1 has a greater resistance than R2. b) R2 has a greater resistance than R1. c) The current through R1 is greater than the current through R2. d) The current through R2 is greater than the current through R1. Unit 2 Review. 17. The LED will blink on and off... a) with the LED being on about the same amount of time as it is off. b) with the LED being on about twice as long as it is off. c) with the LED being off about twice as long as it is on. 18. After line 1 is executed but before line 2 is finished, the voltage drop from pin 12 to the ground is approximately V pinmode( 12, OUTPUT ); digitalwrite( 12, HIGH ); delay( 800 ); digitalwrite( 12, LOW ); delay( 400 ); 19. After line 3 is executed but before line 4 is finished, the voltage drop from pin 12 to the ground is approximately V. 20. After the setup function has been executed, what is the value of x? int x = 70; x = 36; x = 47;
5 21. The user will see a) the LED go on for a second and then stay off. b) the LED go on and stay on. c) the LED blink on and off. pinmode( 3, OUTPUT ); digitalwrite( 3, LOW ); delay( 1000 ); digitalwrite( 3, HIGH ); 22. In the above circuit, if the resistor is 400 ohms and the voltage drop across the LED is 2V when the light is on, what is the current when the LED is on? ma 23. What is displayed? If more than 6 numbers are displayed then just write the first How many assignment statements are in the setup function? 25. What has been displayed after the loop function has been executed twice? 26. What has been displayed after the loop function has been executed twice? int k = 2; int h = 6; int g = 11; h = k; k = g; g = h; Serial.println( k ); Serial.println( h ); Serial.println( g ); int bob = 0; int ann = 0; bob = bob + 3; ann = 8; Serial.print( bob ); Serial.print( ", " ); Serial.print( ann ); int y = 2; y = y + 1; Serial.println( y ); y = y + 6;
6 27. Select the TRUE statement. a) The LED will blink on and off. b) The LED will always stay on but it alternates between very bright and less bright. c) The LED starts out bright and gradually gets dimmer and dimmer pinmode( 12, OUTPUT ); analogwrite( 12, 255 ); delay( 2000 ); analogwrite( 12, 100 ); delay( 2000 ); 28. While line 4 (in the above problem) is being executed, what is the voltage drop from pin 12 to ground? V (round to the nearest tenth) 29. Select the TRUE statement. a) The analogwrite function can be used with any digital pin. b) The analogwrite function only works with digital pins labelled with a tilde (~). c) The analogwrite function only works with analog pins. 30. Complete the code below so that the numbers 500, 480, 460, and so on are displayed in the Serial Monitor. There should be a three second delay between printing numbers. 31. Complete the code below so that the numbers 33, 37, 41 and so on are displayed in the Serial Monitor. There should be a half second delay between printing numbers. int x = Serial.println( x ); delay( ); int x = Serial.println( x ); delay( );
7 32. What is displayed? int x = 24; x = 8 + x / 4 + 4; Serial.println( x ); Unit 3 Review. Assume that there are two LED circuits. There are also two voltage divider circuits. 33. If g is 600 and h is 900, then a) Both LEDs are on. b) Both LEDs are off. c) The LED attached to pin 9 is on, the other is off. d) The LED attached to pin 9 is off, the other is on. 34. If g is 512 and h is 512, then a) Both LEDs are on. b) Both LEDs are off. c) The LED attached to pin 9 is on, the other is off. d) The LED attached to pin 9 is off, the other is on. int g; int h; pinmode( 9, OUTPUT ); pinmode( 10, OUTPUT ); g = analogread(3); h = analogread(4); if ( g <= 512 ) digitalwrite( 9, LOW ); else digitalwrite( 9, HIGH ); 35. Excluding the wires to the ground pins, based on this code, which digital pins have wires connected to them? Which analog pins have wires connected to them? if ( h > 512 ) digitalwrite( 10, HIGH ); else digitalwrite( 10, LOW ); 36. How many boolean expressions are in this code? 37. How many assignment statements are in this code?
8 38. Complete the code below so that the user can turn the LED on and off using the potentiometer. If the potentiometer is turned so that the voltage drop from analog pin 0 to ground about 1 volt or less, the LED should go off. Otherwise the LED should be on. Do not bother to include Serial.begin or Serial.println. Your loop function might not use all the lines that were provided. 39. If y has a value of 750, what is printed? 40. Assuming that y can have any value between 0 and 1023, which letter is most likely to be printed? 41. Assuming that y can have any value between 0 and 1023, which letter is least likely to be printed? int y; Serial.begin(9600 ); y = analogread(3); if ( y > 700 ) Serial.println( "A" ); else if ( y > 900 ) Serial.println( "B" ); else if ( y > 500 ) Serial.println( "C" ); else Serial.println( "D" );
9 Use this code and schematic in answering question 42. For the purposes of these questions, use these resistance values for the photo-resistor: 10 kω very dark 7.5 kω dark 5 kω moderate 2.5 kω bright 1 kω very bright int n; Serial.begin(9600); n = analogread( 5 ); Serial.println( n ); delay(500); 42. In this problem you must use the rounded answer from one part in solving the next part. If n has a value of 716 and R2 is 17.5 kω, then the voltage drop across the photo-resistor is V (round to the nearest tenth) the current through R2 is ma (round to the nearest tenth) the photo-resistor has a resistance of ohms (round to the nearest whole number). the lighting around the photo-resistor is : a) very dark b) dark d) bright c) moderate e) very bright R1 is a 10 kω potentiometer. The resistance from the middle pin (which is connected to a wire that goes to analog pin 5) to ground is 2.5 kω. Use this code and schematic in answering questions 43, 44, and 45. int n; Serial.begin(9600); n = analogread( 5 ); Serial.println( n ); delay(500); 43. You must use the rounded answer from one part in solving the next part. What is the value of n? What is current through R1? ma (round to the nearest tenth) 44. If the knob on the potentiometer is turned all the way to the left or right, then n will either be or. (It depends on how the potentiometer is oriented.) 45. As you turn the potentiometer knob, the current through the potentiometer will a) increase or decrease, depending on how you turn the knob. b) stay the same.
10 Use this code and schematic in answering questions 46 to 48 For the purposes of these questions, use these resistance values for the photo-resistor: 10 kω very dark 7.5 kω dark 5 kω moderate 2.5 kω bright 1 kω very bright int v; v = analogread( 3 ); if ( v <= 511 ) Serial.println( "A" ); else Serial.println( "B" ); 4.7 kω 46. Select the TRUE statement(s). a) If it is very dark then A will be printed. b) If it is very dark then B will be printed. c) If it is very bright then A will be printed. d) If it is very bright then B will be printed. e) There is not enough information to select any of the above choices. 47. If v equals 511, what is the current through the circuit? ma (round to nearest tenth) 48. As it gets darker, the current through the circuit will a) decrease. b) increase. c) There is not enough information to determine if the current increases or decreases. 49. The 5 in line 1 refers to a) 5 volts b) analog pin 5 c) digital pin 5 d) analog or digital pin 5 (could be either one) 50. If z has a value of 982, that indicates a voltage of V (round to the nearest tenth) 51. If z is around 900 then a) we know that it is dark or very dark out. b) we know that it is bright or very bright out. c) we don t have enough information to determine how bright or dark it is. 52. If the fixed resistor is 5 kω and it is bright around the photoresistor, what is the value of z? 1 Assume that this is code for a voltage divider circuit where z indicates the voltage drop across a photo-resistor. int z; Serial.begin(9600); z = analogread( 5 ); Serial.println( z ); delay(500);
11 53. On the left is a voltage divider circuit and a resistor. On the right are two LED circuits. Complete the code below so that if the voltage drop across the photo-resistor is: - more than 4 volts then both LEDs are off. - less than 1 volt then both LEDs are on. - otherwise then the top LED is on and the bottom LED is off. Do not bother to include Serial.begin or Serial.println. Your loop function might not use all the lines that were provided. Unit 4 Review. 54. What has been displayed after the loop function has been executed twice? 55. Name all the local variables. If there are none, write NONE. unsigned long a = millis(); Serial.println( a ); delay( 500 ); unsigned long b = millis(); Serial.println( b );
12 56. Digital pin 4 is not connected to anything and is floating. Select the TRUE statement. a) It will always display A. b) It will always display B. c) It will always display C. d) It will randomly display either A or B but never C. e) It will randomly display A, B, or C. f) It will randomly display either A or C but never B. The figure to the right shows the voltage drop across a button as a function of time. 5V Detected Voltage int x = digitalread( 4 ); if ( x == 1 ) Serial.println( "A" ); else if ( x == 2 ) Serial.println( "B" ); else Serial.println( "C" ); The various times (t 1, t 2, etc.) represent specific times at which the digitalread function is called. 0 t 1 t 2 t 3 t 4 t 5 t 6 t 7 t 8 t 9 t 10 time 57) Name all the global variables in this code. If there are none, write NONE. 58) At time t 1, what is x equal to? 59) Assuming that digitalread is first called at t 1, what is the value of count just after t 10? 60) Assuming that digitalread is first called at t 1, what is the value of count just after t 10? 61) How many times will the letter G be printed? int count = 0; int x = digitalread( 8 ); if ( x == HIGH ) count = count + 1; int count = 0; int previousx = LOW; int x = digitalread( 8 ); if ( x == LOW && previousx == HIGH ) count = count + 1; previousx = x; int previousx = LOW; int x = digitalread( 8 ); if ( x == LOW && previousx == HIGH ) Serial.println( "G" );
13 62. Use the figure on the right. Select the TRUE statement. a) If the button is pressed, there will be a short circuit. If the button is not pressed, then there is no short circuit. b) There is always a short circuit. It does not matter if the button is pressed or not. c) There is never a short circuit. When the button is pressed, the LED goes on. If the button is not pressed then the LED is off. d) The LED is always on. e) The LED is always off. 63. What has been displayed after the loop function has been executed twice? 64. How many milliseconds does it take for the loop function to be executed twice? int num = 0; f2( num ); num = num + 3; f1( num ); num = num + 4; void f1( int n ){ Serial.println( n ); delay( 100 ); void f2( int n ){ Serial.println( n ); delay( 200 ); 65. In which line(s), is the fx function called? 66. What is displayed after the loop function has been executed twice? 67. How many milliseconds does it take to execute the loop function twice? int a = 20; Serial.begin( 9500 ); a = a 1; fx( a ); a = a + 3; fx( a ); delay( 500 ); void fx( int k ){ Serial.println( k ); delay( 200 );
14 68. There are two LED circuits connected to pins 7 and 8. There is also a potentiometer connected to analog pin 3. As the knob of the potentiometer is turned, both LEDs are on or both LEDs are off. It should be equally easy to turn both LEDs on as turn them off. Finish the code in the loop function by correctly call the set_leds function. pinmode( 7, OUTPUT ); pinmode( 8, OUTPUT ); int x = analogread( 3 ); void set_leds( int x ){ if ( x == 2 ){ digitalwrite( 7, HIGH ); digitalwrite( 8, HIGH ); else { digitalwrite( 7, LOW ); digitalwrite( 8, LOW ); 69. What has been displayed after the loop function has been executed twice? int w = 15; Serial.begin( 9500 ); int x = 11; Serial.print( "x " ); Serial.println( x ); Serial.println( w ); x = x + 3; w = w + 4;
15 70. What is displayed after the loop function has been executed twice? 71. How many milliseconds does it take to execute the loop function twice? 72. What parameters does the fx function have? If there are none, write NONE. int x = 400; Serial.begin( 9500 ); x = x + 10; fx( 300, x ); fx( x, 1000 ); void fx( int a, int b ){ Serial.println( a ); delay( b ); 73. There is a button circuit connected to pin 8 and an LED circuit connected to pin 2. Complete the code so that when the program starts, the LED is on. When the button is clicked twice, the LED goes off and stays off until the button has been clicked a total of 6 times. Then it goes back on and stays on.
16 74. There is a working LED circuit connected to pin 5. Complete the loop function so that the fun function is called twice; once so that the LED turns on followed by a two second delay and once so that LED turns off followed by a one second delay. You may not need to use all the lines. pinmode( 5, OUTPUT ); void fun( int x, int y ){ digitalwrite( 5, y ); delay( x ); Unit 5 Review. 75. What is displayed? int a = func( 3, 5 ); Serial.println( a ); a = func( 5, 3 ); Serial.println( a ); int func( int x, int y ){ int z = 2*x + y; return z; 76. What is displayed? int a = fx(); int b = fx(); Serial.println( a+b ); int fx(){ return 22; return 5; return 100;
17 This is a robot with an ultra-sonic sensor. 77. Complete the code as follows: - Call the distance function. - If something is detected between 5 and 10 inches, go forward as fast as possible. - If something is detected closer than 5 inches then call the reverse function with a value of If something is detected farther than 10 inches, turn for 500 milliseconds. All the necessary variable declarations all the necessary code void forward( int a ) { code that makes it go forward, a is between 0 and 255 void reverse( int b ) { code that makes it go forward, b is between 0 and 255 void turn( int c ){ code that makes it turn, c is the number of milliseconds it should turn int distance() { code identical to what we used in class for the ultra-sonic sensor except that a 50 millisecond delay has been added to prevent overlapping echoes. 78. Assume that this function would make the robot go forward in a straight line. If the 255 in lines 2 and 4 were changed to 150 then the function would a) cause the robot to turn. b) cause the robot to stop moving. c) cause the robot to go backwards. d) cause the robot to continue going forward but slower void forward() { digitalwrite(dira, HIGH); analogwrite(pwma, 255); digitalwrite(dirb, HIGH); analogwrite(pwmb, 255);
18 79. What is displayed? int w = fx( 28 ); Serial.println( w ); w = fx( 8 ); Serial.println( w ); int fx( int a ){ if ( a > 20 && a < 40 ) return 1; if ( a >= 0 && a <= 30 ) return 2; if ( a >= 0 ) return 3; return 4; 80. What is displayed after the loop function has been executed twice? int x = 30; x = fly( x, 3 ); Serial.println( x ); int fly( int a, int b ){ return a + b; Unit 6 Review. 81. If x has a value of 511, what is the value of y? int x = analogread( A5 ); int y = map( x, 0, 1023, 20, 160 ); 82. What are the possible values of b? a) Any number from 200 to 300. b) Either 200 or 300. c) Always 200. d) Always 300. int a = digitalread( 8 ); int b = map( a, 0, 1, 200, 300 ); I will not ask you any questions about servos or sound detectors.
Note. 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 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 informationRobotics and Electronics Unit 5
Robotics and Electronics Unit 5 Objectives. Students will work with mechanical push buttons understand the shortcomings of the delay function and how to use the millis function. In this unit we will use
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 informationAnalog Input. Sure sure, but how to make a varying voltage? With a potentiometer. Or just pot.
Analog Input Sure sure, but how to make a varying voltage? With a potentiometer. Or just pot. +5V measure gnd Color coding: red goes to power, blue to ground, purple to measure here (it s a mix, see?)
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 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 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 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 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 informationStenBOT Robot Kit. Stensat Group LLC, Copyright 2018
StenBOT Robot Kit 1 Stensat Group LLC, Copyright 2018 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 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 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 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 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 informationRotary Encoder Basics
Rotary Encoder Basics A rotary encoder has a fixed number of positions per revolution. These positions are easily felt as small clicks you turn the encoder. The Keyes module that I have has thirty of these
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 informationArduino Programming Part 3. EAS 199A Fall 2010
Arduino Programming Part 3 EAS 199A Fall 2010 Overview Part I Circuits and code to control the speed of a small DC motor. Use potentiometer for dynamic user input. Use PWM output from Arduino to control
More informationcs281: Introduction to Computer Systems Lab03 K-Map Simplification for an LED-based Circuit Decimal Input LED Result LED3 LED2 LED1 LED3 LED2 1, 2
cs28: Introduction to Computer Systems Lab3 K-Map Simplification for an LED-based Circuit Overview In this lab, we will build a more complex combinational circuit than the mux or sum bit of a full adder
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 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 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 informationIntro to Arduino. Zero to Prototyping in a Flash! Material designed by Linz Craig and Brian Huang
Intro to Arduino Zero to Prototyping in a Flash! Material designed by Linz Craig and Brian Huang Overview of Class Getting Started: Installation, Applications and Materials Electrical: Components, Ohm's
More informationDigital Pins and Constants
Lesson Lesson : Digital Pins and Constants Digital Pins and Constants The Big Idea: This lesson is the first step toward learning to connect the Arduino to its surrounding world. You will connect lights
More informationA rduino Programming Part 5: Functions Redux and Intro toa rrays
A rduino Programming Part 5: Functions Redux and Intro toa rrays ME 121 M e c h a n i c a l a n d M a t e r i a l s E n g i n e e r i n g Portland State University Goals Review operation of the Salinity
More informationArdOS The Arduino Operating System Quick Start Guide and Examples
ArdOS The Arduino Operating System Quick Start Guide and Examples Contents 1. Introduction... 1 2. Obtaining ArdOS... 2 3. Installing ArdOS... 2 a. Arduino IDE Versions 1.0.4 and Prior... 2 b. Arduino
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 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 informationLab 2.2 Ohm s Law and Introduction to Arduinos
Lab 2.2 Ohm s Law and Introduction to Arduinos Objectives: Get experience using an Arduino Learn to use a multimeter to measure Potential units of volts (V) Current units of amps (A) Resistance units of
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 informationLesson 8: Digital Input, If Else
Lesson 8 Lesson 8: Digital Input, If Else Digital Input, If Else The Big Idea: This lesson adds the ability of an Arduino sketch to respond to its environment, taking different actions for different situations.
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 informationPhysical Computing Self-Quiz
Physical Computing Self-Quiz The following are questions you should be able to answer without reference to outside material by the middle of the semester in Introduction to Physical Computing. Try to answer
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 informationSpooky Projects. Class 2. Introduction to Microcontrollers with Arduino. 14 Oct machineproject - Tod E. Kurt
Spooky Projects Introduction to Microcontrollers with Arduino Class 2 14 Oct 2006 - machineproject - Tod E. Kurt What s for Today Reading buttons Reading analog values (knobs and photocells) Detecting
More informationButton Input: On/off state change
Button Input: On/off state change Living with the Lab Gerald Recktenwald Portland State University gerry@pdx.edu User input features of the fan Potentiometer for speed control Continually variable input
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 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 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 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 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 informationArduino Uno Microcontroller Overview
Innovation Fellows Program Arduino Uno Microcontroller Overview, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota Arduino Uno Power & Interface Reset Button USB
More informationThumb Joystick Retail. Tools and parts you'll need. Things you'll want to know. How does it work? Skill Level: Beginner. by MikeGrusin March 22, 2011
Thumb Joystick Retail Skill Level: Beginner by MikeGrusin March 22, 2011 Thank you for purchasing our Thumb Joystick! Whether you're blasting aliens or driving a robot, you'll find it a very useful addition
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 informationISL RGB Sensor Tutorial By: Sabrina Jones
ISL 25129 RGB Sensor Tutorial By: Sabrina Jones Overview The ISL29125 RGB sensor is a breakout board made to record the light intensity of the general red, green, and blue spectrums of visible light, that
More informationObjectives: - You need to be able to use the two equations above and the series and parallel circuit rules.
F: Solve Complete Circuits Level 3 Prerequisite: Solve Ohm s Law and the Power Formula Points To: Solve Complete Circuit with Nontraditional Information Objectives: V = IR P = IV - Given a battery and
More informationBlinking an LED 1 PARTS: Circuit 2 LED. Wire. 330Ω Resistor
Circuit PIN 3 RedBoard Blinking an LED LED (Light-Emitting Diode) Resistor (33 ohm) (Orange-Orange-Brown) LEDs (light-emitting diodes) are small, powerful lights that are used in many different applications.
More informationMAE106 Laboratory Exercises Lab # 1 - Laboratory tools
MAE106 Laboratory Exercises Lab # 1 - Laboratory tools University of California, Irvine Department of Mechanical and Aerospace Engineering Goals To learn how to use the oscilloscope, function generator,
More informationSchedule. Sanford Bernhardt, Sangster, Kumfer, Michalaka. 3:10-5:00 Workshop: Build a speedometer 5:15-7:30 Dinner and Symposium: Group 2
Schedule 8:00-11:00 Workshop: Arduino Fundamentals 11:00-12:00 Workshop: Build a follower robot 1:30-3:00 Symposium: Group 1 Sanford Bernhardt, Sangster, Kumfer, Michalaka 3:10-5:00 Workshop: Build a speedometer
More informationKNOCK LOCK MAKE YOUR OWN SECRET LOCKING MECHANISM TO KEEP UNWANTED GUESTS OUT OF YOUR SPACE! Discover: input with a piezo, writing your own functions
125 KNOCK LOCK MAKE YOUR OWN SECRET LOCKING MECHANISM TO KEEP UNWANTED GUESTS OUT OF YOUR SPACE! Discover: input with a piezo, writing your own functions Time: 1 HOUR Level: Builds on projects: 1, 2, 3,
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 informationPhysical Computing Self-Quiz
Physical Computing Self-Quiz The following are questions you should be able to answer by the middle of the semeter in Introduction to Physical Computing. Give yourself 6.5 points for questions where you
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 informationWhat s inside the kit
What s inside the kit 1 set Jumper Wires 5 pcs Tact Switch 1 pc Photoresistor 1 pc 400 Points Breadboard 1 pc Potentiometer 1 pc LCD 5 pcs 5mm Red LED 5 pcs 5mm Green LED 5 pcs 5mm Yellow LED 30 pcs Resistors
More informationMake your own secret locking mechanism to keep unwanted guests out of your space!
KNOCK LOCK Make your own secret locking mechanism to keep unwanted guests out of your space! Discover : input with a piezo, writing your own functions Time : 1 hour Level : Builds on projects : 1,,3,4,5
More informationPrototyping & Engineering Electronics Kits Basic Kit Guide
Prototyping & Engineering Electronics Kits Basic Kit Guide odysseyboard.com Please refer to www.odysseyboard.com for a PDF updated version of this guide. Guide version 1.0, February, 2018. Copyright Odyssey
More 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 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 informationinches Hardware Guide For Intel Galileo
inches 1 2 Hardware Guide For Intel Galileo 3 4 5 6 7 8 9 10 Contents Hardware Guide Make your Galileo Blink 3 Make your Galileo Blink Some More 10 Using Inputs 13 Using Motors 22 Guide to Debugging 31
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 informationMicrocontrollers and Interfacing week 8 exercises
2 HARDWARE DEBOUNCING Microcontrollers and Interfacing week 8 exercises 1 More digital input When using a switch for digital input we always need a pull-up resistor. For convenience, the microcontroller
More 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 informationThis is the Arduino Uno: This is the Arduino motor shield: Digital pins (0-13) Ground Rail
Reacting to Sensors In this tutorial we will be going over how to program the Arduino to react to sensors. By the end of this workshop you will have an understanding of how to use sensors with the Arduino
More informationObjectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen
Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen By the end of this session: You will know how to write a program to
More informationHalloween Pumpkinusing. Wednesday, October 17, 12
Halloween Pumpkinusing Blink LED 1 What you will need: 1 MSP-EXP430G2 1 3 x 2 Breadboard 3 560 Ohm Resistors 3 LED s (in Red Color Range) 3 Male to female jumper wires 1 Double AA BatteryPack 2 AA Batteries
More informationCTEC 1802 Embedded Programming Labs
CTEC 1802 Embedded Programming Labs This document is intended to get you started using the Arduino and our I/O board in the laboratory - and at home! Many of the lab sessions this year will involve 'embedded
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 informationPhysical Computing Tutorials
Physical Computing Tutorials How to install libraries Powering an Arduino Using an MPR121 capacitive touch sensor Using a Sparkfun MP3 Trigger Controlling an actuator with TinkerKit Mosfet Making sounds
More informationLight Sensor. Overview. Features
1 Light Sensor Overview What is an electronic brick? An electronic brick is an electronic module which can be assembled like Lego bricks simply by plugging in and pulling out. Compared to traditional universal
More informationPhotoresistor, Transistor, and LED s
PH-1 Photoresistor, Transistor, and LD s Purpose: To introduce photoresistors, LD s, FT s, and transistors used as power switching devices To become familiar with the capability of the Atmega 128 to measure
More informationEG Robotics LDR Kit Project Book
EG Robotics LDR Kit Project Book Projects Page # Night Light 2 Security Box 3 Light Guitar 5 The Fearful Robot 6 Juke Box 8 The LDR Project book contains 5 projects that can be used with your LDR Kit.
More informationArrays and Loops. Programming for Engineers Winter Andreas Zeller, Saarland University
Arrays and Loops Programming for Engineers Winter 2015 Andreas Zeller, Saarland University Datatypes millis() has the type unsigned long integer values in [0 2 32 1] Usual integer numbers ( int ) are
More informationArduino Platform Part I
Arduino Platform Part I Justin Mclean Class Software Email: justin@classsoftware.com Twitter: @justinmclean Blog: http://blog.classsoftware.com Who am I? Director of Class Software for almost 15 years
More informationC Language Reference for ActivityBot. Driving the robot a specific distance or a specific amount of turn
Code for Driving ActivityBot C Language Reference for ActivityBot Jeffrey La Favre - November 4, 2015 There are two types of functions for driving the robot. The first kind specifies a specific distance
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 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 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 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 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 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 informationSten-SLATE ESP Kit. Description and Programming
Sten-SLATE ESP Kit Description and Programming Stensat Group LLC, Copyright 2016 Overview In this section, you will be introduced to the processor board electronics and the arduino software. At the end
More informationArduino 6: Analog I/O part 1. Jeffrey A. Meunier University of Connecticut
Arduino 6: Analog I/O part 1 Jeffrey A. Meunier jeffm@engr.uconn.edu University of Connecticut About: How to use this document I designed this tutorial to be tall and narrow so that you can read it on
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 informationVIII.! READING ANALOG!!!!! VALUES
VIII.! READING ANALOG!!!!! VALUES Disconnect USB. Remove the pushbutton and connect a force-sensitive resistor, the 10 kω resistor and wires to analog input A0 as shown. You ve created a voltage divider.
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 informationClark College Electrical Engineering & Computer Science
Clark College Electrical Engineering & Computer Science slide # 1 http://www.engrcs.com/ecsv5.pdf Electrical Engineering & Computer Science Artificial Intelligent (AI) Bio Medical Computers & Digital Systems
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 informationMEDIS Module 2. Microcontroller based systems for controlling industrial processes. Chapter 4: Timer and interrupts. M. Seyfarth, Version 0.
MEDIS Module 2 Microcontroller based systems for controlling industrial processes Chapter 4: Timer and interrupts M. Seyfarth, Version 0.1 Steuerungstechnik 1: Speicherprogrammierbare Steuerungstechnik
More informationInput Shield For Arduino SKU: DFR0008
Input Shield For Arduino SKU: DFR0008 Contents 1 Introduction 2 Specification 3 Pin Allocation 4 Sample Code1 5 Sample Code2 6 Version history Introduction The upgraded Arduino Input Shield includes a
More informationMake It Change: Potentiometers
Make It Change: Potentiometers Created by Mike Barela Last updated on 2018-09-16 06:27:20 PM UTC Guide Contents Guide Contents Overview Parts List Circuit Playground Express Panel Mount 10K potentiometer
More informationArduino. part A. slides rel. 4.3 free documentation. Renato Conte Arduino - 1 /82 -
Arduino part A slides rel. 4.3 free documentation 2015 Renato Conte Arduino - 1 /82 - Part A Contents What is Arduino? What is an embedded system? The microcontroller Atmega168 / 328 The Arduino board
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 informationanalogwrite(); The analogwrite function writes an analog value (PWM wave) to a PWM-enabled pin.
analogwrite(); The analogwrite function writes an analog value (PWM wave) to a PWM-enabled pin. Syntax analogwrite(pin, value); For example: analogwrite(2, 255); or analogwrite(13, 0); Note: Capitalization
More 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 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 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 informationConnecting LEDs to the ADB I/O
Application Note AN-2 By Magnus Pettersson September 26 1996 Connecting LEDs to the I/O Introduction The following notes are for those of you who are a bit inexperienced with hardware components. This
More informationUsing PSpice to Simulate Transmission Lines K. A. Connor Summer 2000 Fields and Waves I
Using PSpice to Simulate Transmission Lines K. A. Connor Summer 2000 Fields and Waves I We want to produce the image shown above as a screen capture or below as the schematic of this circuit. R1 V1 25
More informationArduino Lesson 15. DC Motor Reversing
Arduino Lesson 15. DC Motor Reversing Created by Simon Monk Last updated on 2017-03-09 04:04:43 PM UTC Guide Contents Guide Contents Overview Parts Part Qty An Experiment In1 In2 Motor Breadboard Layout
More information