Lab 4: Determining temperature from a temperature sensor
|
|
- Teresa Sherman
- 5 years ago
- Views:
Transcription
1 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 procedure sections, or you may print this handout and neatly tape in these sections into the appropriate pages in your lab notebook. Preserve the habit of using only the right-hand page. Note that there are three sections you need to prepare: Write the circuit diagram section based on the write-up Look up the manufacturer data sheet for the temperature sensor you are using, and derive the formula for determining temperature from measured voltage Write Arduino code to obtain temperature data from the sensor Set up a data table in the data section, which will compare a measured temperature with the reported temperature from the sensor The writeup to this lab is due 4 p.m., Friday, February 16, in my mailbox, though you may submit it earlier in class. The writeup consists of a photocopy of your lab notebook pages for Lab 4, from the title page to the conclusion section. Physics 222 Objectives: Lab 4: Determining temperature from a temperature sensor Building a circuit with a low-voltage analog sensor, calibrating and testing it Writing code to run the sensor, including input and output onto an SD card Fine-tuning the sensor to give more accurate readings Introduction and relevant formula: The Analog Devices TMP36 Temperature Sensor is used to measure the ambient temperature. However, what the device actually outputs is a voltage. Fortunately, the output voltage is proportional to the temperature, so it s a matter of calibrating the voltage to conform with the temperature. Open the data sheet from the manufacturer, Analog Devices; fortunately, the University of Michigan Engineering Program has already scanned that in for you: The sensor is shown in Figure 4. T-3 (TO-92). Quoting from the data sheet: The TMP36 is specified from 40 C to +125 C, provides a 750 mv output at 25 C, and operates to 125 C from a single 2.7 V supply Both the TMP35 andtmp36 have an output scale factor of 10 mv/ C. From this information, derive the linear formula for the temperature sensor (e.g., y = mx + b form).
2 Remember that the analog inputs of the Arduino convert a voltage input between 0 and 5 V into a number between 0 and Write the Arduino code (or pseudo-code) that receives input from the TMP36 sensor and outputs the Celsius temperature to the serial monitor using the formula you determined above. Some tips: One particular line that will be helpful is Serial.println(temp_C); which will cause a line space to appear between data entries. The analogread command receives input from the sensor and converts it into a variable (note the variable declaration that precedes it!): float voltage = analogread(pintemp); Add a 1 second delay between readings and limit the number of readings, unless you want to be overwhelmed by data and are unable to turn off the readings except by terminating the power. Finally, one drawback with the Arduino system is that there is no command to write data to a.txt or other common file format. There are third-party software that will mimic the serial monitor that do have the ability to write to other formats; you will test one of those. Equipment Analog Devices TMP36 Temperature Sensor Arduino kit (including SD card reader shield) and laptop Various known temperature items: (list what you use here) Circuit diagrams There are resistors within the TMP36 Device, so no external resistance is needed. Show the connections between the Arduino Board and the TMP36 sensor, based on the design of the TMP36 sensor and step 2 of the procedure. This means drawing pin-to-pin lines (the sensor and the Arduino may be represented as squares, with labeled pins on each).
3 Safety Both the Arduino Board and the TMP36 sensor are easily damaged by static electricity. Furthermore, if the TMP36 sensor is incorrectly wired, it will grow UNTOUCHABLY HOT QUICKLY. If this occurs, do not remove the sensor simply cut the power to the board. Procedure (Work in teams of two; one person does the a steps, the other the b ) Part A (Making a functional temperature sensor) 1a. Set up the circuit drawn in the Circuit Diagram section on the breadboard. 1b. Obtain a laptop, power it up, and open the Arduino software (there should be an icon on the desktop). 2a. Connect pin 1 to 5 V on your Arduino, the middle pin (Out) to A0 or some other analog input pin on your Arduino, and pin 3 to 0 V (GND). 2b. Enter the code developed in the Relevant equations section. Compile and export to the Arduino (make sure the proper COM port is selected under Tools ). Obtain some temperature data. 3a. Calibrate the temperature from the sensor with the temperature measured with other devices; do this for several different temperatures, and record these temperature data in the data section. List both the new device(s) used and the different temperature materials in the equipment section. 3b. Modify the code to obtain more accurate temperatures from the sensor; note that this may alter the information given by the manufacturer on the data sheet. Part B (Exporting obtained sensor data) 4b. Plug the SD card reader shield onto the Arduino. The SD card shield has the same digital, analog, 5V and GND pins that the microcontroller board has. Plug the SD shield into the Arduino, being careful to line up the pins from the shield and the holes on your board. Then connect the three wires from the temperature sensor to the SD shield in the appropriate spots. Your sensor should work as it did before (you should check the Serial Monitor to see the temperature readings).
4 An alternative: Obtain alternate serial monitor software by going to and scroll down and download the CoolTerm application to your Desktop and then unzip the files. There is no Installer, so this should work just fine on any school laptop. Open CoolTerm.exe (hint: some of the laptops already have this software on their Desktops). 5b. Insert the SD card into the reader. To write temperature data to the SD card, modify your program by inserting your program into the program below. Note that if you named your variables differently you will have to modify the program accordingly. // SPI and SD libraries. SPI for connecting SD card to SPI bus. #include <SPI.h> #include <SD.h> const int sdpin = 4; // Temperature sensor middle pin set to analog 0 const int tempin = 0; // Delay time. How often to take a temperature reading, in miliseconds const int delaytime = 1000; // File variable File tempsfile; void setup() { // Serial output for when connected to computer Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Needed for native USB port only Serial.print("Initializing SD card..."); if(!sd.begin(sdpin)) { Serial.println("initialization failed!"); return; Serial.println("Initialization done."); void loop() { // Open SD card for writing tempsfile = SD.open("tempC.txt", FILE_WRITE); if (tempsfile) { // Your code that reads the sensor and calculates tempc goes here //Note that analog pin 0 is called tempin (insert your code here) // write temps to Serial Serial.println(tempC);
5 // write tempc to SD card tempsfile.println(tempc); // close the file tempsfile.close(); else { Serial.println("Error opening file in loop."); delay(delaytime); Send this program to the Arduino board and open the serial monitor. You should see your temperature data as before (use the various temperature objects to make sure it held calibration). 6b. Check to see if the file is there: go to Files Examples SD, and open and send the program listfiles to the Arduino. (Note: There are other example programs including one called Files which lets you delete a file on the SD card). Open the Serial Monitor and it should show that you have a tempc.txt file on the SD card. Remove the SD card and plug it into the appropriate port in the classroom laptops. Open the tempc.txt file onto the graphing program of your choice and print out the graph of time versus temperature. Give the graph an appropriate title, axes labels and units (no linear regression necessary). Part C (Using the temperature sensor as a trigger) 7a. Modify the circuit so an LED is wired into circuit parallel to the temperature sensor (that is, the LED is not in series with the sensor; in fact, it should be deriving its power from one of the digital power pins like 9 or 13). 7b. Modify the Arduino code so that the LED lights up if the sensor temperature is more than 25 C. For an added challenge, make the LED light up if the sensor temperature is more than 2 C higher than the temperature the sensor had been recording for the past ten seconds. 8. Write a separate circuit diagram that shows the modified circuit, and write (or print and paste a copy of) the modified code, with plenty of in-code documentation (i.e., comments about what each line does). Data and analysis Part A Temperature measured by the sensor: C Temperature measured by : C
6 (at least three pairs of measurements) Final copy of code used Part B Time/temperature graph (see procedure) Part C Circuit diagram modified to include LED branch Modified code showing temperature trigger Discussion and conclusion Did the temperature sensor give reliable readings? Which may be broken down into: Did the sensor, in fact, work at all? How noisy were the temperature readings (in other words, estimate the uncertainty in temperature from the sensor)? How did this compare to what the manufacturer claimed on their data sheet? Was there an optimal delay? Why was this value optimal? Give an estimate of the time each individual part took (including how much time each person spent on their part), and explain why certain sections were particularly time-consuming, with an eye to helping the next group of students achieving success in less time.
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 informationApplication Note Operation of the Jameco and SD Card Data Storage on the Teensy Ferris Chu
Application Note Operation of the Jameco and SD Card Data Storage on the Teensy Ferris Chu Operation of the Jameco For our system, we used the Jameco XR 2206, a monolithic function generator, to produce
More informationIME-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 informationApplication Note: ADC on Teensy and Biasing LNA. Lhawang Thaye
Application Note: ADC on Teensy and Biasing LNA Introduction Lhawang Thaye Page 1 This application note will address how to implement an ADC using the Teensy 3.1, the procedure for Biasing the LNA for
More informationUsing a Temperature Sensor
Using a Temperature Sensor Add a temperature sensor to the ATmega Board. Site: icode Course: Machine Science Guides (Arduino Version) Book: Using a Temperature Sensor Printed by: Ivan Rudnicki Date: Wednesday,
More informationElectronic 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 informationTMP36 Temperature Sensor
TMP36 Temperature Sensor Created by lady ada Last updated on 2017-11-26 10:17:46 PM UTC Guide Contents Guide Contents Overview Some Basic Stats How to Measure Temperature Problems you may encounter with
More informationEK307 Lab: Microcontrollers
EK307 Lab: Microcontrollers Laboratory Goal: Program a microcontroller to perform a variety of digital tasks. Learning Objectives: Learn how to program and use the Atmega 323 microcontroller Suggested
More informationcs281: 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 informationSerial.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 informationProcedure: 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 informationTMP36 Temperature Sensor
TMP36 Temperature Sensor Created by Ladyada Last updated on 2013-07-30 05:30:36 PM EDT Guide Contents Guide Contents 2 Overview 3 Some Basic Stats 4 These stats are for the temperature sensor in the Adafruit
More informationADC to I 2 C. Data Sheet. 10 Channel Analog to Digital Converter. with output via I 2 C
Data Sheet 10 Channel Analog to Digital Converter with output via I 2 C Introduction Many microcontroller projects involve the use of sensors like Accelerometers, Gyroscopes, Temperature, Compass, Barometric,
More informationSensors and Actuators with Arduino. Hans-Petter Halvorsen, M.Sc.
Sensors and Actuators with Arduino Hans-Petter Halvorsen, M.Sc. System Overview NTC Thermistor Arduino Download Code Computer TMP36 Pt-100 Sensors (Input) Actuators (Output) Examples: Data Logging Programming
More informationPhysical Computing Self-Quiz
Physical Computing Self-Quiz The following are questions you should be able to answer without reference to outside material by the middle of the semester in Introduction to Physical Computing. Try to answer
More informationOverview. Exploration: LED Ramp Light. cs281: Introduction to Computer Systems Lab04 K-Maps and a Sensor/Actuator Circuit
cs281: Introduction to Computer Systems Lab04 K-Maps and a Sensor/Actuator Circuit Overview In this lab, we will use the K-maps from last lab to build a circuit for the three lights based on three bit
More informationLab 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#include "quaternionfilters.h" #include "MPU9250.h" data read #define SerialDebug true // Set to true to get Serial output for debugging
/*Hardware setup: MPU9250 Breakout --------- Arduino VDD ---------------------- 3.3V VDDI --------------------- 3.3V SDA ----------------------- A4 SCL ----------------------- A5 GND ----------------------
More informationThis 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 informationModule 1: Crash Prevention Lesson 3: Weather Information systems Programming Activity Using Arduino Teacher Resource Grade 6-8 Time Required
Module 1: Crash Prevention Lesson 3: Weather Information systems Programming Activity Using Arduino Teacher Resource Grade 6-8 Time Required Weather Information Systems is a 120 minute lesson plan (90
More informationLab 1: Arduino Basics. Rodrigo Carbajales and Marco Zennaro ICTP Trieste-Italy
Lab 1: Arduino Basics Rodrigo Carbajales and Marco Zennaro ICTP Trieste-Italy Step Zero Clean up your desks! :) Goals of this Lab Learn how the programming takes place Excercises about: installing the
More informationIME-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 informationImplementation of Temperature Sensor on PICM4520 Microcontroller
Implementation of Temperature Sensor on PICM4520 Microcontroller Application Note Brad Pasbjerg Design Team 7 March 30 th, 2012 1 Table of Contents Cover... 1 Table of Contents... 2 Abstract... 3 Keywords...
More informationIntroduction 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 informationLab 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 informationECE 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 informationkeyestudio 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 informationJ. La Favre Calibrating Sharp Distance Sensors July 18, 2018
GEAR has a number of Sharp brand IR distance sensors that can be used to determine distance to a target object. This type of sensor can be useful for maze robot projects as well as others. Sharp offers
More informationMAE106 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 informationIME-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 informationSPDM 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 informationObjectives: 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 informationStenBOT 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 informationIf I wanted to connect an LED and little light bulb and have them switch on and off with one switch, my schematic would look like the one below.
Relays Relays are great tools for turning on and off entire circuits, either with a small control switch, or with a microcontroller like the Arduino. To understand how relays are useful and how to control
More informationRoastLogger 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 informationOverview. Multiplexor. cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder
cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder Overview The objective of this lab is to understand two basic combinational circuits the multiplexor and
More informationRequired 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 informationECE 2036: Lab #3 mbed Hardware Starter Lab Category: Getting Started with MBED ~ 1 week to complete
ECE 2036: Lab #3 mbed Hardware Starter Lab Category: Getting Started with MBED ~ 1 week to complete ECE2036a - Due Date: Monday September 28 @ 11:59 PM ECE2036b Due Date: Tuesday September 29 @ 11:59 PM
More informationEarthshine Design Arduino Starters Kit Manual - A Complete Beginners Guide to the Arduino. Project 13. Serial Temperature Sensor
Project 13 Serial Temperature Sensor 75 Project 13 - Serial Temperature Sensor Now we are going to make use of the Temperature Sensor in your kit, the LM35DT. You will need just one component. What you
More informationLab-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 informationIntroduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers
Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers This week we will start to learn the software that we will use through the course, MATLAB s Data Acquisition Toolbox. This
More informationCounter & 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 informationGrove - I2C Thermocouple Amplifier (MCP9600)
Grove - I2C Thermocouple Amplifier (MCP9600) The Grove - I2C Thermocouple Amplifier (MCP9600) is a thermocouple-to-digital converter with integrated cold-junction and I2C communication protocol. This module
More informationUniversity 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 informationMake 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 informationHow 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 informationQuickstart Guide: Programming the Arduino ESP 8266
Quickstart Guide: Programming the Arduino ESP 8266 V1.0 - March 2018 Part 1: Setting up the Arduino 1. Connect to your wireless network 2. Install Arduino software from www.arduino.cc 3. Check if Windows
More informationConnecting a Cisco Input Module
CHAPTER 4 Overview The optional Cisco Input Module (Figure 4-1) is attached to a Cisco Physical Access Gateway or Cisco Reader Module to provide additional connections for up to ten input devices. Each
More informationThumb 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 informationLab 2 - Powering the Fubarino. Fubarino,, Intro to Serial, Functions and Variables
Lab 2 - Powering the Fubarino Fubarino,, Intro to Serial, Functions and Variables Part 1 - Powering the Fubarino SD The Fubarino SD is a 56 pin device. Each pin on a chipkit device falls broadly into one
More informationHow 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 informationArduino Driver SD Card
Arduino Driver SD Card The arduino driver SD car is for the file s reading and writing What requires special explanation is the SD library file. Currently, it can t support the card over 2G well, so I
More informationLab 8: Sensor Characterization Lab (Analog)
Objectives Lab 8: Sensor Characterization Lab (Analog) This lab introduces the methods and importance for characterizing sensors. Students will learn about how the Arduino interprets an analog signal.
More informationDetermination of Calibration Factors
Determination of Calibration Factors Digital data acquisition system use analog-to-digital converters (ADCs) to convert analog voltages from sensors to digital, binary data. The most common ADCs used for
More informationGrove Lightning Detector 0219-MOD1016G-01
Features and Benefits: The is an Arduino and Raspberry Pi Grove compatible breakout board with a full set of connectors. No external antennas required! It is designed for use in Low Power applications
More informationArduino 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 informationUniversity 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 informationPhysical Computing Self-Quiz
Physical Computing Self-Quiz The following are questions you should be able to answer by the middle of the semeter in Introduction to Physical Computing. Give yourself 6.5 points for questions where you
More informationLab 2 - Powering the Fubarino, Intro to Serial, Functions and Variables
Lab 2 - Powering the Fubarino, Intro to Serial, Functions and Variables Part 1 - Powering the Fubarino SD The Fubarino SD is a 56 pin device. Each pin on a chipkit device falls broadly into one of 9 categories:
More informationanalogwrite(); The analogwrite function writes an analog value (PWM wave) to a PWM-enabled pin.
analogwrite(); The analogwrite function writes an analog value (PWM wave) to a PWM-enabled pin. Syntax analogwrite(pin, value); For example: analogwrite(2, 255); or analogwrite(13, 0); Note: Capitalization
More informationGetting started with your DGH module:
Getting started with your DGH module: This document contains step-by-step instructions to quickly connect and communicate with your new DGH modules. For most applications, new modules require a one-time
More informationECE2049 Homework #2 The MSP430 Architecture & Basic Digital IO (DUE Friday 9/8/17 at 4 pm in class)
ECE2049 Homework #2 The MSP430 Architecture & Basic Digital IO (DUE Friday 9/8/17 at 4 pm in class) Your homework should be neat and professional looking. You will loose points if your HW is not properly
More information3.5" TFT Touch Shield with 4MB Flash for Arduino and mbed SKU:DFR0348
3.5" TFT Touch Shield with 4MB Flash for Arduino and mbed SKU:DFR0348 Introduction The liquid crystal display module based on SPI communication interface, provide 3.5 "TFT LCD, resistive touch screen,
More informationAdapted 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 informationArduino 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 informationECE2049: Embedded Systems in Engineering Design Lab Exercise #3 C Term Making a Time and Temperature Display
ECE2049: Embedded Systems in Engineering Design Lab Exercise #3 C Term 2019 Making a Time and Temperature Display In this laboratory you will use the MSP430 and several of its peripherals to implement
More informationArduino 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 informationSten-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 informationArduino 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 informationWeb Site: Forums: forums.parallax.com Sales: Technical:
Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267
More informationDesign Rationale for Cushion Timer and Logger
Design Rationale for Cushion Timer and Logger Laura came up with the original idea. She was inspired by concerns about health and the amount of time people spend at their desks each day. We decided to
More informationLaboratory 1 Introduction to the Arduino boards
Laboratory 1 Introduction to the Arduino boards The set of Arduino development tools include µc (microcontroller) boards, accessories (peripheral modules, components etc.) and open source software tools
More informationGEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module
GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module GOAL To introduce the physical implementation of digital logic circuits including
More informationENGR 40M Project 4b: Displaying ECG waveforms. Lab is due Monday June 4, 11:59pm
ENGR 40M Project 4b: Displaying ECG waveforms Lab is due Monday June 4, 11:59pm 1 Introduction Last week, you built a circuit that amplified a small 1Hz simulated heartbeat signal. In this week s you will
More informationChristian Brothers University 650 East Parkway South Memphis, TN
Christian Brothers University 650 East Parkway South Memphis, TN 38103-5813 WIRELESS SMART THERMOSTAT Martin Tribo Student IEEE Membership Number 90671969 Submitted for consideration in Region 3, IEEE
More informationMigaOne-Arduino Tutorial: Position/Limit Sensing and Cycling with the Arduino Platform
Miga Motor Company 1250 Addison Street #208 Berkeley, CA 94702 www.migamotors.com MigaOne-Arduino Tutorial: Position/Limit Sensing and Cycling with the Arduino Platform 1.0 Introduction The purpose of
More informationKNOCK 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 informationArduino: 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 information4 CHANNEL 5V RELAY MODULE
4 CHANNEL 5V RELAY MODULE A relay is an electrically operated device. It has a control system and (also called input circuit or input contactor) and controlled system (also called output circuit or output
More informationAdafruit USB Power Gauge Mini-Kit
Adafruit USB Power Gauge Mini-Kit Created by Bill Earl Last updated on 2017-07-14 11:55:04 PM UTC Guide Contents Guide Contents Overview Assembly Basic Assembly Solder the female connector. Solder the
More informationREQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers Switch LED Resistors Breadboard Multimeter (if needed)
Page 1/6 Lab 1: Intro to Microcontroller Development, 06-Jan-16 OBJECTIVES This lab will introduce you to the concept of developing with a microcontroller while focusing on the use of General Purpose Input/Output
More informationPlotting Graphs. Error Bars
E Plotting Graphs Construct your graphs in Excel using the method outlined in the Graphing and Error Analysis lab (in the Phys 124/144/130 laboratory manual). Always choose the x-y scatter plot. Number
More informationOne Grove Base Shield board this allows you to connect various Grove units (below) to your Seeeduino board; Nine Grove Grove units, consisting of:
GROVE - Starter Kit V1.0b Introduction The Grove system is a modular, safe and easy to use group of items that allow you to minimise the effort required to get started with microcontroller-based experimentation
More informationAT42QT1010 Capacitive Touch Breakout Hookup Guide
Page 1 of 7 AT42QT1010 Capacitive Touch Breakout Hookup Guide Introduction If you need to add user input without using a button, then a capacitive touch interface might be the answer. The AT42QT1010 Capacitive
More informationAdafruit 1-Wire Thermocouple Amplifier - MAX31850K
Adafruit 1-Wire Thermocouple Amplifier - MAX31850K Created by lady ada Last updated on 2015-04-09 03:45:15 PM EDT Guide Contents Guide Contents Overview Pinouts Power Pins Address Pins Data Pin Themocouple
More informationRAMPS V1.4 Tutorial. 1. Mount the board onto arduono mega 2560, and plug in 5 A4988 driver board, as shown in the picture:
RAMPS V1.4 Tutorial 1. Mount the board onto arduono mega 2560, and plug in 5 A4988 driver board, as shown in the picture: 2. Add 12V power supply to the green port according to the label on the board 3.
More informationBBC micro:bit Cool Colours!
Description This is a simple tutorial demonstrating how to use an analogue input with the BBC micro:bit. The BBC micro:bit is able to read analogue voltages from sensors like Light Dependent Resistors
More informationArduino 6: Analog I/O part 1. Jeffrey A. Meunier University of Connecticut
Arduino 6: Analog I/O part 1 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
More informationECE2049 Embedded Computing in Engineering Design. Lab #0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio
ECE2049 Embedded Computing in Engineering Design Lab #0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio In this lab you will be introduced to the Code Composer Studio
More informationEXPERIMENT 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 informationIntroduction 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<Table of content> <Parts and description> <Circuit board Guide> <Pins> <Basics of Coding> <Intro to Arduino> <Intro> <Downloading Arduino IDO>
http://www.arduino.cc/
More informationArduino 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#include "DHT.h" DHT dht(dhtpin, DHTTYPE); // Date and time functions using a DS1307 RTC connected via I2C and Wire lib
#include "DHT.h" #define DHTPIN 2 // what pin we're connected to // Uncomment whatever type you're using! #define DHTTYPE DHT11 // DHT 11 //#define DHTTYPE DHT22 // DHT 22 (AM2302) //#define DHTTYPE DHT21
More informationArduino 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 informationRobotics/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 informationAdafruit 1-Wire Thermocouple Amplifier - MAX31850K
Adafruit 1-Wire Thermocouple Amplifier - MAX31850K Created by lady ada Last updated on 2018-08-22 03:40:09 PM UTC Guide Contents Guide Contents Overview Pinouts Power Pins Address Pins Data Pin Themocouple
More informationPCI-FPGA-1B User Guide
PCI-FPGA-1B User Guide Rev 1.0 (Nov. 2012) Port City Instruments, LLC 8209 Market Street, Suite A271 Wilmington, NC 28411 (Tel) 866-456-2488 (Web) www.portcityinstruments.com Copyright 2012 Port City Instruments,
More informationDigital 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 informationGraphical Analysis of Data using Microsoft Excel [2016 Version]
Graphical Analysis of Data using Microsoft Excel [2016 Version] Introduction In several upcoming labs, a primary goal will be to determine the mathematical relationship between two variable physical parameters.
More information