SD Card Data Logger Senior Design II Final Presentation April 21, 2011.

Slides:



Advertisements
Similar presentations
Categories of I/O Devices
Advertisements

MM Player Supervised by: Dr. Luai Malhis. Prepared by: Mustafa Assaf & Mahmoud Musa.
22 March Controller Diagnostics. 22 March Topics Covered: Diagnostics that allows you to check basic controller and reader functionality through.
Autonomous Helicopter: James Lyden Harris Okazaki EE 496 A project to create a system that would allow a remote- controlled helicopter to fly without user.
Track Timer Final Semester Presentation Senior Design I April 19, 2011.
1 Electrical and Computer Engineering Cameron Proctor Ramsey Khudairi Thomas Gilbert Chad Young MDR Presentation TekBand.
Initial Position Orientation Tracking System (IPOTS) Group Members: Keiichi McGuireHenry Pham Marc TakamoriScott Spiro.
DIRECT MEMORY ACCESS CS 147 Thursday July 5,2001 SEEMA RAI.
Final Semester Presentation Senior Design I April 20, 2010.
SD Card Data Logger Senior Design I Mid-Semester Presentation Sep 30, 2010.
(Voice Activated Home Control System). Project Summary Control any IR activated device –Via voice command Learnable –Learn IR Code –Learn Voice Command.
Diffusion Furnace Controller Design Team 14 Joe Grady James Crow Hongyu Chen Prakalp Sudhakar Victor Villagomez Client/Faculty Advisor: Dr. Gary Tuttle.
MICRO SD CARD INTERFACING WITH MSP430
Wireless User Interface for Variable Frequency Drives Team 168 Alex Shuster (EE) Michael Kloter (EE) Christopher Perugini (EE) Kevin Wei (EngPhys - EE)
Critical Design Review February 23 rd, 2010 Hassan Alabudib Kamal Sabi Peng Chen Marisol Lozano Roman Yirui Huang.
2 Lines Electronics I 2 C Analyzer Ching-Yen Beh Robert S. Stookey Advisor: Dr. J. W. Bruce.
PIC Evaluation/ Development Board Dec02-12 December 10, 2002 Client: ECpE Department Faculty Advisors: Dr. Rover, Dr. Weber Chad Berg, Luke Bishop, Tyson.
 Purpose of our project  Get real world experience in ASIC digital design  Use same tools as industry engineers  Get practical experience in microprocessor.
