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

Size: px
Start display at page:

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

Transcription

1 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 and create an interactive sculpture. This is the Arduino Uno: USB Port Power Socket Motor Shield Arduino This is the Arduino motor shield: Digital pins (0-13) Bread Board 5V Rail Arduino Proto Shield Ground Rail Analog pins (0 5) Digital pins (14 19) The Proto shield is a bare white board that gives us access to a bread board. It also has a 5V and GND rail. We can use these to easily wire up sensors without soldering. 1

2 Reacting to Sensors / Arduino IDE This is the Arduino Software, called the IDE (Integrated development environment) Verify: Check code for errors New: Open new file Save: Save current file Upload: Put code on to your Arduino Open: Open a saved file Serial Monitor: Read and write data to and from your Arduino Editor: Where you can type your code Console: Notifies you of any errors when compiling or uploading The line inside the editor that your cursor is on Type of Arduino and on what serial port it is connected to With this computer program you will be able to write code and upload it to the Arduino Uno. By following these steps you will have your Arduino driven sculpture set up in no time. All the while we encourage you to explore and play with the provided code 2

3 Reacting to Sensors / Starting your program Open the Arduino IDE that was illustrated earlier. An icon like the one on the right here should be on your desktop. If not, navigate to where programs are generally installed or ask your instructor for assistance. Once open navigate to File and Save As, giving your program a unique name. It can be ReactingToSensors, KnightRider or whatever you like. Before we continue navigate to Sketch and then Include Library. At the very bottom of the next drop down list you should find a library named Artbotics. If not please ask you instructor for assistance. The top left of the IDE, just above the Editor; you should see a tab with the name of your file. Underneath that at the top of the Editor you should see. This line imports the Artbotics library of commands to be used in your program. It gives you access to objects with prewritten code that will make driving the car easier. Make sure to go back and do the previous step if you don t see this or else you will run into trouble later on. 3

4 Reacting to Sensors / Button 1 Follow these steps to wire your button/ switch to your Arduuino Step 1 Step 2 Step 3 Step 1: Take the yellow wire and plug it into the same column on the breadboard as your switch and the other end into digital pin 7 Step 2: Take the red wire from the button and plug it into 5v Take the black wire from the button and plug it into the breadboard Step 3: Take the resistor and plug it into the same column on the breadboard as your switch and plug the other end into GND The line Button button(7) is an object that lets you use a button or switch. The number that is being passed (7) refers to the pin on the Arduino where the button will be plugged into. A Motor object was also added to control the motor on terminal A. Button button(7); void setup() void loop() 4

5 Reacting to Sensors / Button 2 Button button(7); Now update your void loop() function to match the code on the right. If statement If block void setup() void loop() if(button.getbuttonstate()) Inside the void loop() function is if(button.getbuttonstate()), this is referred to as an if statement. It creates conditions that determine when certain pieces of code will execute. If statements generally take on this form: if(boolean statement)code to execute if true Boolean statements are logic statements that can only be, true(high) or false(low). For example, if(3 > 2)True code to execute, 3 is obviously greater then 2, making this statement true, so the code within the curly braces will be executed. Any code following the if block will always be executed but code inside the if block (shown above within the curly braces ) will only execute when the if statement is true. The condition that is being used for the if statement is button.getbuttonstate(). It will return true if the button is being pressed, or false if the button is not being pressed. In the following code example, the code in the if block will be executed when the if statement reads that the button is being pressed. If the button is not being pressed the if statement will skip the code inside the if block. 5

6 Reacting to Sensors / Button 3 Update your code to match what is shown on the right. Button button(7); void setup() When the button is pressed a sequence of instructions can be written to rotate a motor with various duration, power, and direction settings. void loop() if(button.getbuttonstate()) motora.rotate(2, 2, HIGH); motora.rotate(2, 2, LOW); Duration Power Direction Now that you have your button wired and your code set up press the verify button to compile your code. Plug the USB cable into the Arduino, then press the upload button. When the IDE is finished uploading the program, unplug the USB cable from the Arduino and continue. While the program is running the motor should rotate twice when you press the button. 4 Follow these steps to wire your range sensor to the Arduino Plug the red wire from the range sensor into 5V, black into GND, and yellow into analog pin 2 (A2) 6

7 Reacting to Sensors / Range Sensor 5 To use a sensor (rather than a button) a value must be reached to trigger it. For example, a range sensor might give a value of around 400 when an obstacle is a foot away from its emitter. So in that case you would use 400 as the trigger value. To check the trigger value of your sensor go back to the IDE and create a new program. Go to File and New, then File and Save As, naming the file whatever you like. Make sure to include the Artbotics library under Sketch and Include Library. Update your code to match what is shown on the right. Sensor is another object in the Arbotics library, and it only requires one Argument, the analog pin 2 (A2). Analog pins are different from digital pins since they can take a range of values as opposed to digital which will only take LOW or HIGH. Sensor rangesense(a2); void setup() void loop() Update your code to match what is shown on the right. In the void setup() function, Serial is an object which will allow you to communicate with the Arduino. Serial.begin() is a function that sets up the Arduino to transmit data over the USB port is the transfer rate for sending data. Sensor rangesense(a2); void setup() Serial.begin(9600); void loop() Update your void loop() function to match what s shown on the right. print is a common function used to print data out to a console. Serial can print anything to the console for example Serial.print( Hello World ); would print hello world each time the instruction was called. Instead print will print out the value from rangesense.getreading(); which is a function that will return an integer between 0 and 1023 based on the distance of an object in front of the sensor. Sensor rangesense(a2); void setup() Serial.begin(9600); void loop() Serial.print(rangeSense.getReading()); Serial.print("\n"); delay(500); delay() is just being used to keep the function call Serial.print from flooding the Serial console since it will be running in a loop very quickly otherwise. Note: Serial.print("\n"); is printing "\n", this is an Escape Character used to tell the console to start printing on the next line ( \n = new line, \t = tab, ) 7

8 Reacting to Sensors / Range Sensor 6 Press the verify button to compile your code. Plug the USB cable into the Arduino, then press the upload button. When the IDE is finished uploading the program leave the USB cable plugged into the Arduino and continue. With your code uploaded and the USB cable still plugged into the Arduino hit the Serial Monitor button. This will open a console that will start listing numbers every half second. The numbers correspond to the values of the range sensor. Note: Choose the 9600 baud, as that is what reflects in our code Place your hand in front of the sensor until it is about 1 foot away. Write down a rough estimate of the value that you see. It should be approximately 300. This number may vary depending on battery life. The number should increase as you move your hand closer, and decrease as you move your hand further away. Update your void loop() and void setup() functions to match what is shown on the right. In the if statement the boolean statement is rangesense.getreading() >= 300. Whenever the sensor reads a value greater than or equal to 300 it will return true and turn the motor on for 2 seconds at a time. If it continues to read a value of 300 or higher than the motor should continuously spin. #include<artbotics.h> Sensor rangesense(a2); void setup() voidloop() if(rangesense.getreading() >= 300) motora.rotate(2, 3, HIGH); Press the verify button to compile your code. Plug the USB cable into the Arduino, then press the upload button. When the IDE is finished uploading the program, unplug the USB cable from the Arduino and continue. Switch the power pack on the Arduino on and pass your hand over the sensor. The motor should turn on for at least 2 seconds after waving your hand over the sensor. 8

