Weather-Sensing Fabulous Weather-Sensing Data-logger! Introducing the… 100% designed and manufactured at the Vigyan Ashram FabLab!

Slides:



Advertisements
Similar presentations
Chapter 3 Basic Input/Output
Advertisements

Computer Architecture
INPUT-OUTPUT ORGANIZATION
Remote set-up instructions Life is meant to be interactive!
Interrupts, Low Power Modes and Timer A (Chapters 6 & 8)
Programmable Interval Timer
I/O Unit.
Music Tuned Into Your Fingers April 5,2002 Goals of Project Create a glove that sends out signals based on finger position Use flex sensors, and an onboard.
Mehmet Can Vuran, Instructor University of Nebraska-Lincoln Acknowledgement: Overheads adapted from those provided by the authors of the textbook.
I/O Multiplexing The role of the ‘poll()’ method in Linux device-driver operations.
Chapter 6 Limited Direct Execution
Lesson 10-Controlling User Processes. Overview Managing and processing processes. Managing jobs. Exiting/quitting when jobs have been stopped.
Input-output and Communication Prof. Sin-Min Lee Department of Computer Science.
Fluke thermometer 54II Press green button to turn the thermometer on or off. If it does not turn on replace batteries.
Implementing interrupt driven IO. Why use interrupt driven IO? Positive points –Allows asynchronous operation of IO events –Good use of resources –Leads.
6-1 I/O Methods I/O – Transfer of data between memory of the system and the I/O device Most devices operate asynchronously from the CPU Most methods involve.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
Design and Development of High Performance PC Based Logic Analyzer MSc Project by Rab Nawaz Advisor: Dr. Shahid Masud.
Basic Input/Output Operations
Computer System Structures memory memory controller disk controller disk controller printer controller printer controller tape-drive controller tape-drive.
ECE 4220 Real Time Embedded Systems Final Project Presentation Spring 2014 University of Missouri Columbia By: Michael Brauch Temperature Data Logger.
Practical Session No. 10 Input &Output (I/O). I/O Devices Input/output (I/O) devices provide the means to interact with the “outside world”. An I/O device.
INPUT-OUTPUT ORGANIZATION
2 Lines Electronics I 2 C Analyzer Ching-Yen Beh Robert S. Stookey Advisor: Dr. J. W. Bruce.
What is the It is the Next Generation, Calibration Station for the GasBadge ® Plus Personal Monitor
SudokuEHG Michelle Brown Matt Haggenmiller Thomas Troch CE Design Projects Design Review December 12, 2007.
Embedded Systems Principle of Debugger. Reference Materials kl.de/avr_projects/arm_projects/#winarmhttp://
ADAM Single Writer User’s Manual ETA Chips Co., Kr, 2011 Rev 1.0.
General System Architecture and I/O.  I/O devices and the CPU can execute concurrently.  Each device controller is in charge of a particular device.
COMP201 Computer Systems Exceptions and Interrupts.
Acceleration Based Pedometer
EE 446 Project Assignment Top Design Sensor Components Pin Assignment and Configuration Completed Physical Setup Project Tasks.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Gauge Operation and Software by Scott A. Ager. Computer Recommendations 750 MHz Pentium III 64 Meg SRAM 40 Gig Hard Drive 1024 x 768 graphics CD Writer.
 Once the system has been installed it will be monitored to check whether it is working correctly. Sometimes problems with a system will not be found.
The Functions of Operating Systems Interrupts. Learning Objectives Explain how interrupts are used to obtain processor time. Explain how processing of.
Tami Meredith, Ph.D. CSCI  Devices need CPU access  E.g., NIC has a full buffer it needs to empty  These device needs are often asynchronous.
Microprocessors 1 MCS-51 Interrupts.
Chapter 33 Troubleshooting Windows Errors. STOP Errors  When Microsoft Windows XP encounters a serious problem  And the operating system can't continue.
Timer Timer is a device, which counts the input at regular interval (δT) using clock pulses at its input. The counts increment on each pulse and store.
13-Nov-15 (1) CSC Computer Organization Lecture 7: Input/Output Organization.
CSNB374: Microprocessor Systems Chapter 5: Procedures and Interrupts.
1 Interrupts, Resets Today: First Hour: Interrupts –Section 5.2 of Huang’s Textbook –In-class Activity #1 Second Hour: More Interrupts Section 5.2 of Huang’s.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
Low Power FM Receiver Andrew Young November 17, 2008.
Formula SAE Ryan Langley
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
I NTRODUCTION TO PIC PROGRAMMING By : S HERIF H ARHASH.
CSCI1600: Embedded and Real Time Software Lecture 16: Advanced Programming with I/O Steven Reiss, Fall 2015.
Garmin GPS III Plus Setup for Data Collection. Objective Select settings appropriate for each project.
Embedded Systems Design 1 Lecture Set 8 MCS-51 Interrupts.
Firmware (CLP-310 Series).
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
Teaching Digital Logic courses with Altera Technology
Interrupts ELEC 330 Digital Systems Engineering Dr. Ron Hayne
Interrupts and Exception Handling. Execution We are quite aware of the Fetch, Execute process of the control unit of the CPU –Fetch and instruction as.
Final Presentation Smart-Home Smart-Switch using Arduino
Networked Embedded Systems Pengyu Zhang & Sachin Katti EE107 Spring 2016 Lecture 4 Timers and Interrupts.
Embedded Real-Time Systems Processing interrupts Lecturer Department University.
8251 USART.
KM SERIES VENDING MACHINES OPERATION MANUAL. ARM Main board & Driver Board DRIVING BOARD MAIN BOARD.
The Troubleshooting Process. Hardware Maintenance Make sure that the hardware is operating properly.  Check the condition of parts.  Repair or replace.
The HCS12 SCI Subsystem A HCS12 device may have one or two serial communication interface. These two SCI interfaces are referred to as SCI0 and SCI1. The.
Chapter 6 Input/Output Organization
Microprocessor Systems Design I
Computer Architecture
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
CSCI1600: Embedded and Real Time Software
Error Handling.
Presentation transcript:

Weather-Sensing Fabulous Weather-Sensing Data-logger! Introducing the… 100% designed and manufactured at the Vigyan Ashram FabLab!

Topics What it is and how to use it (Demos) Why we made it How it works (sort of) How we made it How you can make more!

What is a Weather-Sensing and how is it used? What is a Weather-Sensing Data-logger, and how is it used?

Why do we need a Weather-Sensing ? Why do we need a Fabulous Weather-Sensing Data-logger ?

How does it work? (What’s going on down there?)

The Circuit

CPU = Brain =

Clock = Heartbeat =

Buttons = Ear =

LCD = Mouth =

Memory = Memory = 16 kB ????? kB

Sensor = ear/eye/skin/ nose/etc =

Information 0V, 5V, V 5V A, B, C, D Aa k p ma fablab Aamabaa =

Code = Instructions How to wash your plate: Rinse plate with water. Empty water into bucket. Wait in line for sink. At sink, apply soap to plate. Scrub plate. Rinse with water. Submit for inspection

Communication =

It All Comes Down To: Hardware (Stuff you can touch) Software (Stuff you can’t touch) Firmware (Something in between)

So there you have it!

The design process (i.e. why did we have to spend ALL that time in the FabLab?)

What and Why? Problem Definition: What are we trying to do and why? Questions

How? Hardware, Software and Firmware Specification: How are we going to do it? Breaking The problemInto Parts ThatWeCan DealWith

Using What? Setting Up the Design Environment: Finding and learning the tools we need.

With What? Parts Procurement: Getting the bits and pieces we need

Design Build Test Evaluate Implementing the solution Answers

An Indication of Complexity Software: 2000 lines of code! Firmware: 1500 lines of code! Hardware: Three prototypes Many many hours of design, testing and debugging.

High level state diagram v5 Initialization Upload data Sensor test “Show sensor readings” request Receive setup data Take readings and log data Display status Status request UART: on any character Timer interrupt every 0.01 sec INTERRUPTS (ISRs) Task done Task done Setup request Upload request Task done ISRs process button pushes, Uart, timers.(Specific states may have some interrupts disabled). ISRs set flags that are examined within states at appropriate times. No state transitions occur before tasks complete. State transitions are determined only in one of the two idle states. Idle Task done Status request Test request Log interval timeout Eventually we may want to allow data logging to cause an exit from Display Status and Sensor Test Modes Task done Main loop Do setup -on uart rx “S” Sensor Test – on “ST” key press Display status – on “DS” key press Log Data – on logging Interval ” Upload Data – On uart rx ‘U” STATE REQUESTS Start/Stop Logging Clear memory – On uart rx “C Start/Stop logging – on button press

Vigyan Ashram Weather Logger Software application state diagram Help pages Main Menu Setup Establish Connection To Datalogger Quit Upload Clear Memory [S]etup, [U]pload [C]lear Memory [Q]uit Failed to connect and user does not want to retry, or, Device is still logging and user does not want to stop logging. Success [H]elp [B]ack Completed task Completed task or [B]ack

[S]etup, [U]pload [C]lear Memory Ask user: Retry / Back? [R]etry Logger response? [B]ack Invalid or no response Ask user: Stop logging or Go Back? Ask chip to stop logging Establish Connection: Receive ‘L’ (logging enabled) Receive ‘A’ck Logger response? Timeout Error msg Main Menu Send ‘S’, ‘U’ or ‘C’ [S]top logging Send ‘D’ Receive ‘D’ Success msg End comm with logger Send ‘Q’ to logger Setup or Upload or Clear memory modes Success msg Flowchart for “Establish Connection” state User presses any key Notes: -Every time we ask the user for input, we provide a message if the input is not valid. [B]ack

How to make your own Weather-Sensing ? How to make your own Fabulous Weather-Sensing Data-logger ?

Mill!

Drill!

Solder!

Enclose!

Results

Future Additions Other sensors –Rain gauge –Solar radiation sensor –Wind speed/direction sensor USB Wireless

Please Keep In Touch Michelle: Scottie: