Teacher’s Note (do not include in student packet/slide show)

Slides:



Advertisements
Similar presentations
Getting Started: Arxterra Control Panel & Android Applications
Advertisements

Lab7: Introduction to Arduino
Getting your Arduino to Work: Microsoft Windows 1.Install Arduino programming environment 2.Install Arduino Uno driver 3.Make sure you can download a program.
Robot Build IT Girls Allowed 2014 Updated 14 th August.
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
Embedded Programming and Robotics
Colorado Space Grant Consortium Gateway To Space ASEN 1400 / ASTR 2500 Class #12 Gateway To Space ASEN 1400 / ASTR 2500 Class #12 T-58.
Week 10 Today 1.Homework presentations and critique. 2.Review digital and analog inputs. 3.DIY - jumpers, soldering etc.
Github & Arduino How To: Post On Github How To: Download from Github How To: Upload Code Downloaded from Github to Arduino Tommy Sanchez EE400D Spring.
INTERFACING WEB SERVER WITH A ROBOT
1 of 20 Core Arduino Workshop Chris Koehler and Brian Sanders Colorado Space Grant Consortium.
1 - Now let’s modify our sketch to add an analog input - Let’s use the potentiometer from HW #4 Arduino Overview:
Tweaking Your Simon Adding a photoresistor and changing code Instruction by Pete Lewis and Linz Craig.
Tweaking Your Simon Adding a photoresistor and changing code Instruction by Pete Lewis.
An-Najah National University Faculty of Engineering Department of Mechatronics Engineering Whiteboard Notes Tracking-Erasing System.
Circuits, Systems, & the Arduino. Challenge: Make the bulb light up! -Make observations and explain why it has the setup it does? - What are the components.
Programming the Geiger Counter Board 1. Arduino Files Go to and download the latest Arduino.
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
TechKnowTone Contents: Sensor Features Sensor Connections Sample Sketch Questions …Sensor Features… Arduino Coding – Distance Sensors.
Arduino Training New Mexico Mathematics, Engineering, and Science Achievement (NM MESA) Getting Started.
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
1 of 20 How to use the Compass A. Compass. 2 Compass: - Provides heading relative to Magnetic North, not true North HMC5883L V input - I2C (not.
Electronic Instrumentation Project 204 Project Name: Light Level Monitor Student #1: Name ID Student #2: Name ID Student #3: Name ID.
Electronic Instrumentation Project 202 Project Name: Differential Thermometer Student #1: Name ID Student #2: Name ID Student #3: Name ID.
Having fun with code, using Arduino in a middle school CS classroom
Arduino - Introduction
Embedded Systems Intro to the Arduino
Getting Started: Building & Programming
Arduino Uno – controlling LED strips
By Rick Darby Sponsors: Geekspace Gwinnett The WorkSpot
Getting Started: Arxterra Control Panel & Application
Prototyping with Microcontrollers and Sensors
Dr. Kyung Eun Park Summer 2017
Downloading Arduino FOR WINDOWS.
Microcontroller basics
Introduction to the Arduino
Lesson 1 – Getting to know your Microbit
An Arduino Workshop A Microcontroller.
Sensors with Arduino A Microcontroller.
Welcome to Arduino A Microcontroller.
Arduino Development for Beginners
Scoutbotics Robot Testing
UCD ElecSoc Robotics Club 2017/2018
Arduino Part 1 Topics: Microcontrollers Programming Basics
Arduino - Introduction
Arduino Uno and sensors
Introduction to Arduino Microcontrollers
Introduction to Arduino Microcontrollers
Arduino and Grove LET’S START.
Basic Computing for Teachers
Roller Coaster Design Project
مقدمة في الاردنيو د فضل الاكوع.
What is Arduino? By James Tedder.
EEE425-PROGRAMMING LANGUAGe Mehmet ali yılmaz
Welcome to Digital Electronics using the Arduino Board
Arduino Board.
Chapter 1 Introduction of Arduino
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Florida Engineering Education Conference (FEEC)
Having fun with Arduino
Aeroponic Engineering and Vertical Farming
Arduino Leonardo Setup
Lab #1: Getting Started.
Arduino Board.
Arduino म्हणजे काय?.
Arduino and Grove LET’S START.
Introduction to arduino
Introduction to Arduino IDE and Software
Buttons.
Autonomous Delivery Robot
Presentation transcript:

Teacher’s Note (do not include in student packet/slide show) Open each work station to a Arduino Create account. Open the sketch “NewPing_TE_OneSensor” in the window. Make sure all devices are set to 115,200 baud. Students will interface with this in Slide 7

Setting Up Arduino Mega 2560 Microcontroller & Sunfounder HCSRO4 Ultrasonic Sensor

Step 1: Connect the Microcontroller to a Computer Connect a USB to the computer and the Arduino Microcontroller. If done correctly, two LED lights on board should light up.

Step 2: Connect the Power Connection Use the wires that are on the Sunfounder Ultrasonic Sensor: Find the wire that is labeled GND (this is your ground) connect it to the pin labeled GND on the breadboard. Find the wire labeled VCC and connect that to the 5V pin next to the ground pin.

Step 3: Check the Power Connection If the power was connected correctly, a blue LED light should appear on the back of the sensor.

Step 4: Connect the Trigger and Echo Pins Use the wires that are on the Sunfounder Ultrasonic Sensor Find the wire that is labeled ECHO and connect it to the pin 11 on the breadboard. Find the wire that is labeled trigger and connect it to the pin 12 on the breadboard. Image Source/Rights: 2017 Kendra Randolph, Michigan State University Department of Engineering

Step 5: Connect to Arduino Create Using Google Chrome, please make sure you are logged into Arduino Create, and that your screen looks exactly like the photo example at the right, if not raise your hand to ask for teacher support. You will want to make sure you have followed slides 6

Step 6: Verify the Code When you are working in a program that involves coding, it is always a good practice to verify a code before you upload it into the program. If you get an error, it will be explained in the black window at the bottom of the screen. You will want to make sure you have followed slides 6

Step 7: Upload Code 1.Once you have verified the code and there are no errors, select upload. 2. Next to the upload button it should read, “Arduino/Genuino Mega or Mega 2560” or “Arduino/Genuino Uno”.

Step 8: Share Code with the Microcontroller 1. Select Serial Monitor. 2. Make sure it is set to 112500 baud. This will give you measurement values in the window.

Step 9: Measuring Distance Practice Hold the Ultrasonic Sensor above the tabletop with the trigger and echo sensors facing down. This means the LED should be facing upwards. Allow each group member the opportunity to move and adjust sensor before moving on to Part 3 of the activity. The receiver should point in the direction of the object

Step 10: Reading Distance with Ultrasonic Sensor As one person moves the sensor from the table, the other group members should observe the distance measurements in the serial monitor in Arduino Create Before moving onto Part 3, activity, record a short video that shows the readings from the serial monitor. .