9 Driving and Drawing / Light Sensor 7 Follow these steps to wire your light sensor to the Arduino note: image not to scale Step 2: Take the red wire from the light sensor and plug it into 5v Take the black wire from the light sensor and plug it into the breadboard. Step 2 Step 3 Step 1: Connect black and red alligator clips to the light sensor s terminals. Step 3: Take the resistor and plug it into the same column on the breadboard as your light sensor and plug the other end into GND Step 4 Step 4: Take the yellow wire and plug it into the same column on the breadboard as your light sensor and the other end into Analog pin 2 Open a new file by going to File and New, then go to File again and Save As, typing whatever you like for the name. Update your code to resemble what is shown on the right. Sensor lightsensor(a2); is the object that will read values from the light sensor that you hooked up to analog pin 2 (A2). In the function void loop(), the print call on the Serial object will be used to read the values from the light sensor to find it s trigger value. #include<artbotics.h> Sensor lightsensor(a2); void setup() Serial.begin(9600); void loop() Serial.print(lightSensor.getReading()); Serial.print("\n"); delay(500); Press the verify button to compile your code. Plug the USB cable into the Arduino, then press the upload button. When the IDE is finished uploading the program unplug the USB cable from the Arduino and continue. 9

10 Driving and Drawing / Light Sensor 8 With the USB cable still plugged into the Arduino hit the Serial Monitor button. This will open a console that will start listing numbers every half second. The numbers correspond to the values of the light sensor. Note: Choose the 9600 baud, as that is what reflects in our code Now cover the sensor with your hand such that very little light is on it. Take a note of the approximate value you are reading and continue. The value should increase as it gets lighter and decrease as it gets darker. Update your void loop() and void setup() functions to match what is shown on the right. Replace 100 with the value you obtained on the previous step. Sensor lightsensor(a2); void setup() void loop() if(lightsensor.getreading() <= 100) motora.rotate(2, 150, HIGH); Press the verify button to compile your code. Plug the USB cable into the Arduino, then press the upload button Shown above. When the the Artbotics IDE is finished library uploading was not added the Missing program, to our #include code. unplug You <Artbotics.h> the will USB get cable an error from inside the Arduino the and continue. console that says car was not declared in this scope inside the void loop() function. Add to the top of your code. Remember, Car is an object or Switch prewritten the power code. In pack order of the to access Arduino that on code and cover we need the to light include sensor it. with using your #include hand. The motor should turn <libraryname.h> on and stay on for at least 2 seconds after removing your hand from over the sensor. 10

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

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

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

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

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

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

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

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

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

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

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

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

Halloween Pumpkinusing. Wednesday, October 17, 12

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

Connecting Arduino to Processing

Connecting Arduino to Processing Connecting Arduino to Processing Introduction to Processing So, you ve blinked some LEDs with Arduino, and maybe you ve even drawn some pretty pictures with Processing - what s next? At this point you

More information

Lecture 7. Processing Development Environment (or PDE)

Lecture 7. Processing Development Environment (or PDE) Lecture 7 Processing Development Environment (or PDE) Processing Class Overview What is Processing? Installation and Intro. Serial Comm. from Arduino to Processing Drawing a dot & controlling position

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

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

Arduino IDE Friday, 26 October 2018

Arduino IDE Friday, 26 October 2018 Arduino IDE Friday, 26 October 2018 12:38 PM Looking Under The Hood Of The Arduino IDE FIND THE ARDUINO IDE DOWNLOAD First, jump on the internet with your favorite browser, and navigate to www.arduino.cc.

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

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org This procedure was written for the Arduino Uno board with the TC4 shield. Please check the Arduino site for software if you are using a different model. I have not tested it, but this procedure should

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

4Serial SIK BINDER //77

4Serial SIK BINDER //77 4Serial SIK BINDER //77 SIK BINDER //78 Serial Communication Serial is used to communicate between your computer and the RedBoard as well as between RedBoard boards and other devices. Serial uses a serial

More information

keyestudio Keyestudio MEGA 2560 R3 Board

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

More information

Arduino 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

Adafruit DS3231 Precision RTC Breakout

Adafruit DS3231 Precision RTC Breakout Adafruit DS3231 Precision RTC Breakout Created by lady ada Last updated on 2016-02-05 04:43:25 PM EST Guide Contents Guide Contents Overview Pinouts Power Pins: I2C Logic pins: Other Pins: Assembly Prepare

More information

Create your own wireless motion sensor with

Create your own wireless motion sensor with Create your own wireless motion sensor with Arduino If you have a friend that has an alarm system in his or her home, I am sure you ve all seen these white motion sensors that are usually fixed above doors

More information

Introduction to Programming. Writing an Arduino Program

Introduction to Programming. Writing an Arduino Program Introduction to Programming Writing an Arduino Program What is an Arduino? It s an open-source electronics prototyping platform. Say, what!? Let s Define It Word By Word Open-source: Resources that can

More information

Robot Eyes. DAY 3 Let's Make a Robot

Robot Eyes. DAY 3 Let's Make a Robot DAY 3 Let's Make a Robot Objective: Students will learn to use an SR04 Sonar component to measure distance. The Students will then build their robot, establish programming to control the motors and then

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

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

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

Introduction to Arduino (programming, wiring, and more!)

Introduction to Arduino (programming, wiring, and more!) Introduction to Arduino (programming, wiring, and more!) James Flaten, MN Space Grant Consortium with Ben Geadelmann, Austin Langford, et al. University of MN Twin Cities Aerospace Engineering and Mechanics

More information

The Big Idea: Background: About Serial

The Big Idea: Background: About Serial Lesson 6 Lesson 6: Serial Serial Input Input The Big Idea: Information coming into an Arduino sketch is called input. This lesson focuses on text in the form of characters that come from the user via the

More information

Lab 4 - Asynchronous Serial Communications

Lab 4 - Asynchronous Serial Communications Lab 4 - Asynchronous Serial Communications Part 1 - Software Loopback In serial communications one of the important tools we have that allows us to verify the communications channel is working properly

More information

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT I Contents Overview TA0139... 1 Getting started: Arduino 2 Wheel Drive Wireless Bluetooth Robot Kit using Arduino UNO... 1 2.1. What

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

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

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

TA0013 ARDUINO RFID UNO STARTER KIT

TA0013 ARDUINO RFID UNO STARTER KIT TA0013 ARDUINO RFID UNO STARTER KIT Overview TA0013 This Arduino Uno ultimate project kit includes comprehensive range of components to get you started in building and experimenting with Arduino projects.

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

Building your own special-purpose embedded system gadget.

Building your own special-purpose embedded system gadget. Bare-duino Building your own special-purpose embedded system gadget. Saves a little money. You can configure the hardware exactly the way that you want. Plus, it s fun! bare-duino 1 Arduino Uno reset I/O

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

Robotics Adventure Book Scouter manual STEM 1

Robotics Adventure Book Scouter manual STEM 1 Robotics Robotics Adventure Book Scouter Manual Robotics Adventure Book Scouter manual STEM 1 A word with our Scouters: This activity is designed around a space exploration theme. Your Scouts will learn

More information

Create moving images in forward and reverse with your Arduino when you connect a motor to an H-bridge and some still images BATTERY POTENTIOMETER

Create moving images in forward and reverse with your Arduino when you connect a motor to an H-bridge and some still images BATTERY POTENTIOMETER ZOETROPE Create moving images in forward and reverse with your Arduino when you connect a motor to an H-bridge and some still images Discover : H-bridges Time : 30 minutes Level : Builds on projects :

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

Touch Board User Guide. Introduction

Touch Board User Guide. Introduction Touch Board User Guide Introduction The Crazy Circuits Touch Board is a fun way to create interactive projects. The Touch Board has 11 built in Touch Points for use with projects and also features built

More information

Lab 4: Interrupts and Realtime

Lab 4: Interrupts and Realtime Lab 4: Interrupts and Realtime Overview At this point, we have learned the basics of how to write kernel driver module, and we wrote a driver kernel module for the LCD+shift register. Writing kernel driver

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

Monitor your home remotely using the Arduino

