Ardusat Space Kits in the Classroom

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

Lab 2.2 Ohm s Law and Introduction to Arduinos

Prototyping & Engineering Electronics Kits Basic Kit Guide

Halloween Pumpkinusing. Wednesday, October 17, 12

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

Robotics Adventure Book Scouter manual STEM 1

Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen

StenBOT Robot Kit. Stensat Group LLC, Copyright 2018

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT

Embedded Workshop 10/28/15 Rusty Cain

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

Lesson 8: Digital Input, If Else

mi:node User Manual Element14 element14.com/minode 1 User Manual V3.1

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

Phi-connect for Arduino (connector board V1.9)

Arduino: Serial Monitor Diagrams & Code Brown County Library

Quick Start by JP Liew

ISL RGB Sensor Tutorial By: Sabrina Jones

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

Create your own wireless motion sensor with

Arduino IDE The Developer Kit library The JeeLib library for RFM12 transceivers

RS485 CO2 sensor etc. all of these functions for smart home are pre-programed

CamJam EduKit Sensors Worksheet Five. Equipment Required. The Parts. The Passive Infrared Sensor

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

Documentation for Wifi-Enabled Data Logging - System Control By: Jesse Jenkins

Make a Simple Weather Station Using Arduino

Elektor Uno R4 Installation & Test

VL-9S PRODUCT SHEET. VL-9S Switch Registers (Mechanical Reed Switch)

Thanks for buying our product. Specialty of IM-2DT

A Hacker s Introduction to the Nokia N900

3. The circuit is composed of 1 set of Relay circuit.

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

How to use the Zduino LEE Module with the Trainer Board

GLONASS SHIELD USER MANUAL

RedBoard Hookup Guide

EE 354 August 1, 2017 Assembly of the AT89C51CC03 board

Lab 1: Introductory Project to Breadware

EXPERIMENT 7 Please visit to learn all features of arduino before you start the experiments

Onwards and Upwards, Your near space guide Overview of the NearSys Two Sensor Temperature Array Figure 1. A complete Two Sensor Temperature Array

Introduction to Arduino Diagrams & Code Brown County Library

TA0013 ARDUINO RFID UNO STARTER KIT

Innovative Electronics for a Changing World INDEX

Introduction to Arduino Diagrams & Code Brown County Library

One Grove Base Shield board this allows you to connect various Grove units (below) to your Seeeduino board; Nine Grove Grove units, consisting of:

PN532 NFC RFID Module User Guide

Figure 1. 6-Way JAMMA Switcher

Code&Drive First steps

MMA8452Q Accelerometer Breakout Hookup Guide

Manual. NB-IoT workshop. Sodaq Date: Author: Jan van Loenen

Necessary software and hardware:

AK-DS2482S-100. Reference manual. Copyright 2016 Artekit Italy All rights reserved

Rainbowduino Word Clock. By Russ Hughes

EK307 Lab: Microcontrollers

Introduction To Arduino

Adafruit Optical Fingerprint Sensor

KNJN I2C bus development boards

Welcome to Apollo. For more information, please visit the website and select Apollo. Default Code

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

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

Figure 1. A complete Temperature Sensor

BaseCam 1.0 board Manual

XL-80 spares list. Application note. Overview

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

ipad How to use the ipad Getting Started with the basics FHS Gabriel Hill 3/31/2011

Digital Pins and Constants

Beetle SKU:DFR0282. Contents. Introduction

Don t Steal My BBC micro:bit Alarm!

PowerView. Hub. by LUXAFLEX WINDOW FASHIONs

USB Type A Female Breakout Hookup Guide

T-Scratch Basics. Coding with IDE (Software)

Bill of Materials: Turn Off the Lights Reminder PART NO

ipot Phase 1 1

Parts List: Assembly Instructions:

Arduino Panel Meter Clock. By Russ Hughes

USER MANUAL NI 9755 NI Powertrain Controls CompactRIO NOx Sensor Module Kit

S3 Scratch Programming

Sten-SLATE ESP Kit. Description and Programming

INTRODUCTION HARDWARE

micro:bit Lesson 1. Using the Built-in Sensors

OrbBasic LESSON 1 Goto and Variables Student Guide

DLA. DMX512 Analyzer. DLA Users Manual SV2_00 B.lwp copyright ELM Video Technology, Inc.

ArduCAM-M-2MP ESP8266 Evaluation Kit User Guide. Rev 1.1, March 2017

Draper Commissioner User Manual

THIS IS THE CURRENT FF USER GUIDE AS OF PLEASE DO NOT USE ANY PREVIOUSLY DATED VERSIONS

DMX-K-DRV Integrated Step Motor Driver Manual

Quick Installation Guide Direct and Transfer Thermal Printer

micro:bit Lesson 2. Controlling LEDs on Breadboard

