LIGHT SENSOR GADGETEER PROJECT #2. Step #1 Create a new Gadgeteer project named: SensorGadgeteerApp Add A red power module (USBClientSP) A Light Sensor.

Slides:



Advertisements
Similar presentations
Indistar® Leadership Team Meetings. Where can we plan a meeting? Choose ‘Plan Your Meeting’ from the main menu screen Click on Meeting Agenda Setup.
Advertisements

Learning the Basics – Lesson 1
Computer Applications.  Informative  Sales  Persuasive.
– Officiating Management Software
Noadswood Science,  To know how to use Python to produce windows and colours along with specified co-ordinates Sunday, April 12, 2015.
Microsoft Excel. Click on “Start,” then “Microsoft Office Excel.”
Add and Use a Sensor & Autonomous For FIRST Robotics
7.4 Rational Exponents.
Annotation & Nomenclature By Corey Fortezzo for PG&G GIS Workshop, 2010.
LAB 3 – Review of the Assignment. -- Clarifications Vikram Murali. TA : CSE 140L Prof. CK Cheng.
Lesson 4: Breathing Monitors. Breathing Monitors In the past 3 classes, we’ve learned – How to write to a digital pin – How to read the value of a digital.
Computational Methods for Management and Economics Carla Gomes Module 4 Displaying and Solving LP Models on a Spreadsheet.
This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation. All.
Introduction to Kidspiration Presented by: Lauri Silver.
Creating a Blogger Account. Blogger This tutorial will show you how to create a Blogger account and how to publish your first blog post.  Set up the.
During Spring Break Infinite Campus will be upgraded to the lastest version. There are a number.
Power Point EDU 271 Microsoft PowerPoint is a powerful tool to create professional looking presentations and slide shows. PowerPoint allows you to construct.
Excel Part 2 Formatting a Workbook. XP Objectives Format text, numbers, and dates Change font colors and fill colors Merge a range into a single cell.
WINDOWS MOVIE MAKER TUTORIAL.  Go to the start menu and select “Windows Movie Maker”
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
Creating a PowerPoint Presentation
CTS130 Spreadsheet Lesson 4 Working with Cells, Columns, Rows, and Sheets.
Excel Spreadsheets The Basics ICS100 – Spring 2007 D. Pai.
ADVANCED EV3 PROGRAMMING LESSON
Produced by MEI on behalf of OCR © OCR 2013 Introduction to Quantitative Methods Percentage change.
1 ADVANCED MICROSOFT EXCEL Lesson 9 Applying Advanced Worksheets and Charts Options.
WORKBOOK FORMATTING Nolan Tomboulian Tomboulian.wikispaces.com HOW THINGS LOOK CELL COLORFONT COLOR CELL BORDERSFONT SIZE CELL SIZEFONT.
FIRST GADGETEER PROJECT. Where are you? Making a VS project Parts of a C# program Basics of C# syntax Debugging in VS Questions? 2.
CREATING A POWERPOINT PRESENTATION. Planning a presentation Create a presentation Rearrange and delete text and slides Add animations Add transitions.
Active-HDL Interfaces Debugging C Code Course 10.
FTP for Windows How to get ftp to work in Windows -Navigate to control panel -> programs and features -On the left side click on Turn Windows features.
Technology TEKS (3-5) Communication. Instructions On the following slides, you will click on the clip art picture to hyperlink to websites. After you.
OPERATIONEXPLANATIONEXAMPLE Converting a decimal to a percent Move the decimal point 2 places to the right and add a percent (%) sign. If you need to,
1. Enter service mode and scroll to the Calibrate menu option What is Rider Calibration? This feature enables a rider to calibrate the Watt sensor before.
Sharing Google Docs. Open Google Chrome Open your dashboard.
Chapter 5 Working with Multiple Worksheets and Workbooks
Learn to create slideshows and scrapbooks for your webpage using Smilebox.
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
Elements of Design 1.02 Investigate Design Principles and Elements.
JDS5 Training Guide. On Start Up you will see this screen click the OK button Click OK.
Step 1: Access
BBT 10 Visual Basic 03 Enrichment. Tip Before creating any files for your project, first create a new folder Save all of your files in the folder Pieces.
11 Writing Text Session 5.1. Session Overview  Show how fonts are managed in computers  Discover the difference between bitmap fonts and vector fonts.
Progress and Outcome Measures - Part 3 Progress and Outcome Measures Part 3, Slide 1Copyright © 2004, Jim Schwab, University of Texas at Austin.
Adding & Subtracting Decimals I will add and subtract decimals.
Lab 12 Instructions You can use g++ on build server, visual studio on local machine or your preferred C++ IDE. Important Note: For your grade, please show.
Input and Output Output Prompt: –A message displayed to the user indicating what they are to enter. Should be clear and exact on what you want. write:
Unit 7.6 Lesson 4 Goals: Complete the control system (flowchart) to control all elements of the greenhouse. Test and refine the flowchart to improve how.
VB.NET and Excel VB.NET allows you to write code to manipulate Excel. You can create, open, and save Excel files. You can read data from Excel. You can.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
Resource Review Excel formula basics Demonstrate how to enter manual formulas Examine some of the available functions and their usage Discuss the.
Windows Vista Configuration MCTS : Interface and Device Options.
Excel Information. Basics In Excel there are rows, columns and cells. Row- The horizontal lines in the workbook –These are identified by numbers on the.
A little PHP. Enter the simple HTML code seen below.
How to Use Microsoft PowerPoint What is PowerPoint? Presentation software that allows you to create slides, handouts, notes, and outlines. Slide.
A little PHP.
Geometry with Mr. Young C-30, C-32
36” x 48” Poster Template with Tips
Use proper case (ie Caps for the beginnings of words)
1. Open Visual Studio 2008.
The RGB LED.
SAMPLE PRESENTATION Company Name presents PowerPoint Basics
Storing Values as Variables
Developing different types of Motes in WSN
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Windows Movie Maker Tutorial
Oregon Robotics Tournament and Outreach Program
Presentation transcript:

LIGHT SENSOR GADGETEER PROJECT #2

Step #1 Create a new Gadgeteer project named: SensorGadgeteerApp Add A red power module (USBClientSP) A Light Sensor A LED Strip Module Display N18 Module Click - Connect the modules Physically connect modules as displayed in Visual C# Express 2

Step #2 Output light sensor values to the Visual C# Express output so that you see the changes as you hide the light sensor in your hands, hold it up to your monitor, etc. Copy your code from the potentiometer assignment to this assignment. Update it to base the LED output on the amount of light that the light sensor detects. 3

Step #3 Now add your potentiometer to your project as well. Update your code so that the potentiometer knob will set a “target light” value, this should be a value between 0 and 100 in steps of 10 (i.e. 0, 10, 20, 30, 40, …, 100) – output this value to the Visual C# Express output window only one time when it changes. Update your code so that anytime the light sensor value goes above or below the “target light” value a message is output to the console (exactly one message each time the target transitions above or below the target). Example output in red: Target Light = 40 (you turn knob up) Target Light = 50 (you put sensor near monitor) Light Sensor Above Target ( ) (even though light increases only 1 message – you hide sensor in your hands) Light Sensor Below Target ( ) (even though light decreases only 1 message – you turn the knob down) Target Light = 40 Light Sensor Above Target ( ) (even though you didn’t move the light it is now above the target rather than below it so a message prints) Raise your hand to get signed off for “Light Sensor Part 1” 4

Step #4 Add code to put the output to the Display N18 Light sensor values. Format for 2 decimal places You choose the color Format with the NinaB font 5

Adding a Font Resource font myfont = Resources.GetFont(Resources.FontResources.NinaB) for example: display_N182.SimpleGraphics.DisplayText("Target Value = " + (int)target, myfont, GT.Color.Blue, 1, 1) ---or ---: display_N182.SimpleGraphics.DisplayText("Target Value = " + (int)target, Resources.GetFont(Resources.FontResources.NinaB), GT.Color.Blue, 1, 1) 6