Monitor your home remotely using the Arduino Monitor your home remotely using the Arduino WiFi Shield How to monitor some data in your home using precisely this Arduino WiFi shield. Along with the Arduino Uno board, the final system will form an

More information

Connecting Arduino to Processing a

Connecting Arduino to Processing a Connecting Arduino to Processing a learn.sparkfun.com tutorial Available online at: http://sfe.io/t69 Contents Introduction From Arduino......to Processing From Processing......to Arduino Shaking Hands

More information

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

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

More information

USB Type A Female Breakout Hookup Guide

USB Type A Female Breakout Hookup Guide Page 1 of 7 USB Type A Female Breakout Hookup Guide Introduction If you have a microcontroller that can act as a USB host, then you will need a way to plug in USB cables and devices. The USB Type A Female

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

Development Routines of TF LiDAR on Arduino

Development Routines of TF LiDAR on Arduino Development Routines of TF LiDAR on Arduino This routine is aimed to help our customers quickly master the LiDAR products of our company and to shorten the development cycle. As for Arduino board, UNO

More information

1/Build a Mintronics: MintDuino

1/Build a Mintronics: MintDuino 1/Build a Mintronics: The is perfect for anyone interested in learning (or teaching) the fundamentals of how micro controllers work. It will have you building your own micro controller from scratch on

More information

How to use the Zduino LEE Module with the Trainer Board

How to use the Zduino LEE Module with the Trainer Board How to use the Zduino LEE Module with the Trainer Board Note: If you are going to use the Arduino/Zduino module for this distance training workshop, please download the Arduino software: 1. Connections

More information

Physics 120/220. Microcontrollers Extras. Prof. Anyes Taffard

Physics 120/220. Microcontrollers Extras. Prof. Anyes Taffard Physics 120/220 Microcontrollers Extras Prof. Anyes Taffard Introduction 2 There are an infinite amount of applications for the Arduino. Lots of interfaces that can be controlled with it. Extension boards

More information

Arduino 05: Digital I/O. Jeffrey A. Meunier University of Connecticut

Arduino 05: Digital I/O. Jeffrey A. Meunier University of Connecticut Arduino 05: Digital I/O 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 one side

More information

Lab 0: Wire Wrapping Project: Counter Board

Lab 0: Wire Wrapping Project: Counter Board Lab 0: Wire Wrapping Project: Counter Board September 3, 2008 In this experiment, you will build a simple counter circuit that can be plugged into your breadboard. It will provide a set of TTL output signals

More information

Light Dependent Resistor Circuit by VK4ION

Light Dependent Resistor Circuit by VK4ION 1 Light Dependent Resistor Circuit by VK4ION Building a Simple Light Dependent circuit using 7 components This circuit detects darkness and allows the LED to turn on See Image 1 and note hand written amendments

More information

Index. Jeff Cicolani 2018 J. Cicolani, Beginning Robotics with Raspberry Pi and Arduino,

Index. Jeff Cicolani 2018 J. Cicolani, Beginning Robotics with Raspberry Pi and Arduino, A Accessor methods, 92 Adafruit, 9 Adafruit DC & Stepper Motor HAT assembling board adjustment, 199 circuit board, 199 kit, 197 pins, 197 preparation, 197 Raspberry Pi, 198, 204 removal, 201 rotation,

More information

Experiment 4.A. Speed and Position Control. ECEN 2270 Electronics Design Laboratory 1

Experiment 4.A. Speed and Position Control. ECEN 2270 Electronics Design Laboratory 1 .A Speed and Position Control Electronics Design Laboratory 1 Procedures 4.A.0 4.A.1 4.A.2 4.A.3 4.A.4 Turn in your Pre-Lab before doing anything else Speed controller for second wheel Test Arduino Connect

More information

Necessary software and hardware:

Necessary software and hardware: Necessary software and hardware: Bases: First, remember that I m a French guy so my English is not perfect ;) If you see any mistakes, don t hesitate to tell me so I can correct them (my email is at the

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

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

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

Goal: We want to build an autonomous vehicle (robot)

Goal: We want to build an autonomous vehicle (robot) Goal: We want to build an autonomous vehicle (robot) This means it will have to think for itself, its going to need a brain Our robot s brain will be a tiny computer called a microcontroller Specifically

More information

Bill of Materials: Turn Off the Lights Reminder PART NO

Bill of Materials: Turn Off the Lights Reminder PART NO Turn Off the Lights Reminder PART NO. 2209650 Have you ever woke up early in the morning to find out that the kids (or adults) in your home forgot to turn off the lights? I've had that happen a number

More information

Arduino Package Tracker

Arduino Package Tracker Arduino Package Tracker Created by Vaughn Shinall Last updated on 2016-02-24 04:25:10 PM EST Guide Contents Guide Contents Overview Parts Credentials Generate Your Sketch Parse Your Output Add an Alert

More information

Ardusat Space Kits in the Classroom

Ardusat Space Kits in the Classroom Ardusat Space Kits in the Classroom Resources Why Arduino platform? Real-world STEM application Space Kit contents Let s get started!! Activity1BasicBlink & Activity2MorseCode Activity3LuminTSL2561 Activity4A_TMP102

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

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

Random Spooky LED Eyes

Random Spooky LED Eyes Random Spooky LED Eyes Created by Bill Earl Last updated on 2016-08-27 12:48:22 PM UTC Guide Contents Guide Contents Overview and Materials Overview: Materials: Assembly Connect the Pixels: Load and Test:

More information

The ICU-Duino Arduino Shield!

The ICU-Duino Arduino Shield! The ICU-Duino Arduino Shield! Brought to you by: ENGINEERINGSHOCK ELECTRONICS FEATURES: On Board PIR (Passive Infra-red) Motion Sensor Red Indicator LED Infra-red (IR) Sensor Large Prototyping Area with

More information

Rotary Encoder Basics

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

IR Breakbeam Sensors. Created by lady ada. Last updated on :32:59 PM UTC

IR Breakbeam Sensors. Created by lady ada. Last updated on :32:59 PM UTC IR Breakbeam Sensors Created by lady ada Last updated on 2017-12-08 10:32:59 PM UTC Guide Contents Guide Contents Overview Arduino CircuitPython 2 3 5 8 Adafruit Industries https://learn.adafruit.com/ir-breakbeam-sensors

More information

Rover 5. Explorer kit

Rover 5. Explorer kit Rover 5 Explorer kit The explorer kit provides the perfect interface between your Rover 5 chassis and your micro-controller with all the hardware you need so you can start programming right away. PCB Features:

More information

Strain gauge Measuring Amplifier GSV-1A8. Instruction manual GSV-1A8, GSV-1A8USB, GSV-1A16USB

Strain gauge Measuring Amplifier GSV-1A8. Instruction manual GSV-1A8, GSV-1A8USB, GSV-1A16USB Strain gauge Measuring Amplifier GSV-1A8 Instruction manual GSV-1A8, GSV-1A8USB, GSV-1A16USB GSV-1A8USB SubD1 (front side) GSV-1A8USB M12 (front side) GSV-1A16USB (rear side) GSV-1A8USB K6D (front side)

More information

Arduino Micro Breadboard Laboratory Interface Processor (Micro BLIP) User Manual

Arduino Micro Breadboard Laboratory Interface Processor (Micro BLIP) User Manual Arduino Micro Breadboard Laboratory Interface Processor (Micro BLIP) MicroBLIP circuit board v2.0 Operating System v2.0.0 1/22/2019 User Manual 2 1 Setup and Operation 1.1 Introduction For the past ten

More information

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview Freeduino USB 1.0 Arduino Compatible Development Board Starter Guide 1. Overview 1 Arduino is an open source embedded development platform consisting of a simple development board based on Atmel s AVR

More information

AndyMark Arduino Tutorial

AndyMark Arduino Tutorial AndyMark Arduino Tutorial Tank Drive June 2014 Required: Required Software List: - Kit Arduino IDE - Robot Power Cable Kit (am-0975) RobotOpen Arduino Shield Software - Battery Base Package (am-0477) RobotOpen

More information

A Hacker s Introduction to the Nokia N900

A Hacker s Introduction to the Nokia N900 A Hacker s Introduction to the Nokia N900 Introduction Welcome to the Hacker s Introduction to the Nokia N900. This guide is intended to help you begin connecting the N900 s builtin capabilities to information

More information

Hardware Overview and Features

Hardware Overview and Features Hardware Overview and Features Don t snap apart your LilyPad ProtoSnap Plus until you're ready to use the pieces in a project. If you leave the pieces attached to the board, you'll be able to prototype

More information

HUB-ee BMD-S Arduino Proto Shield V1.1

HUB-ee BMD-S Arduino Proto Shield V1.1 HUB-ee BMD-S Arduino Proto Shield V1.1 User guide and assembly instructions Document Version 0.5 Introduction & Board Guide 2 Schematic 3 Quick User Guide 4 Assembly Guide 6 Kit Contents 7 1) Diodes and

