What s inside the kit

Size: px
Start display at page:

Download "What s inside the kit"

Transcription

1 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 1 pc 4-Digit 7-Segment Display 1 pc RGB LED 1 pc Buzzer 1

2 What s inside the kit Jumper Wires A short length of conductor used to link two cross-connect termination points of a circuit. Breadboard Used to build and test circuits quickly before finalizing any circuit design. It contains holes into which circuit components like ICs and resistors can be inserted. LED A semiconductor diode that emits light when a voltage is applied to it and that is used especially in electronic devices (as for an indicator light). RGB LED The R stands for red, the G stands for green and the B stands for blue. These three colors combined, when varied in intensity, have the ability to produce over 16.7 million different colors. Tact Switch An on/off electronic switch that is only on when the button is pressed. Another way to consider it, as momentary make or brake switch. As soon as a tactile switches button is released, the connection is broken. Potentiometer A simple knob that provides a variable resistance. 2

3 What s inside the kit Resistors A device that has electrical resistance and that is used in an electric circuit for protection, operation, or current control. Photoresistor A resistor whose resistance varies as a function of the intensity of light it is exposed to. LCD A 16x2 LCD means it can display 16 characters per line and there are 2 such lines. 4-Digit 7-Segment Display A set of seven bar-shaped LED (light-emitting diode) or LCD (liquid crystal display) elements, arranged to form a squared-off figure 8. Buzzer An electric component that comes in different shapes and sizes, which can be used to create sound waves after providing electrical signal. 3

4 What is Arduino? Arduino by definition is an open-source prototyping platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor, a finger on a button and turn it into an output - activating a motor, turning on an LED. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. To do so you use the Arduino programming language (based on Wiring), and the Arduino Software (IDE), based on Processing. It s applications range from simple LED projects to products for IoT applications, wearable, and 3D printing. All Arduino boards are completely open-source, empowering users to build them independently and eventually adapt them to their particular needs. The software, too, is opensource, and it is growing through the contributions of users worldwide. images from google.com 4

5 Hardware There are a couple of parts on the board: Power The Uno board can be powered via the USB connection or with an external power supply. 5V.This pin outputs a regulated 5V from the regulator on the board. GND. Ground pins. Input and Output The Uno has 6 analog inputs, labeled A0 through A5. Each of the 14 digital pins, labeled 0 through 13 on the Uno can be used as an input or output, using pinmode(), digitalwrite(), and digialread() functions. In addition, some pins have specialized functions: PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogwrite() function. LED: 13. There is a built-in LED driven by digital pin 13. When the pin is HIGH value, the LED is on, when the pin is LOW, it s off. Reset. Bring this line LOW to reset the microcontroller. 5

6 Software The Arduino Integrated Development Environment - or Arduino Software (IDE) - contains a text editor for writing code, a message area, a text console, a toolbar with buttons for common functions and a series of menus. It connects to the Arduino and Genuino hardware to upload programs and communicate with them. Writing Sketches Programs written using Arduino Software (IDE) are called sketches. These sketches are written in the text editor and are saved with the file extension.ino. The toolbar buttons allow you to verify and upload programs, create, open, and save sketches, and open the serial monitor. Verify Checks your code for errors compiling it. Upload Compiles your code and uploads it to the configured board. New Creates a new sketch. Open Presents a menu of all the sketches in your sketchbook. Clicking one will open it within the current window overwriting its content. Save Saves your sketch. Serial Monitor Opens the serial monitor. Additional commands are found within the five menus: File, Edit, Sketch, Tools, Help. 6

7 Commonly used functions setup() called when a sketch starts. Use it to initialize variables, pin modes, start using libraries, etc. The setup function will only run once, after each powerup or reset of the Arduino board. loop() does precisely what its name suggests, and loops consecutively, allowing your program to change and respond. Use it to actively control the Arduino board. for() Loop. Used to repeat a block of statements enclosed in curly braces. for (initialization; condition; increment) //statement(s); Example: for (i=0;i<3;i++) Do the instructions enclosed by three times if (expr) Conditional branch. If expr true, do instructions enclosed by if / else Example: if (pinfiveinput < 500) // do Thing A ; (semicolon) Used to end a statement. (Curly Braces) An opening curly brace must always be followed by a closing curly brace. This is a condition that is often referred to as the braces being balanced. Comments Lines in the program that are used to inform yourself or others about the way the program works. Anything after the slashes is a comment. // to the end of the line /* */ this is multiline comment - use it to comment out whole blocks of code #include used to include outside libraries in your sketch. 7

8 Commonly used functions void used only in function declarations. It indicates that the function is expected to return no information to the function from which it was called. int Integers are your primary data-type for number storage. pinmode (n,input) Set pin n to act as an input. One-time command at top of program. pinmode (n,output) Set pin n to act as an output digitalwrite (n,high) Set pin n to 5V digitalwrite (n,low) Set pin n to 0V delay(x) Pause program for x millisec, x = 0 to 65,535 digitalread(pin) Reads the value from a specified digital pin, either HIGH or LOW. analogread() Reads the value from the specified analog pin. analogwrite(pin, value) Writes an analog value (PWM wave) to a pin. Can be used to light a LED at varying brightnesses or drive a motor at various speeds. delay(ms) Pauses the program for the amount of time (in miliseconds) specified as parameter. (There are 1000 milliseconds in a second.) For more references visit 8

9 Let s get started What you will need 1. Download Basic Arduino Kit.rar Extract it in your computer. This contains all the sketches and circuit that we will be using through out the lessons. 2. Download and install the Arduino IDE (Integrated Development Environment) 3. A well lighted table or any workspace where you will be placing your components next to your desktop or laptop PC to enable you to upload the code to the Arduino. 4. A notepad and pen will also come in handy for drawing out rough schematics, working out concepts and designs, etc. 5. And most importantly, the enthusiasm and willingness to learn! 9

10 Lesson 1: Built-in LED blink Overview: In this first lesson we will be introduced to arduino programming. We will be able to learn how control the blinking of the Built-in LED in the Arduino board. Materials: Arduino Uno USB cable Instructions: 1. Connect the arduino to the computer using the USB cable 2. Open the file lesson_no._1_built_in_led_blink.ino 3. The Arduino IDE will open 4. Click Upload 10

11 Lesson 1: Discussion of codes int led = 13; // we assigned pin 13 as led which we will use through out the sketch /*variable is a way of naming and storing a value for later use by the program, digital pin 13 drives the built-in led on the board. */ void setup() /* setup() preparation, always top of program, set pinmodes, initialize serial communictions, etc.*/ pinmode(led, OUTPUT); // initialize the digital pin labeled as led an output. /* pinmode: This command, which goes in the setup() function, is used to set the direction of a digital I/O pin. Set the pin to OUTPUT if the pin is driving and LED, motor or other device. Set the pin to INPUT if the pin is reading a switch or other sensor. On power up or reset, all pins default to inputs. */ void loop() /* loop() execution, reading inputs, triggering outputs */ digitalwrite(led, HIGH); // turn the LED on (HIGH is the voltage level) /* digitalwrite: This command sets an I/O pin high (+5V) or low (0V) and is the workhorse for commanding the outside world of lights, motors, and anything else interfaced to your board.*/ delay(1000); // wait for a second /* Delay pauses the program for a specified number of milliseconds. Since most interactions with the world involve timing, this is an essential instruction. */ digitalwrite(led, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second 11

12 Lesson 2: LED Blink (Breadboard) Overview: In this lesson we will be introduced to circuit wiring and our goal is to make the LED on the breadboard blink according to the delay to be set. We will also learn how to assign a digital pin as an output. Materials: 1pc LED 1pc 220ohm resistor Breadboard Jumper wires Instructions: 1. Connect the arduino to the computer 2. Open the file lesson_no._2_led_blink.ino 3. The Arduino IDE will open 4. Click Upload 5. Construct the circuit as shown in the figure. You can check the larger version of the picture which is located in the folder lesson_no._2_led_blink 12

13 Lesson 2: Discussion of codes int led = 12; // we labeled pin 12 as led /*variable is a way of naming and storing a value for later use by the program */ void setup() /* setup() preparation, always top of program, set pinmodes, initialize serial communictions, etc.*/ pinmode(led, OUTPUT); // initialize the digital pin labeled as led an output. /* pinmode: This command, which goes in the setup() function, is used to set the direction of a digital I/O pin. Set the pin to OUTPUT if the pin is driving and LED, motor or other device. Set the pin to INPUT if the pin is reading a switch or other sensor. On power up or reset, all pins default to inputs. */ void loop() /* loop() execution, reading inputs, triggering outputs */ digitalwrite(led, HIGH); // turn the LED on (HIGH is the voltage level) /* digitalwrite: This command sets an I/O pin high (+5V) or low (0V) and is the workhorse for commanding the outside world of lights, motors, and anything else interfaced to your board.*/ delay(1000); // wait for a second /* Delay pauses the program for a specified number of milliseconds. Since most interactions with the world involve timing, this is an essential instruction. */ digitalwrite(led, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second 13

14 Lesson 3: LED control Overview: In this lesson we will be using a tact switch to control the LED whether it will be turned on or off. We will be able to learn how to read an input(switch) and make the corresponding output(led). Materials: 1pc LED 1pc 220ohm resistor 1pc 10kohm resistor 1 pc tact switch Breadboard Jumper wires Instructions: 1. Connect the arduino to the computer 2. Open the file lesson_no._3_led_control.ino 3. The Arduino IDE will open 4. Click Upload 5. Construct the circuit as shown in the figure. You can check the larger version of the picture which is located in the folder lesson_no._3_led_control 14

15 Lesson 3: Discussion of codes int ledpin=11; //label pin 11 as ledpin int inpin=7; //label pin 7 as inpin int val; //define the variable val, we well be using later /*variable is a way of naming and storing a value for later use by the program, such as data from a analog pin set to input.*/ void setup() pinmode(ledpin,output); //define the ledpin as OUTPUT, we will be connecting the LED here pinmode(inpin,input); //define the inpin as INPUT, we will be connecting the switch here /* pinmode: This command, which goes in the setup() function, is used to set the direction of a digital I/O pin. Set the pin to OUTPUT if the pin is driving and LED, motor or other device. Set the pin to INPUT if the pin is reading a switch or other sensor. On power up or reset, all pins default to inputs. */ void loop() val=digitalread(inpin); //read the value of inpin then save it to variable val /* digitalread: Reads the value from a specified pin, it will be either HIGH or LOW.*/ if(val==low) //if the button pressed; /*If the condition is true, the program will execute the commands between the braces. If the condition is not true, the program will skip to the statement following the braces.*/ digitalwrite(ledpin,low); //turn off the LED else digitalwrite(ledpin,high); //if not pressed, turn on the LED /*digitalwrite: This command sets an I/O pin high (+5V) or low (0V) and is the workhorse for commanding the outside world of lights, motors, and anything else interfaced to your board.*/ 15

16 Lesson 4: 3 LED blink Overview: In this lesson we will learn on how to make 3 LED blink alternately. We will learn how to use multiple pins and assign delays for us to achieve the desired output. Materials: 3 pcs LED (1 green, 1 yellow, 1 red) 3pcs 220ohm resistor Breadboard Jumper wires Instructions: 1. Connect the arduino to the computer 2. Open the file lesson_no._4_3_led_blink.ino 3. The Arduino IDE will open 4. Click Upload 5. Construct the circuit as shown in the figure. You can check the larger version of the picture which is located in the folder lesson_no._4_3_led_blink 16

17 Lesson 4: Discussion of codes int greenled = 8; //we labeled pin 8 as greenled int yellowled = 9; //we labeled pin 9 as yellowled int redled = 10; //we labeled pin 10 as redled void setup() pinmode(greenled, OUTPUT); //we set greenled as output pinmode(yellowled, OUTPUT); //we set yellowled as output pinmode(redled, OUTPUT); //we set redled as output void loop() digitalwrite(greenled, HIGH); //Green on for 1 second delay(1000); digitalwrite(greenled, LOW); //Green off, yellow on for 1 second digitalwrite(yellowled, HIGH); delay(1000); digitalwrite(yellowled, LOW); //yellow off, red on for 1 second digitalwrite(redled, HIGH); delay(1000); digitalwrite(redled, LOW); //Red and Yellow off 17

18 Lesson 5: Traffic light Overview: In this lesson we will mimic the behaviour of a traffic light using delays. We will be using the same circuit on the previous lesson and practice how to manipulate delays for us to achieve our desired output. Materials: 3 pcs LED (1 green, 1 yellow, 1 red) 3pcs 220ohm resistor Breadboard Jumper wires Instructions: 1. Connect the arduino to the computer 2. Open the file lesson_no._5_traffic_lights.ino 3. The Arduino IDE will open 4. Click Upload 5. The circuit will be the same as in lesson_no._4_3_led_blink 18

19 Lesson 5: Discussion of codes int greenled = 8; //we labeled pin 8 as greenled int yellowled = 9; //we labeled pin 9 as yellowled int redled = 10; //we labeled pin 10 as redled void setup() pinmode(greenled, OUTPUT); //we set greenled as output pinmode(yellowled, OUTPUT); //we set yellowled as output pinmode(redled, OUTPUT); //we set redled as output void loop() digitalwrite(greenled, HIGH); //Green on for 1 second delay(5000); digitalwrite(greenled, LOW); //Green off, yellow on for 1 second digitalwrite(yellowled, HIGH); delay(2000); digitalwrite(yellowled, LOW); //yellow off, red on for 1 second digitalwrite(redled, HIGH); delay(5000); digitalwrite(redled, LOW); //Red and Yellow off 19

20 Lesson 6: LED bar graph Overview: In this lesson we will be using the component called the potentiometer. As we turn the knob of the potentiometer, the number of LEDs turned on will also vary. The codes we used in this lesson can also be found in Files->Examples->Display->barGraph Materials: 10pcs LED (3 green, 4 yellow, 3 red), 10pcs 220ohm resistor, Potentiometer Breadboard Jumper wires Instructions: 1. Connect the arduino to the computer 2. Open the file lesson_no._6_led_bar_graph.ino 3. The Arduino IDE will open 4. Click Upload 5. Construct the circuit as shown in the figure. You can check the larger version of the picture which is located in the folder lesson_no._6_led_bar_graph 20

21 Lesson 6: Discussion of codes /* LED bar graph Turns on a series of LEDs based on the value of an analog sensor. This is a simple way to make a bar graph display. Though this graph uses 10 LEDs, you can use any number by changing the LED count and the pins in the array. This method can be used to control any series of digital outputs that depends on an analog input. // loop over the LED array: for (int thisled = 0; thisled < ledcount; thisled++) // if the array element s index is less than ledlevel, // turn the pin for this element on: if (thisled < ledlevel) digitalwrite(ledpins[thisled], HIGH); // turn off all pins higher than the ledlevel: else digitalwrite(ledpins[thisled], LOW); The circuit: * LEDs from pins 2 through 11 to ground created 4 Sep 2010 by Tom Igoe This example code is in the public domain. */ // these constants won t change: const int analogpin = A0; // the pin that the potentiometer is attached to const int ledcount = 10; // the number of LEDs in the bar graph int ledpins[] = 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 ; // an array of pin numbers to which LEDs are attached void setup() // loop over the pin array and set them all to output: for (int thisled = 0; thisled < ledcount; thisled++) pinmode(ledpins[thisled], OUTPUT); void loop() // read the potentiometer: int sensorreading = analogread(analogpin); // map the result to a range from 0 to the number of LEDs: int ledlevel = map(sensorreading, 0, 1023, 0, led- Count); 21

22 Lesson 7: RGB LED (changing colors) Overview: In this lesson we will be using the component called the RGB LED. We will learn to to make the RGB LED change its color from red to green and to blue and try some other combinations to achieve more variations of colors. Materials: 1pc RGB LED 3pcs 220ohm resistor Breadboard Jumper wires Instructions: 1. Connect the arduino to the computer 2. Open the file lesson_no._7_rgb_led 3. The Arduino IDE will open 4. Click Upload 5. Construct the circuit as shown in the figure. You can check the larger version of the picture which is located in the folder lesson_no._7_rgb_led 22

23 Lesson 7: Discussion of codes int redpin = 11; int greenpin = 10; int bluepin = 9; void setup() pinmode(redpin, OUTPUT); pinmode(greenpin, OUTPUT); pinmode(bluepin, OUTPUT); void loop() setcolor(255, 0, 0); // red delay(1000); setcolor(0, 255, 0); // green delay(1000); setcolor(0, 0, 255); // blue delay(1000); setcolor(255, 255, 0); // yellow delay(1000); setcolor(80, 0, 80); // purple delay(1000); setcolor(0, 255, 255); // aqua delay(1000); 23

24 Lesson 8: RGB LED and tact switch Overview: In this lesson we will make the RGB LED change its color to red, green and blue as we push a certain tact switch that corresponds to each color. Materials: 1pc RGB LED 3pcs 220ohm resistor 3pcs 10kohm resistor 3pcs tact switch Breadboard Jumper wires Instructions: 1. Connect the arduino to the computer 2. Open the file lesson_no._8_rgb_switch.ino 3. The Arduino IDE will open 3. Click Upload 4. Construct the circuit as shown in the figure. You can check the larger version of the picture which is located in the folder esson_no._8_rgb_switch 24

25 Lesson 8: Discussion of codes int redledpin = 11; // label pin 11 as redledpin int greenledpin = 10; // label pin 10 as greenledpin int blueledpin = 9; // label pin 9 as blueledpin int redswitchpin = 7; // label pin 7 as redswitchpin int greenswitchpin = 6; // label pin 6 as greenswitchpin int blueswitchpin = 5; // label pin 5 as blueswitchpin void setup() pinmode(redledpin, OUTPUT); pinmode(greenledpin, OUTPUT); pinmode(blueledpin, OUTPUT); pinmode(redswitchpin, INPUT); pinmode(greenswitchpin, INPUT); pinmode(blueswitchpin, INPUT); void loop() if (digitalread(redswitchpin) == HIGH && digitalread(greenswitchpin) == LOW && digitalread(blueswitchpin) == LOW) digitalwrite(redledpin,high); digitalwrite(greenledpin,low); digitalwrite(blueledpin,low); else if (digitalread(greenswitchpin) == HIGH && digitalread(redswitchpin) == LOW && digitalread(blueswitchpin) == LOW) digitalwrite(redledpin,low); digitalwrite(greenledpin,high); digitalwrite(blueledpin,low); else if (digitalread(blueswitchpin) == HIGH && digitalread(greenswitchpin) == LOW && digitalread(red- SwitchPin) == LOW) digitalwrite(redledpin,low); digitalwrite(greenledpin,low); digitalwrite(blueledpin,high); else delay(10); 25

26 Lesson 9: Photoresistor Overview: In this lesson we will be using the component called the photoresistor. It acts like an automatic switch where in whenever it detects presence of light it will turn the LED off, otherwise if detects the absence of light it will turn the LED on. Materials: 1pc LDR 1pc LED 1pc 220ohm resistor 1pc 10kohm resistor Breadboard Jumper wires Instructions: 1. Connect the arduino to the computer 2. Open the file lesson_no._9_photoresistor.ino 3. The Arduino IDE will open 4. Click Upload 5. Construct the circuit as shown in the figure. You can check the larger version of the picture which is located in the folder lesson_no._9_photoresistor 26

