EE 446 Project Assignment Top Design Sensor Components Pin Assignment and Configuration Completed Physical Setup Project Tasks.

Slides:



Advertisements
Similar presentations
IO Interfaces and Bus Standards. Interface circuits Consists of the cktry required to connect an i/o device to a computer. On one side we have data bus.
Advertisements

Computer Architecture
LOGO Lab Supervisor – Dr. WH Lau EE3271 Design Laboratory.
Lab7: Introduction to Arduino
Interrupt Controller Introduction to 8259.
Programmable Interval Timer
Programmable Keyboard/ Display Interface: 8279
Lecture 8: Serial Interfaces
MICRO-CONTROLLER: A microcontroller is the brain of the robot: These are: 1. Integrated Circuits (ICs) 2. Programmable.
Introduction of Holtek HT-46 series MCU
68HC11 Polling and Interrupts
Interrupts What is an interrupt? What does an interrupt do to the “flow of control” Interrupts used to overlap computation & I/O – Examples would be console.
Coordinate Based Tracking System
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
Introduction.
Lecture 27: LM3S9B96 Microcontroller – Inter- Integrated Circuit (I 2 C) Interface.
Timers and Interrupts Shivendu Bhushan Sonu Agarwal.
Lecture 111 Lecture 11: Lab 3 Overview, the ADV7183B Video Decoder and the I 2 C Bus ECE 412: Microcomputer Laboratory.
Using the PSoC USB March 17, 2012 Lloyd Moore, President/Owner.
USART interrupt.
Ballooning Bundle. What is a Microcontroller? Small computer with a processor core, memory and programmable input/output Continuously repeats software.
COE4OI5 Engineering Design Chapter 2: UP2/UP3 board.
Input/Output mechanisms
Unit 10.2 Timer Examples. Example – Music Generation Channel 6 – Set up as a timer Output to Generate Square Waves Channel 4 – Set up as a timer Output.
Typical Microcontroller Purposes
EasyC Programming Workshop January 30, 2008 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
Autonomous Helicopter James LydenEE 496Harris Okazaki.
I2C Master Core Simulation Environment. I2C Master Core Requirements Coverage (*) Requirement I2C IP RS-906: The I2C IP shall define the period of time,
Chapter 7 Larger Systems and the PIC 16F873A The aims of this chapter are to introduce: The architecture of the 16F873A microcontroller; The 16F873A memory.
Chris Wallau ECE5330 November 17, 2008 Remote Thermometer and Display.
By James Cockrell and Justin Loveless
Network and Systems Laboratory nslab.ee.ntu.edu.tw.
Chapter 5 - Interrupts.
7. IRQ and PIC ENGI 3655 Lab Sessions. Richard Khoury2 Textbook Readings  Interrupts ◦ Section
CSCI1600: Embedded and Real Time Software Lecture 16: Advanced Programming with I/O Steven Reiss, Fall 2015.
Department of Electronic & Electrical Engineering Serial interfaces Serial Interfaces allow communication between devices sending one bit at a time. In.
Serial Peripheral Interface SPI I2C (i-squared cee)
EE/CS-352: Embedded Microcontroller Systems Part V The 8051 Assembly Language Interrupts.
BIOS and DOS Interrupts Basic Input /Outpu System Disk Operating System.
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
Embedded systems and sensors 1 Part 2 Interaction technology Lennart Herlaar.
Components of a typical full-featured microcontroller.
Microcontroller basics Embedded systems for mortals.
Tutorial 9 Module 8 – 8.1,8.2,8.3. Question 1 Distinguish between vectored and non-vectored interrupts with an example Build a hardware circuit that can.
Microcontroller basics Embedded systems for mortals.
I 2 C FOR SENSORS IN THE DOM Nestor Institute Koutsoumpos Vasileios - Nestor Institute 1.
1. PIC ADC  PIC18F877 has 8 analog input channels i.e. port A pins(RA0 to RA5) and port E pins(RE1 and RE2). These pins are used as Analog input pins.
MICROCONTROLLER AND INTERFACING Presented by: Shefali Jethva ( ) Shivali Panchal ( ) Komal Soni ( ) Roll no. :- 14EC308.
Application Case Study Christmas Lights Controller
Cypress Roadmap: Platform PSoC®
Application Case Study Security Camera Controller
Environment Temperature Monitor
CS501 Advanced Computer Architecture
Code review: GPIO, timer, and ISR
68HC11 Interrupts & Resets.
Microcontroller basics
NS Training Hardware.
Interrupt Source: under
I2C PROTOCOL SPECIFICATION
8259 Chip The Intel 8259 is a family of Programmable Interrupt Controllers (PIC) designed and developed for use with the Intel 8085 and Intel 8086 microprocessors.
Introduction to Microprocessors and Microcontrollers
Internet-of-Things (IoT)
8259 PROGRAMMABLE INTERRUPT CONTROLLER
Blinkers ++ Team 5.
8259 PROGRAMMABLE INTERRUPT CONTROLLER
8051 Micro Controller.
Self-Adjusting Helmet
I/O Experiments Assignment 1.
Presentation transcript:

EE 446 Project Assignment Top Design Sensor Components Pin Assignment and Configuration Completed Physical Setup Project Tasks

Project Top Design

Motion Detector (HC-SR501) Select Digital Input Pin component Drag and drop to design

Motion Detector (HC-SR501) Configure Digital Input Pin

Motion Detector (HC-SR501) Configure Digital Input Pin

PWM – Servo Motor Add PWM component to design.

PWM – Servo Motor Configure PWM

PWM – Servo Motor Configure PWM

PWM – Clock Add clock to design.

PWM - Clock Configure Clock

PWM - Clock Configure Clock

PWM - Clock Connect the clock to the PWM.

Servo Motor – Digital Output Pin Add Digital Output Pin.

Servo Motor – Digital Output Pin Configure digital output pin, then connect it to the pwm output port of the PWM.

Servo Motor – Digital Logic Zero Add Digital Logic Zero.

Servo Motor – Digital Logic Zero Connect Digital Logic Zero to the kill and reset inputs of the PWM.

Timer Add Timer.

Timer Configure Timer

Timer Configure Timer

Timer Clock Configure the clock component attached to the timer.

Timer Clock

Interrupt Service Routine (ISR) Add isr and connect it to the interrupt output of the timer.

Interrupt Service Routine (ISR) Configure the isr.

Interrupt Service Routine (ISR) Configure the isr.

LED Output Add a Digital Output pin and attach it to the tc ouput of the timer. Configure the Digital Output Pin.

Cap Sense Add a CapSense component.

Cap Sense - General Configure the CapSense component.

Cap Sense - General Configure the CapSense component.

Cap Sense - Widgets Configuration Configure the CapSense component.

Cap Sense - Widgets Configuration Add Button0, Button1, and LinearSlider0 Configure the CapSense component.

Cap Sense – Scan Order Configure the CapSense component.

Cap Sense – Scan Order Configure the CapSense component.

Cap Sense – Advanced Configure the CapSense component.

Cap Sense – Advanced Configure the CapSense component.

LCD Char Display Add a Character LCD component.

LCD Char Display Configure the Character LCD.

Inter-Integrated Circuit (I2C) Add an I2C Master component.

Inter-Integrated Circuit (I2C) Configure the I2C.

Inter-Integrated Circuit (I2C) Configure the I2C.

I2C – Serial Clock (SCL) Type Configure the I2C.

I2C – Serial Data Line (SDL) Type Configure the I2C.

Digital Output Pin – Temp Alarm Add a Digital Output Pin to the design. Do not connect it to anything. Configure the pin.

Pin Configuration

Complete Physical Set-up LCD Display Servo Motor JTAG Programming Cable Cap Sense Area P0_6 Cap Sense TMP 102 Sensor Power Cable USB to JTAG Cable JTAG PROG HC-SR501 Motion Sensor

PSoC and PSoC-related Datasheets

PSoC Tutorials and Project Documents

Assignment 1: Initialization / Startup Code

Assignment 2: PWM Configuration

Assignment 3: Motion Detection Infinite Loop

Assignment 4: Timer, TMP102, and Interrupt Service Routine (ISR)

Assignment 5: Password Set

Assignment 6: LCD Configuration

Assignment 7: Password Verification

Assignment 8: I2C Protocol Configuration - TMP 102 Sensor

Transaction over I2C Bus

Datasheet: CyI2C_V_2.0_ _I2C_Master_Multi_Master_Slave

Assignment 9: Setting ISR Interrupt using Timer

Assignment 10: Initialize TMP 102 Interrupt

New Slides

Timer: Datasheet Access

Timer API

Starting Timer – main.c

TMP102.H Header File temp_interrupt is a software flag that is set when the interrupt occurs when this flag is set, read the temperature in the main.c

Interrupt Service Routine Clearing Register, Setting a flag Interrupt Service Request (ISR) has been set to TEMPISR vector Read Timer Status Register to clear Interrupt and set the software flag

Interrupt Service Routine: Datasheet Access

Interrupt Service Routine API

Interrupt Service Routine Function Description: ISR_Start

Interrupt Service Routine Function Description: ISR_SetVector

Interrupt Service Routine Initializing Interrupt Set the Interrupt Vector : ISR_SetVector(…)

Conversion Rate Time

TMP102 Serial Bus Address

I2C I2C connects to multiple slave devices (e.g. temperature sensor). Each of the slave devices has a unique address To access I2C devices a device address, register address, a number of bytes, buffer pointer have to be specified In the project, use existing PSoC_i2c_read() function to read information from the temperature sensor

I2C Datasheet Access

Provided I2C Functions

I2C Read Function