2 Lines Electronics I 2 C Analyzer Ching-Yen Beh Robert S. Stookey Advisor: Dr. J. W. Bruce.

Slides:



Advertisements
Similar presentations
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Advertisements

EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
I/O Unit.
Processor System Architecture
By Solid State Workshop. ● A microcontroller is an integrated circuit that is programmed to do a specific task. ● Microcontrollers are really just “mini-computers”.
Flatiron Mobile Device Security Monitor Thomas Horacek Lucas Greve.
Team Monte Cristo Joseph Carrafa Sharon Clark Scott Hassett Alex Mason The Deep Fried Game Station.
Programmable logic and FPGA
Aztec PC Scope Preliminary Design Review Fall 2006 Michael MasonJed Brown Andrew YoungsJosh Price.
Coordinate Based Tracking System
HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx Kx16 4Kx HT46R23 (OTP) HT46C23 (Mask) HT46R24.
(Voice Activated Home Control System). Project Summary Control any IR activated device –Via voice command Learnable –Learn IR Code –Learn Voice Command.
Aztec PC Oscilloscope Michael Mason Jed Brown Josh Price Andrew Youngs.
ASPPRATECH.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
IDine A Camera based Multi-touch Dining table Tejas D Kulkarni Abhisheyk Gaur Himanshu Raghav Ankur Mishra.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Figure 1–1 Graph of an analog quantity (temperature versus time). Thomas L. Floyd Digital Fundamentals, 9e Copyright ©2006 by Pearson Education, Inc. Upper.
Edited by Mandar More Technical Manager, Ninad`s Research lab Ninad243.weebly.com MODERN OFFICE MANAGEMENT TOOL FOR SELECTIVE DATA.
To control the movement of a manual wheelchair by means of human voice for paralyzed patients. AIM:
Microprocessor Block Diagram
PIC microcontrollers. PIC microcontrollers come in a wide range of packages from small chips with only 8 pins and 512 words of memory all the way up to.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
4.0 rtos implementation part II
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
Typical Microcontroller Purposes
Test your projects… ….from your PC!. Today’s Presentation Background Problem Statement Objectives Milestones Technical Approach Future Work Achievements;
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
Group 8: Video Game Console Team Members: Rich Capone Hong Jin Cho Dave Elliott Ryan Gates.
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
CDR- Digital Audio Recorder/Player Brian Cowdrey Mike Ingoldby Gaurav Raje Jeff Swetnam.
ECE 477 Design Review Team 9  Fall 2009 Josh Piron, Jacob Pfister Kevin Templar, Mike Phillips,
MICROPROCESSOR AND MICRO CONTROLLER
MICROCONTROLLER SYSTEMS Part 1. Figure 1.1Elements of a digital controller CPU Central Processing Unit Input Peripherals Output Peripherals ROM Read Only.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Michael Lisoski Leblanc Meneses Jason Schaer Bryan Staton.
©F.M. Rietti Embedded Systems I Controllers Data Sheets.
Embedded Network Interface (ENI). What is ENI? Embedded Network Interface Originally called DPO (Digital Product Option) card Printer without network.
©2008 R. Gupta, UCSD COSMOS Summer 2008 Peripheral Interfaces Rajesh K. Gupta Computer Science and Engineering University of California, San Diego.
Humble Hubble Team 18 Tim Brown. Abstract The proposed project is a self-aiming telescope. This telescope will obtain its global position and the local.
Midterm Presentation Music Alarm Clock. Craig Bilberry Team Leader Electrical Engineering Layout and Design Atomic Clock Signal Will Kalish Electrical.
Lecture on Central Process Unit (CPU)
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
Components of a typical full-featured microcontroller.
CONTENTS Objective Software &Hardware requirements Block diagram Mems technology Implementation Applications &Advantages Future scope Conclusion References.
SUBMITTED BY EDGEFX TEAM PORTABLE CODED WIRELESS MESSAGE COMMUNICATION BETWEEN TWO PARTIES SECRETLY WITH LCD DISPLAY.
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
Mobile phone keypad sensed password entry for door opening.
ENERGY METER TO INDICATE BILLING IN RUPEES FOR LOAD WISE OR DAY WISE
Introduction to Microcontroller Technology
Fan Assembly Driven by Magnetic Fields
SUBMITTED BY EDGEFX TEAM
EKT124 Digital Electronics 1 Introduction to Digital Electronics
Under the Guidance of Submitted by Project Title
Under the Guidance of Submitted by Project Title
Project Title EVM IN 8051 Under the Guidance of Submitted by.
PRE-STAMPEDE MONITERING AND ALARM SYSTEM
Microcontroller Based Digital Code Lock
DIGITAL CALCULATOR USING 8051
Project Title EVM IN PIC Under the Guidance of Submitted by.
RAILWAY TRACK SNAP NOTIFICATION
I2C PROTOCOL SPECIFICATION
Introduction to Microprocessors and Microcontrollers
Interfacing Memory Interfacing.
Manual Robotics ..
ECE 477 DESIGN REVIEW TEAM 14  SPRING 2010
Presentation transcript:

2 Lines Electronics I 2 C Analyzer Ching-Yen Beh Robert S. Stookey Advisor: Dr. J. W. Bruce

I2C Background Serial data transfer protocol Serial data transfer protocol Developed in 1992 by Phillips semiconductor Developed in 1992 by Phillips semiconductor

I2C ? Digital Peripheral Communications Digital Peripheral Communications –2 bi-directional bus lines –Conserves I/O pins on controller Data Transfer Data Transfer –Addresses a slave listener –Encoded into 8-bit bytes

User Problems Debug Complexity Debug Complexity Equipment Costs Equipment Costs

User Problems Figure represents I 2 C data SDA SDA SCL SCL Start Stop Signal Signal Data byte (F1)

Solution Decodes Data Decodes Data –Hexadecimal Wave Form –Individual Address Shown Cost Cost –Roughly $65.00

What is inside our device Ubicom SX52 Micro controller Ubicom SX52 Micro controller –Analyze data transferred from the I 2 C bus, and store them into memory. 256 x 128 Hyundai LCD Module 256 x 128 Hyundai LCD Module –Display the analyzed data in waveform 3 leads 3 leads –Get signals from I 2 C bus line. –Ground loop. 4 S.P.S.T pushbuttons 4 S.P.S.T pushbuttons –Control the Menu/Display setting 1 rotary encoder 1 rotary encoder –Change the setting value

Ubicom SX52 MCU 40 I/O pins 40 I/O pins 4K Words programming space 4K Words programming space 262 Bytes RAM 262 Bytes RAM Voltage Range 3.0 – 5.5 V Voltage Range 3.0 – 5.5 V Operating Temperature 0ْC + 70ْC Operating Temperature 0ْC + 70ْC Program in Assembly Language Program in Assembly Language

Hyundai LCD Module Viewing area: 5" x 2.75". Viewing area: 5" x 2.75". 256 x 128 pixel. 256 x 128 pixel. STN gray positive type display. STN gray positive type display. 5 Vdc logic. 5 Vdc logic. 18 Vdc LCD drive voltage. 18 Vdc LCD drive voltage. Physical area 5.8" x 4.58“ Physical area 5.8" x 4.58“

Pushbuttons and Rotary Encoder Pushbuttons Pushbuttons –S.P.S.T –Normally Open Rotary Encoder Rotary Encoder –Grayhill Series 25L –36 Position –3 Pin PCB Mount

Block Diagram Ubicom SX52 LCD Module 12 SDASCL Push Button 1 Push Button 2 Push Button 3 Push Button 4 2 Rotary Encoder

Design Specification Performances Performances –I 2 C Mode Support 100K bps in Standard Mode 100K bps in Standard Mode 400K bps in Fast Mode 400K bps in Fast Mode –Show data in waveform –Store 128 bytes of sniffed data for best case and 64 bytes of sniffed data for worse case. Physical appearance Physical appearance –Handheld Device (approx. 6” x 6” x 2” ). –Not more than 3.5 lbs.

Design Specification (cont) User Interface and Options User Interface and Options –GUI menu –Data filtering –Start byte –Waveform

Design Specification (cont) GUI Menu Interface

Design Specification (cont) Master and Slave Data Waveforms

Design Specification (cont) Power consumption Power consumption –Three 9V batteries. –4 Hours Operation

Design Parts List Economics Economics –Ubicom SX52 - $ 7.32 –50MHz Crystal - $ 1.66 –LCD Module - $ –Rotary Encoder - $ 3.26 –4 Pushbuttons - $ 1.50 –3 Test leads - $ 1.00 batteries - $ 6.50 –Chassis - $ –Labor - $ –Machinery operating cost - $ 5.00 Manufacturing Cost <$65 Manufacturing Cost <$65

Design Consideration Manufacturability Manufacturability –Our device can be easily mass produced for a cheap cost. –Simple circuit requires less machining time.

Design Consideration Health and Safety Health and Safety –Our device is operated by batteries and contains sharp leads. Therefore, it’s not advisable for kids below 6. Legal Legal –Applicable FCC rules and regulation.

Implementation Hardware Hardware –Breadboard circuit development –PCB prototype Software Software –2 Main Threads I 2 C, Button, and Rotary (Background) I 2 C, Button, and Rotary (Background) Data management (Background) Data management (Background) Flag processing (Foreground) Flag processing (Foreground) LCD communication (Foreground) LCD communication (Foreground)

Power On Processor/LCD Initialization Main Flag Processing LCD Refresh Software Foreground Loop

Software Background Loop ISR ISRSate = 1 I2C Buss Monitoring ISR ISRSate = 2 Push Button ISR Rotary ISR End Yes No

Minimum Requirements Read and Decode data Read and Decode data Works with standard and fast mode Works with standard and fast mode Display data on LCD screen Display data on LCD screen Hand-held battery operation Hand-held battery operation

Timeline DateTaskDuration (days) Jan 7 – Jan 13Research & Looking for parts7 Jan 14 – Jan 17 Start simple coding on Ubicom SX28 while waiting for the SX52 Chip to arrive. 4 Jan 18Hardware hook-up for Ubicom SX52, Rotary Encoder, and Buttons 1 Jan 19 – Jan 25 Coding - Able to read the signal from SCL, SDA and process it into byte form 7 Jan 26 – Jan 29 Hardware hook-up of LCD and MCU on prototype board 4 Jan 30 – Feb 5Coding for LCD drawing7

Timeline (cont) DateTaskDuration (days) Feb 6 – Feb 14More coding for I2C9 Feb 15 – Feb 21 Coding - Combine LCD and I2C7 Feb 22 – Feb 23 Coding on LCD Display Layout and User Selection Function 2 Feb 24 – Feb 25 Prepare for Critical Design Review Presentation2 Feb 26Critical Design Review Presentation1 Feb 27 – March 2 More coding on LCD Display Layout and User Selection Function 4 March 3 – March 16 Coding Displaying data on LCD14

Timeline (cont) DateTaskDuration (days) March 17 – March 23 Final coding7 March 24 – March 30 Testing7 March 31 -April 8Bugs and Problems9 April 9 – April 18Packaging10 April 19 – April 22Documentation4 April 23 – April 24Prepare for Final Presentation2 April 25Final Presentation1

Design Problems LCD requirements are high LCD requirements are high –-18 volt to drive LCD –Takes two 9-volt batteries Processor Requirements Processor Requirements –High power consumption at 50 Mhz. SX Programmer SX Programmer –Heats up!!

Possible Solutions D/C Converter D/C Converter –Battery input –Dual Output (logic and LCD drive) LCD LCD –5-volt drive voltage Processor Processor –Slower clock speed (30 Mhz)

Device Testing Microprocessors II class project Microprocessors II class project –Multiple I 2 C devices –All different data lengths Data Bus Speeds Data Bus Speeds –100 and 400 kbits/second Power Consumption Power Consumption –Battery life

Questions?

References –I2C Specification –Controller and software information –LCD manual and specification