The University of Iowa. Copyright© 2005 A. Kruger 1 Introduction to Wireless Sensor Networks Engineering Issues I 31 March 2005.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
Zach Molden Shamlan Al-Roomi NJ Purevsuren Raied Farash Aadiel Rizvi C ritical D esign R eview.
Universal Asynchronous Receiver/Transmitter (UART)
Industrial Reference Design Platform RS-232 Interface Developed by the TSC Americas Release 1.0.
Autonomous Helicopter James LydenEE 496Harris Okazaki.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Final Presentation Senior Design II November 19, 2013 MyBand Fitness [1]
Voice-Activated Television Remote Control (VAR) Senior Design I Mid-Semester Presentation [1]
Aerospace Digital Communication Instrument Senior Design 1 Presentation.
William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder.
Accuracy In Your Back Pocket Mid-Semester Presentation March 26, 2015.
Android Multi-Meter (AMM)
The Smart/Safe Car Seat SENIOR DESIGN I FINAL PRESENTATION.
SD Card Data Logger Senior Design I Mid-Semester Presentation Sep 30, 2010.
Design Team : Advisor: Dr. Edwin Project Web Site: Client: Paul
Hybrid Power Controller (HPC) Final Presentation Senior Design II.
RFID AC SWITCH Final Presentation April 24, 2008.
Daredevil Robot Direction Module (DRDM) Senior Design II Midterm Presentation.
P09311: FPGA Based Multi-Purpose Driver / Data Acquisition System Sponsor: Dr. Marcin Lukowiak Team MemberDisciplineRole Adam Van FleetEEProject Manager/Documentation.
Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical.
Aerospace Digital Communication Instrument Senior Design Presentation.
Part A Final Dor Obstbaum Kami Elbaz Advisor: Moshe Porian August 2012 FPGA S ETTING U SING F LASH.
Medication Compliance Alarm (MCA) Senior Design I Final Presentation.
LOW-VISION AUDIO PLANNER Mid Semester Presentation Senior Design I March 5th, 2015.
Mid-Term Presentation October 5, Team Members Charlie Mraz EE Team Leader Analog Design PCB Layout Allen Joiner EE Microprocessor Design Power Supply.
Daredevil Robot Direction Module (DRDM) Senior Design I Midterm Presentation.
Daredevil Robot Direction Module (DRDM) Senior Design II Final Presentation.
Hybrid Power Controller (HPC) Mid-Semester Presentation Senior Design II.
Inside the dsPIC33FJ256GP710. Let’s call it a dsPIC33 PIC uC series made by Microchip Compiler, simulator, other goodies are free Programmable in C Can.
1 Chapter Overview Modems The Internet and Web Browsers.
Final Presentation Music Alarm Clock. Team Members Will Kalish Electrical Engineering Removable Media Device Audio Decoder Eric Womack Electrical Engineering.
ECE 477 Final Presentation Team 13  Spring 2012 Martin Pendergast, Stephen Edwards, Nick Kwolek, David Duelmler.
Mid-Term Presentation February 28, Team Members Charlie Mraz EE Team Leader Analog Design PCB Layout Allen Joiner EE Power Supply Purchasing/Finance.
Lecture Overview Shift Register Buffering Direct Memory Access.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Microcontroller basics Embedded systems for mortals.
PROJECT OVERVIEW GSM SECTION BLUE TOOTH SECTION SOFTWARE DEVELOPMENT CIRCUIT DEVELOPMENT LESSONS LEARNED AND CHALLENGES FACED.
Networked Embedded Systems Pengyu Zhang EE107 Spring 2016 Lecture 8 Serial Buses.
DALCON RFID IMPROVEMENT ECE 599, SPRING 2011 Brad Gasior, ECE Mike Fradkin, ECE Richard Young, ECE Sean Rinehart, ECE.
Chip Config & Drivers – Required Drivers:
Michael Rahaim, PhD Candidate Multimedia Communications Lab
Chapter 13: I/O Systems Modified by Dr. Neerja Mhaskar for CS 3SH3.
EE 107 Fall 2017 Lecture 5 Serial Buses – UART & SPI
Microprocessor Systems Design I
Operating Systems (CS 340 D)
Remote Controlled Smart Socket
Cumulative Design Review
Asynchronous Serial Communications
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Maxsony Technology Limited
Chapter 13: I/O Systems.
Presentation transcript:

SD Card Data Logger Senior Design II Final Presentation April 21, 2011

Team Advisor: Dr. Patrick Donohoe James Felkins (EE) Team Leader, Web Design, Test Board Harry Corey (EE) Test Cases, Hardware Design, Part Procurement Brendan Babiak (EE) Prototype Construction, Buffering Scheme, MDDFS Jaron Martin (CPE) Command Set, SPI/UART Input, MDDFS

Introduction to Project problem/solution tech./practical constraints System Overview high-level system design software solutions Hardware Design power PCB Testing subsystems features Questions

The S-Drive is an OEM module that accepts data through a serial connection and saves it to an SD card.

SD cards are a viable storage medium with unique advantages but involve complex overhead.

The S-Drive will handle the unwanted overhead and make SD cards a more desirable solution.

NameDescription CommunicationThe device uses UART and SPI data connections. Voltage The device supports an input voltage between 3.3 or 5 V. Current Draw The device draws a maximum current of 250 mA in active mode and less than 10 uA in sleep mode. Storage Medium The device interfaces with a standard size, 32 x 24 x 2.1 mm SD card. MemoryThe device supports all SD cards up to 32 GB.

The device must cost less than $60. CompetitorPrice VDRIVE2$24.50 [4] Logomatic v2$59.95 [3] Avisaro M € (~$133) [2] [2] [4] [3]

The device must easily fit and integrate into other systems. Provided on a PCB No larger than 5 in 2 Easily mountable

Software Implementation -Microchip’s MDDFS library -Command Interface

Size constraint met