More information

ZX Distance and Gesture Sensor SMD Hookup Guide

ZX Distance and Gesture Sensor SMD Hookup Guide Page 1 of 16 ZX Distance and Gesture Sensor SMD Hookup Guide Introduction The ZX Distance and Gesture Sensor is a collaboration product with XYZ Interactive. The innovative people at XYZ Interactive have

More information

LilyPad ProtoSnap Plus Hookup Guide

LilyPad ProtoSnap Plus Hookup Guide Page 1 of 16 LilyPad ProtoSnap Plus Hookup Guide Introduction The LilyPad ProtoSnap Plus is a sewable electronics prototyping board that you can use to learn circuits and programming, then break apart

More information

inches Hardware Guide For Intel Galileo

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

RS422/RS485 Shield. Application Note: Multiple RS485 busses. 1 Introduction

RS422/RS485 Shield. Application Note: Multiple RS485 busses. 1 Introduction 1 Introduction This application note will show you how to connect up to 3 independent RS485 busses to one Arduino. This can be useful if you want to create a gateway between these busses or if you want

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

For reference purposes, you can still find all documents (past and current):

For reference purposes, you can still find all documents (past and current): Introduction The MyDoorOpener project has attracted a surprisingly high number of enthusiasts over the years. This is our third simplified assembly process document, which is always getting simpler and

More information

ECE 2036 Lab 4 Setup and Test mbed I/O Hardware Check-Off Deadline: Thursday, March 17, Name:

ECE 2036 Lab 4 Setup and Test mbed I/O Hardware Check-Off Deadline: Thursday, March 17, Name: ECE 2036 Lab 4 Setup and Test mbed I/O Hardware Check-Off Deadline: Thursday, March 17, 2016 Name: Item Part 1. (40%) Color LCD Hello World Part 2. (10%) Timer display on Color LCD Part 3. (25%) Temperature

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

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

THE COMPLETE ALL IN ONE ROBOT 360 NANO BOT

THE COMPLETE ALL IN ONE ROBOT 360 NANO BOT THE COMPLETE ALL IN ONE ROBOT 360 NANO BOT LINE FOLLOWER FIVE LINE SENSORS FOR SCANNING WHITE OR BLACK LINE OBSTACLE AVOIDER TWO OBSTACLE SENSORS CAN DETECT OBSTACLES AND MEASURE DISTANCE BLUETOOTH CONTROL

More information

Lab 4: Determining temperature from a temperature sensor

Lab 4: Determining temperature from a temperature sensor Start on a fresh page and write your name and your partners names on the top right corner of the page. Write the title of the lab clearly. You may copy the objectives, introduction, equipment, safety and

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