LIS3DH Hookup Guide. Introduction. SparkFun Triple Axis Accelerometer Breakout - LIS3DH SEN Required Materials

THIS IS THE CURRENT FF USER GUIDE AS OF PLEASE DO NOT USE ANY PREVIOUSLY DATED VERSIONS

Introduction... 1 System Diagram... 2 Hardware... 2 Powering the Hardware... 3 Wiring Harness... 5

BASIC Arduino. Part I

Sphero Lightning Lab Cheat Sheet

SPECIFICATION. Preliminary. TFT-LCD Monitor TITLE. Signature Date Prepared by Date

REQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers Switch LED Resistors Breadboard Multimeter (if needed)

Arduino UNO R3 ESP8266 Web Server Serial Port WiFi Shield ESP13

Web Site: Forums: forums.parallax.com Sales: Technical:

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

USER MANUAL EXPERIENCE INCREDIBLE PERFORMANCE V2.3

INDEX. Network Power Monitor NPM-R10-SNMP. Innovative Electronics for a Changing World. NPM-R10-SNMP Remote Network Power Monitor

Arduino Smart Robot Car Kit User Guide

Transcription:

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

Activity4B_TMP102

Activity5GyroAccel9DOF

1 CA STEM Symposium October 30, 2015, Anaheim Convention Center Ardusat Space Kits in the Classroom Getting Acquainted with Arduino IDE & Sensors Hardware/Software Setup: Go to codebender.cc on Chrome browser (online code editor and Arduino IDE), this eliminates need to download and install Arduino software (perfect for Chromebooks) Login: TBA Password: TBA Connect Arduino UNO to computer/chromebook using USB cable Activity1BasicBlink 1. Insert one green (or red) LED into Arduino UNO with long leg in pin 13 and short leg in GND as seen in the picture below. 2. Open sketch called Activity1BasicBlink located in codebender dashboard by clicking on it. Read the lines of code in this sketch. 3. Upload sketch to Arduino UNO by pressing [Run on Arduino] button. Observe how LED turns on for 1 sec and off for 1 sec as specified in the code.

2 4. In the sketch change the value of the two delay( ) functions to make the LED blink as indicated in the chart below. Upload the sketch by pressing [Run on Arduino] button and observe the LED. Complete chart below. (NOTE: 1000 means 1000 millisecond or 1 second) Pattern of blinking Delay values Describe in words how blinking differs from default. On for 1 sec, Off for 1sec (default) On for 0.5 sec, Off for 0.5 sec On for 2 sec, Off for 0.2 sec On for 0.6 sec, Off for 1.8 sec On for 1 sec, Off for sec delay(1000), delay(1000) Not applicable Make LED appear to be continuously on but it s actually blinking at too fast a rate for our eyes to detect

3 Activity2MorseCode 1. Insert one green (or red) LED into Arduino UNO with long leg in pin 13 and short leg in GND as seen in the picture below. 2. Go back to codebender dashboard by clicking the codebender logo at the top left. Open sketch called Activity2MorseCode located in codebender dashboard by clicking on it. 3. Upload sketch to Arduino UNO by pressing [Run on Arduino] button. 4. Open serial monitor window by clicking [Serial Monitor] button located at top right. 5. Click [Connect] in the serial monitor window and select [Newline] from drop down menu. 6. Type a character in the blank text box and hit Send. Observe the LED flash the Morse code for that character, and also displays it in the serial monitor window. Refer to MORSE CODE CHART given below.

4 7. Type a 2 letter word in the serial monitor window and hit Send, have your group members guess your word by decoding the flashing LED using the MORSE CODE CHART (below), each person takes turns typing a word. LED flashing pattern use dots/dashes for short/long like MORSE CODE CHART given 2 letter word guess Did you guess the right word? MORSE CODE CHART 8. Now type a 2 digit number in the serial monitor window and hit Send, have your group members guess your number by decoding the flashing LED using the MORSE CODE CHART, each person takes turns typing a number. LED flashing pattern use dots/dashes for short/long like MORSE CODE CHART 2 digit number guess Did you guess the right number?

5 Activity3LuminTSL2561 1. Wire up the TSL2561 Luminosity Sensor to the breadboard and Arduino as shown in the picture below or follow this chart. Arduino > GND (black wire) > Luminosity Sensor TSL2561 GND 3.3V (red wire) > VCC A5 (green wire) > SCL A4 (blue wire) > SDA 2. Go back to codebender dashboard by clicking the codebender logo at the top left. Open sketch called Activity3LuminTSL2561 located in codebender dashboard by clicking on it. 3. If not already done, change the delay( ) value from 250 (0.25sec) to 1000 (1sec) in the very last line of code line #137. 4. Upload sketch to Arduino UNO by pressing [Run on Arduino] button. 5. Open serial monitor window by clicking [Serial Monitor] button and click [Connect] to see the lux being recorded.

6 6. Record the lux under different conditions in this chart. Lux values fluctuate easily so record the median number. Condition Lux Room lights on as normal Hand covering sensor Flashlight pointing 90 degree straight down on sensor Flashlight pointing at 45 degree angle down on sensor Room lights off

7 Activity4A_TMP102 1. Using the jumper wires, wire up the TMP102 Temperature Sensor to the breadboard and Arduino as shown in the picture below or follow this chart. Arduino > GND (black wire) > Temp Sensor TMP102 GND 3.3V (red wire) > VCC A5 (green wire) > SCL A4 (blue wire) > SDA GND (black wire) > ADD0 2. Go back to codebender dashboard by clicking the codebender logo at the top left. Open sketch called Activity4A_TMP102 located in codebender dashboard by clicking on it. 3. Upload sketch to Arduino UNO by pressing [Run on Arduino] button.

8 4. Open serial monitor window and click [Connect] to see the temperature being recorded, record the temperatures under different conditions in the chart. Wait for temp to stabilize for 5 straight readings. Action Temperature Celsius Nothing baseline temperature in room Breathe on the sensor with your breath (highest temp reached) Place index finger on sensor Place entire palm of hand on sensor Place hot or cold pack near sensor (if available)

9 Activity 4B_TMP102 1. With the Temp Sensor TMP102 already wired up, insert one green (or red) LED into Arduino UNO with long leg in pin 13 and short leg in GND 2. Go back to codebender dashboard by clicking the codebender logo at the top left. Open sketch called Activity4B_TMP102 located in codebender dashboard by clicking on it. 3. Look at the code lines 23 30. What will happen when the temperature is greater than 85 F? (circle one) a. LED will turn off b. LED will flash c. LED will turn on d. none of these 4. Upload sketch to Arduino UNO by pressing [Run on Arduino] button. 5. Open serial monitor window, then click [Connect] to see temperatures being recorded. Warm up your hands and touch sensor to make the temperature go above 85 F. What happens to LED? (circle one) a. LED turns off b. LED flashes c. LED turns on d. LED explodes 6. Make one modification to the code to make the LED turn on when the temperature is below 85 F and turn off when above 85 F. Test it out by uploading your modified code by pressing [Run on Arduino] button. Does it behave as expected? What modification was made? 7. Put the code back to its original state. Make a second different modification to the code to make the LED turn on when the temperature is below 85 F and turn off when above 85 F. Test it out by uploading your modified code by pressing [Run on Arduino] button. Does it behave as expected? What modification was made this time? 8. Put code back to its original state. Add lines of code to the original code to make the LED blink when the temperature is greater than 85 F and turn off when below 85 F. (HINT: Refer back to sketch Activity1BasicBlink) Did it work? What had to be done to the code? Write the new lines of code you added here.

10 If it didn t work, open sketch called Activity4B_TMP102withBlink and run it. THIS PAGE INTENTIONALLY LEFT BLANK

11 Activity5GyroAccel9DOF 1. Wire up the 9DOF sensor to the breadboard and Arduino as shown in the picture. 2. Go back to codebender dashboard by clicking the codebender logo at the top left. Open sketch called Activity5GyroAccel9DOF located in codebender dashboard by clicking on it. 3. Upload sketch to Arduino UNO by pressing [Run on Arduino] button. 4. Open serial monitor window by clicking [Serial Monitor] button, set baud rate to 115200 (instead of usual 9600), and click [Connect] to see the data being recorded. 5. Make the following movements to the sensor by moving the breadboard, which type of motion gets affected the most? Action Which type of motion is affected most? (roll, pitch, or heading) Rotating the sensor in a circular motion when it s resting flat on the table Tilting one short side of sensor up at an angle while the opposite end stays on table Tilting one long side of sensor up at an angle while the

12 other side stays on table THIS PAGE INTENTIONALLY LEFT BLANK

13 Workshop Feedback Survey: http://goo.gl/forms/w7zpfucbwg (case sensitive) Self Test 1. A written piece of code in Arduino IDE is called a. 2. Different sensors collect real time or delayed (circle one) data when they are connected to an Arduino and programmed with a piece of code. 3. The window allows data collected to be seen directly in real time, it also allows the user to determine if the code is working. 4. The time interval at which each data point is recorded is controlled by using the function. 5. When an airplane is taking off from the ground, pitch or roll (circle one) is the type of motion that is most affected. 6. When an airplane makes a U turn in mid air, pitch or roll (circle one) is the type of motion that is most affected. 7. Rate your knowledge and understanding of Arduino and sensors before doing this activity: 0 1 2 3 4 5 8. Rate your knowledge and understanding of Arduino and sensors AFTER doing this activity: 0 1 2 3 4 5 9. Propose one useful real life application for any of the sensors used in these activities.