Command Set Open File for Append 1 Opens the file LOG1.TXT for appending. Only use if no file is currently open. Returns 1 if successful, else returns error code. Creates the file if it does not exist. a Open File for Read 12 - ? File name followed by \n character to represent the end of the name. File pointer will start at the beginning of the file. Use only if no file is currently open. Returns 1 after each byte if OK, else returns error code. oFile Name Close File 1 Closes the file so that another file can be opened or the SD Card can be safely removed. Use only if a file is open in either write or read mode. Returns 1 if successful, else returns error code. c Write Data [4-257] The S-Drive will append the next NumBytes received to the end of the file. Use only if the file is opened in write mode. Returns 1 after each byte if OK, else returns error code. w# of BytesData Read Data 1 Each time the r command is is received, the next byte in the file is returned and the file pointer moves one by byte. Use only if the file is opened in read mode. Returns the next byte in the file. If at EOF, starts over at beginning of file. r Move Read Pointer 12 Moves the read pointer NumBytes without replying with each byte of data. Use only if file is open in read mode. Returns 1 if sucessful, else returns error code. m# of Bytes Flush Buffer 1 Flushes the write buffer. Use to flush the buffer if you do not want to wait for the buffer to automatically get written. Use only if file is open in write mode. Returns 1 if successful, else returns error code. f Sleep 1 Forces the S-Drive to enter sleep mode. s Big File 12 - ? ? Allows for long or unknown lengths of data to be written to SD card. Use only if the file is opened in write mode. Returns 1 after each byte if OK, else returns error code. End this command by sending a NULL byte. bData NULL

Data size not pre-specified Binary files may contain all possible byte values Toggle wake pin to signal EOF

SPI & UART multiple baud rates config.txt file jumper determines mode

Flow Control 2.3 kB each buffer READY pin

Enters ‘Sleep Mode’ Enters mode via SLEEP command Dedicated WAKE signal Uses READY pin while re-initializing SD card

8 wires UART/SPI TX & RX use same lines

Standard-sized SD cards Supports adapters for mini- and micro- SD cards

Accepts 3.3 and 5 V inputs Power mode determined by jumper 5 V mode uses a low-dropout LR

Current draw SD card has own power rail SD card is uses ~250uA while inactive Sleep mode cuts power to SD card Implemented with a low-dropout LR

Power (V)Inactive Current Draw (mA) Active Current Draw (mA) Sleep Current Draw (uA) Constraint Met? Yes N/A

Baud RatePower(V)Inactive Current Draw (mA) Sleep Current Draw (uA)

Practical Constraints Small Affordable parts Mountable

Issues Disjoint ground planes SPI buses fused Issues corrected for web-site

SPI MasterSPI Slave Logic Analyzer

Realterm

Operational modes 8 possible combo’s

Python Tool Handles semantics Very slow Used to test robustness Better demo

Reading large file from SD card Took appx. 1 hour w/ Python tool for 20kB File perfectly copied Testing done in all modes ~3.5 kbps reading and writing

Sending/Receiving a large file: Intermediate MCU sends 5 million chars Data rate ~15kB/s

Command Functions All functions do their job Improper commands are ignored (no crash)

IssueConstraintActual SpecMet? Comm. InterfaceUART & SPI Voltage3.3 & 5 (V) Current Draw<10 uA (sleep)~4.5 uA Storage MediumStandard SD SD Card SizeUp to 32 GB

[7] Microchip, “PIC24F Family Reference Manual, Sect. 21 UART,” Microchip Technology Inc., January 26, [Online]. Available: [Accessed September 14, 2010]. [8] Microchip, “PIC24F Family Reference Manual, Sect. 23 Serial Peripheral Interface (SPI),” Microchip Technology Inc., March 22, [Online]. Available: [Accessed September 14, 2010]. [9] STEC, “SLDSxxxBS(I)U Data Sheet,” STEC Inc., March [Online]. Available: inc.com/downloads/flash_datasheets/SLSDxxxB_I_U pdf. [Accessed September 14, 2010]. inc.com/downloads/flash_datasheets/SLSDxxxB_I_U pdf [10] Sparkfun Electronics, “Logomatic v2 Serial SD Datalogger,” On-Line Store,2010.[Online].Available: p?products_id=8627. [Accessed:September 14, 2010]. [11] C-ONE Technology Corp., “Wide Temperature Industrial SD Card Product Specification,” May [Online]. Available: [Accessed: September 14, 2010].