27 Lesson 9: Discussion of codes int photocellpin = 2; //label pin 2 as photocellpin int val =0; //assign variable val, you will be using it later, and set its initial value to 0 void setup() pinmode(ledpin,output); //set the ledpin to output; Serial.begin(9600); void loop() val = analogread(photocellpin); Serial.println("current light is"); Serial.println(val); /* Serial.print: lets you see what's going on inside the Arduino from your computer. For example, you can see the result of a math operation to determine if you are getting the right number. Or, you can see the state of a digital input pin to see if the Arduino is a sensor or switch properly. There are two forms of the print command. Serial.print() prints on the same line while Serial.println() starts the print on a new line.*/ if (val<350) //512 =2.5V, you can modify this to adjust the sensitivty; digitalwrite(ledpin,high); else digitalwrite(ledpin,low); delay(1000); 27

28 Lesson 10: Buzzer Overview: In this lesson we will be using the component called the buzzer. The circuit may seem so simple because the buzzer has only two terminals. Always make sure that the + terminal of the buzzer is the one connected to the output pin. Materials: Buzzer Breadboard Jumper wires Instructions: 1. Connect the arduino to the computer 2. Open the file lesson_no._10_buzzer.ino 3. The Arduino IDE will open 3. Click Upload 4. Construct the circuit as shown in the figure. You can check the larger version of the picture which is located in the folder lesson_no._10_buzzer 5. This time upload lesson_no._10_buzzer_super_mario.ino your buzzer will play on the tune of super mario 28

29 Lesson 10: Discussion of codes int buzzer=7; void setup() pinmode(buzzer,output); void loop() unsigned char i,j; while(1) for(i=0;i<80;i++) digitalwrite(buzzer,high); delay(1); digitalwrite(buzzer,low); delay(1); for(i=0;i<100;i++) digitalwrite(buzzer,high); delay(2); digitalwrite(buzzer,low); delay(2); 29

30 Lesson 11: 7 Segment Display Overview: In this lesson we will be using the component called the 4-digit 7 segment display as a counter. Materials: 4-digit 7 segment display 8pcs 220ohm resistor Breadboard Jumper wires Instructions: 1. Connect the arduino to the computer 2. Open the file lesson_no._11_7segment.ino 3. The Ardiuno IDE will open 4. Click Upload 5. Construct the circuit as shown in the figure. You can check the larger version of the picture which is located in the folder lesson_no._11_7segment 30

31 Lesson 12: LCD Overview: In this lesson we will be using a component called the LCD. We will learn how to make a text appear on the display. The codes we used in this lesson can also be found in Files->Examples->LiquidCrystal->HelloWorld Materials: LCD Potentiometer Breadboard Jumper wires Instructions: 1. Connect the arduino to the computer 2. Open the file lesson_no._12_lcd_hello_world.ino 3. The Arduino IDE will open 4. Click Upload 5. Construct the circuit as shown in the figure. You can check the larger version of the picture which is located in the folder lesson_no._12_lcd_hello_world 31

32 Lesson 12: Discussion of codes /* LiquidCrystal Library - Hello World Demonstrates the use a 16x2 LCD display. The LiquidCrystal library works with all LCD displays that are compatible with the Hitachi HD44780 driver. There are many of them out there, and you can usually tell them by the 16-pin interface. This sketch prints "Hello World!" to the LCD and shows the time. // Print a message to the LCD. lcd.print("hello, world!"); void loop() // set the cursor to column 0, line 1 // (note: line 1 is the second row, since counting begins with 0): lcd.setcursor(0, 1); // print the number of seconds since reset: lcd.print(millis() / 1000); The circuit: * LCD RS pin to digital pin 12 * LCD Enable pin to digital pin 11 * LCD D4 pin to digital pin 5 * LCD D5 pin to digital pin 4 * LCD D6 pin to digital pin 3 * LCD D7 pin to digital pin 2 * LCD R/W pin to ground * LCD VSS pin to ground * LCD VCC pin to 5V * 10K resistor: * ends to +5V and ground * wiper to LCD VO pin (pin 3) Library originally added 18 Apr 2008 by David A. Mellis library modified 5 Jul 2009 by Limor Fried ( example added 9 Jul 2009 by Tom Igoe modified 22 Nov 2010 by Tom Igoe This example code is in the public domain. */ // include the library code: #include <LiquidCrystal.h> // initialize the library with the numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() // set up the LCD's number of columns and rows: lcd.begin(16, 2); 32

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

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

More information

MAKE & COLLABORATE: SECRET KNOCK LOCK

MAKE & COLLABORATE: SECRET KNOCK LOCK MAKE & COLLABORATE: SECRET KNOCK LOCK A project from Arduino Project Handbook: 25 Practical Projects to Get You Started Project 9: Secret KnocK LocK For centuries clandestine groups have used Secret KnocKS

More information

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

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

More information

Prototyping & Engineering Electronics Kits Basic Kit Guide

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

More information

IME-100 Interdisciplinary Design and Manufacturing

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

More information

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

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

More information

FUNCTIONS USED IN CODING pinmode()

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

More information

Make your own secret locking mechanism to keep unwanted guests out of your space!

Make 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 information

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

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 information

Arduino Part 2. Introductory Medical Device Prototyping

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

More information

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

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

More information

More Arduino Programming

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

More information

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

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

More information

FUNCTIONS For controlling the Arduino board and performing computations.

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

More information

Arduino Programming and Interfacing

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

More information

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

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

More information

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

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

More information

Robotics/Electronics Review for the Final Exam

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

More information

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

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

More information

Arduino: RGB LEDs Diagrams & Code Brown County Library

Arduino: RGB LEDs Diagrams & Code Brown County Library Arduino: RGB LEDs Diagrams & Code Projects 01 & 02: Blinking RGB LED & Smooth Transition Components needed: Arduino Uno board breadboard RGB LED (common cathode) o If you have a common anode RGB LED, look

More information

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

University 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 information

Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas

Adapted 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 information

Digital Pins and Constants

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

More information

Electronic Brick Starter Kit

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

More information

Arduino Prof. Dr. Magdy M. Abdelhameed

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

More information

Building an Breathalyzer with MQ-3 and Arduino (

Building an Breathalyzer with MQ-3 and Arduino ( Page 1 sur 7 (http://www.danielandrade.net/) About(/about/) Photos(/photos/) Archive(/archives/) Contact(/contact/) Building an Breathalyzer with MQ-3 and Arduino (http://www.danielandrade.net/2010/03/07/buildingan-breathalyzer-with-mq-3-and-arduino/)

More information

SWITCH 10 KILOHM RESISTOR 220 OHM RESISTOR POTENTIOMETER LCD SCREEN INGREDIENTS

SWITCH 10 KILOHM RESISTOR 220 OHM RESISTOR POTENTIOMETER LCD SCREEN INGREDIENTS 11 SWITCH 10 KILOHM RESISTOR 220 OHM RESISTOR POTENTIOMETER LCD SCREEN INGREDIENTS 115 CRYSTAL BALL CREATE A CRYSTAL BALL TO TELL YOUR FUTURE Discover: LCD displays, switch/case statements, random() Time:

More information

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

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

More information

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

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

More information

StenBOT Robot Kit. Stensat Group LLC, Copyright 2018

StenBOT 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 information

Introduction to Arduino Diagrams & Code Brown County Library

Introduction 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 information

Introduction to Arduino Diagrams & Code Brown County Library

Introduction 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 information

TABLE OF CONTENTS INTRODUCTION LESSONS PROJECTS

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

More information

Arduino Uno Microcontroller Overview

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

More information

This is the Arduino Uno: This is the Arduino motor shield: Digital pins (0-13) Ground Rail

This 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 information

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

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 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 information

Introduction to Microcontrollers Using Arduino. PhilRobotics

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

More information

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

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

More information

Arduino Programming. Arduino UNO & Innoesys Educational Shield

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

More information

keyestudio Keyestudio MEGA 2560 R3 Board

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

More information

Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur

Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture - 23 Introduction to Arduino- II Hi. Now, we will continue

More information

ARDUINO. By Kiran Tiwari BCT 2072 CoTS.

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

More information

Counter & LED (LED Blink)

Counter & LED (LED Blink) 1 T.R.E. Meeting #1 Counter & LED (LED Blink) September 17, 2017 Contact Info for Today s Lesson: President Ryan Muller mullerr@vt.edu 610-573-1890 Learning Objectives: Learn how to use the basics of Arduino

More information

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

MAE106 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 information

BASIC ARDUINO WORKSHOP. Mr. Aldwin and Mr. Bernardo

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

More information

SPDM Level 2 Smart Electronics Unit, Level 2

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

More information

keyestudio keyestudio advanced study kit for Arduino

keyestudio keyestudio advanced study kit for Arduino keyestudio advanced study kit for Arduino Catalog Kit introduction... 1 Introduction of Keyestudio UNO R3 board...1 Introduction of Keyestudio Mega 2560 R3 board... 6 Components List... 9 Project list...14

More information

Physical Programming with Arduino

Physical Programming with Arduino CTA - 2014 Physical Programming with Arduino Some sample projects Arduino Uno - Arduino Leonardo look-alike The Board Arduino Uno and its cheap cousin from Borderless Electronics Mini - Breadboard typical

More information

Blinking an LED 1 PARTS: Circuit 2 LED. Wire. 330Ω Resistor

Blinking 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 information

3.The circuit board is composed of 4 sets which are 16x2 LCD Shield, 3 pieces of Switch, 2

3.The circuit board is composed of 4 sets which are 16x2 LCD Shield, 3 pieces of Switch, 2 Part Number : Product Name : FK-FA1416 MULTI-FUNCTION 16x2 LCD SHIELD This is the experimental board of Multi-Function 16x2 LCD Shield as the fundamental programming about the digits, alphabets and symbols.

More information

Arduino: LCD Diagrams & Code Brown County Library

Arduino: LCD Diagrams & Code Brown County Library Arduino: LCD Diagrams & Code Project 01: Hello, World! Components needed: Arduino Uno board breadboard 16 jumper wires 16x2 LCD screen 10k potentiometer /* LCD 01 : Hello World! Source: Code adapted from

More information

micro:bit Lesson 2. Controlling LEDs on Breadboard

micro:bit Lesson 2. Controlling LEDs on Breadboard micro:bit Lesson 2. Controlling LEDs on Breadboard Created by Simon Monk Last updated on 2018-03-09 02:39:14 PM UTC Guide Contents Guide Contents Overview Parts BBC micro:bit Half-size breadboard Small

More information

Lesson 8: Digital Input, If Else

Lesson 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 information

keyestudio ARDUINO super learning kit

keyestudio ARDUINO super learning kit ARDUINO super learning kit 1 Catalog 1. Introduction... 3 2. Component list... 3 3. Project list...10 4. Project details... 11 Project 1: Hello World...11 Project 2: LED blinking... 14 Project 3: PWM...16

More information

Digital I/O Operations

Digital I/O Operations Digital I/O Operations CSE0420 Embedded Systems By Z. Cihan TAYŞİ Outline Digital I/O Ports, Pins Direction Pull-up & pull-down Arduino programming Digital I/O examples on Arduino 1 Digital I/O Unlike

More information

CTEC 1802 Embedded Programming Labs

CTEC 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 information

Layad Circuits Arduino Basic Kit B. Content Summary

Layad Circuits Arduino Basic Kit B. Content Summary Layad Circuits This kit is a careful selection of sensors, displays, modules, an Arduino Uno, connectors and other essential parts meant to facilitate learning of the hardware and software components of

More information

TANGIBLE MEDIA & PHYSICAL COMPUTING INTRODUCTION TO ARDUINO

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

More information

EEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EEG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 1: INTRODUCTION TO ARDUINO IDE AND PROGRAMMING DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS 1. FYS KIT COMPONENTS

More information

Arduino Programming Part 6: LCD Panel Output

Arduino Programming Part 6: LCD Panel Output Arduino Programming Part 6: LCD Panel Output EAS 199B, Winter 2013 Gerald Recktenwald Portland State University gerry@me.pdx.edu Goals Use the 20x4 character LCD display for output Overview of assembly

More information

Arduino 07 ARDUINO WORKSHOP 2007

Arduino 07 ARDUINO WORKSHOP 2007 ARDUINO WORKSHOP 2007 PRESENTATION WHO ARE WE? Markus Appelbäck Interaction Design program at Malmö University Mobile networks and services Mecatronics lab at K3, Malmö University Developer, Arduino community

More information

Workshop Arduino English starters workshop 2

Workshop Arduino English starters workshop 2 Workshop Arduino English starters workshop 2 We advice to finish part 1 of this workshop before following this one. There are a set of assignments in this workshop that can be taken individually. First

More information

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

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

More information

Thursday, September 15, electronic components

Thursday, September 15, electronic components electronic components a desktop computer relatively complex inside: screen (CRT) disk drive backup battery power supply connectors for: keyboard printer n more! Thursday, September 15, 2011 integrated

More information

SPLDuino Programming Guide

SPLDuino Programming Guide SPLDuino Programming Guide V01 http://www.helloapps.com http://helloapps.azurewebsites.net Mail: splduino@gmail.com HelloApps Co., Ltd. 1. Programming with SPLDuino 1.1 Programming with Arduino Sketch

More information

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

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

More information

Introduction to Arduino

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

More information

Arduino - DigitalReadSerial

Arduino - 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 information

Arduino: Serial Monitor Diagrams & Code Brown County Library

Arduino: Serial Monitor Diagrams & Code Brown County Library Arduino: Serial Monitor Diagrams & Code All projects require the use of the serial monitor in your Arduino IDE program (or whatever you are using to transfer code to the Arduino). Project 01: Monitor how

More information

Basic Electronic Toolkit for under $40

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

More information

Designed & Developed By: Ms. Jasleen Kaur, PhD Scholar, CSE. Computer Science & Engineering Department

Designed & Developed By: Ms. Jasleen Kaur, PhD Scholar, CSE. Computer Science & Engineering Department Design & Development of IOT application using Intel based Galileo Gen2 board A Practical Approach (Experimental Manual For B.Tech & M.Tech Students) For SoC and Embedded systems in association with Intel

More information

Analog 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. 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 information

Introduction To Arduino

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

More information

Arduino: What is it? What can it do?

Arduino: What is it? What can it do? Arduino: What can it do? tswsl1989@sucs.org May 20, 2013 What is an Arduino? According to Arduino: Arduino is a tool for making computers that can sense and control more of the physical world than your

More information

Arduino Starter Kit. Arduino IDE Programming Tutorials

Arduino Starter Kit. Arduino IDE Programming Tutorials 2019 Arduino Starter Kit Arduino IDE Programming Tutorials 0 C programming 1. Hello world 2 2. LED Twinkle 7 3. Analog value 10 4. Advertising lights 14 5. Traffic lights 18 6. Key control 22 7. Answering

More information

USER MANUAL ARDUINO I/O EXPANSION SHIELD

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

More information

GOOD MORNING SUNSHINE

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

More information

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

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

More information

Arduino Lesson 15. DC Motor Reversing

Arduino 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

Lab 2.2 Ohm s Law and Introduction to Arduinos

Lab 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 information

BASIC Arduino. Part I

BASIC Arduino. Part I BASIC Arduino Part I Objectives Introduction to Arduino Build a 1-60MHz DDS VFO prototype, breadboard and write Sketches, with Buffer amps to be designed, and PCB Using your own laptop Go on to build other

More information

ArdOS The Arduino Operating System Quick Start Guide and Examples

ArdOS 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 information

How to Use an Arduino

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

More information

Lesson 0 Installing IDE

Lesson 0 Installing IDE Contents Preface... 2 Components List... 4 Lesson 0 Installing IDE... 23 Lesson 1 Blink... 23 Lesson 2 Button... 30 Lesson 3 Flowing LED Lights... 34 Lesson 4 Active Buzzer... 37 Lesson 5 Passive Buzzer...

More information

This tutorial will show you how to take temperature readings using the Freetronics temperature sensor and an Arduino Uno.

This tutorial will show you how to take temperature readings using the Freetronics temperature sensor and an Arduino Uno. This tutorial will show you how to take temperature readings using the Freetronics temperature sensor and an Arduino Uno. Note that there are two different module types: the temperature sensor module and

More information

CARTOOINO Projects Book

CARTOOINO 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 information

Sten-SLATE ESP Kit. Description and Programming

Sten-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 information

Liquid Crystal Displays

Liquid Crystal Displays Liquid Crystal Displays Let s investigate another popular method of displaying text and symbols, the LCD (Liquid Crystal Display). LCDs are the displays typically used in calculators and alarm clocks.

More information

Arduino. part A. slides rel. 4.3 free documentation. Renato Conte Arduino - 1 /82 -

Arduino. 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 information

Specification. 1.Power Supply direct from Microcontroller Board. 2.The circuit can be used with Microcontroller Board such as Arduino UNO R3.

Specification. 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 information

Objectives: 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 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 information

Components List No Product Name Quantity Picture 1 Uno 1 R3 Controller Board 2 USB Cable 1 3 LCD1602 Module 1 4 Breadboard 1 5 9V 1A Power Supply 1 4

Components List No Product Name Quantity Picture 1 Uno 1 R3 Controller Board 2 USB Cable 1 3 LCD1602 Module 1 4 Breadboard 1 5 9V 1A Power Supply 1 4 Contents Preface... 2 Components List... 4 Lesson 0 Installing IDE... 23 Lesson 1 Blink... 23 Lesson 2 Button... 30 Lesson 3 Flowing LED Lights... 34 Lesson 4 Active Buzzer... 37 Lesson 5 Passive Buzzer...

More information

Arduino and Matlab for prototyping and manufacturing

Arduino 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 information

Lab 3 XBees and LCDs and Accelerometers, Oh My! Part 1: Wireless Communication Using XBee Modules and the Arduino

Lab 3 XBees and LCDs and Accelerometers, Oh My! Part 1: Wireless Communication Using XBee Modules and the Arduino University of Pennsylvania Department of Electrical and Systems Engineering ESE 205 Electrical Circuits and Systems Laboratory I Lab 3 XBees and LCDs and Accelerometers, Oh My! Introduction: In the first

More information

cs281: Introduction to Computer Systems Lab03 K-Map Simplification for an LED-based Circuit Decimal Input LED Result LED3 LED2 LED1 LED3 LED2 1, 2

cs281: 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 information

Introduction to Microprocessors: Arduino

Introduction to Microprocessors: Arduino Introduction to Microprocessors: Arduino tswsl1989@sucs.org October 7, 2013 What is an Arduino? Open Source Reference designs for hardware Firmware tools + GUI Mostly based around 8-bit Atmel AVR chips

More information

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

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

More information

Laboratory 3 Working with the LCD shield and the interrupt system

Laboratory 3 Working with the LCD shield and the interrupt system Laboratory 3 Working with the LCD shield and the interrupt system 1. Working with the LCD shield The shields are PCBs (Printed Circuit Boards) that can be placed over the Arduino boards, extending their

More information

Required Materials. Optional Materials. Preparation

Required Materials. Optional Materials. Preparation Module 1: Crash Prevention Lesson 3: Weather Information systems Programming Activity Using Arduino Teacher Resource Grade 9-12 Time Required: 3 60 minute sessions or 3 hours Required Materials Computers

More information