Final Group project A chance to apply everything you have learnt over the past 4 sessions into one big group project.

Slides:



Advertisements
Similar presentations
Categories of I/O Devices
Advertisements

Managing Cisco IOS Software. Overview The router boot sequence Locating IOS software The configuration register Recovering Passwords Backing Up the Cisco.
SPICEWORKS Spiceworks is the new trouble ticket software where you can instantly submit a ticket to the IT team so that we can help you more quickly. This.
Lecture 6/2/12. Forms and PHP The PHP $_GET and $_POST variables are used to retrieve information from forms, like user input When dealing with HTML forms.
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Embedded Systems I2CI2C. Feature 3 wire GND SCL(clock) SDA(data) All devices share the same bus wire Using wire and, each device gain access to bus (become.
Troubleshooting Guide for Ethernet Switch FAE. Yen Ru.
Boot Issues Processor comparison TigerSHARC multi-processor system Blackfin single-core.
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.
Netprog: TCP Details1 TCP Details Introduction to Networking John Otto TA Jan 31, 2007 Recital 4.
1 27-Jun-15 S Ward Abingdon and Witney College VLAN Trunking protocol CCNA Exploration Semester 3 Chapter 4.
1 Colorado Department of Health Care Policy and FinancingColorado Department of Health Care Policy and Financing The Case Manager’s Guide to Critical Incident.
DocLive A video consultation tool for hospitals. What is DocLive? DocLive is a video consultation tool designed for healthcare. It’s a part of MedWise.
Computer Networks IGCSE ICT Section 4.
I/O Tanenbaum, ch. 5 p. 329 – 427 Silberschatz, ch. 13 p
Serial Communication Interface (SCI) Kevin Stuart Matt Betts March 27, 2007 ME 6405, Sp 07.
A volunteer is interested in our organisation, what do I do next? Friday 25 th January
The Paperless Classroom with Google Docs Eric Curts - North Canton City Schools ericcurts.com - - gplus.to/ericcurts.
Q and A for Chapter 7, 13 CS-332 Victor Norman. Coaxial Cable Q: What exactly is at the center of a coaxial cable? Is it just one wire in the middle?
 Create Events  Generate Invitations  Calendar Sharing  Search for Events  Mobile Access  Event Planning.
Interrupts and DMA CSCI The Role of the Operating System in Performing I/O Two main jobs of a computer are: –Processing –Performing I/O manage and.
Example STP runs on bridges and switches that are 802.1D-compliant. There are different flavors of STP, but 802.1D is the most popular and widely implemented.
Technical Refresher Session 3. Overview Difference between communication between devices on a single logical network and communication between different.
Intro to Arduino Programming. Draw your circuits before you build them From Arduino 330 Ohm From Arduino 330 Ohm From Arduino 330 Ohm.
VTP VTP or Virtual Trunking Protocol basically revises vlans on all the client switches once a change is made on server switch. It works over trunk links.
Triggers and Stored Procedures in DB 1. Objectives Learn what triggers and stored procedures are Learn the benefits of using them Learn how DB2 implements.
I2C Master Core Simulation Environment. I2C Master Core Requirements Coverage (*) Requirement I2C IP RS-906: The I2C IP shall define the period of time,
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
EEE440 Computer Architecture
Moving Arrays -- 1 Completion of ideas needed for a general and complete program Final concepts needed for Final Review for Final – Loop efficiency.
Design Art I grade 10 The design process What is the design process? The design process consists of a list of steps that you have to follow when you encounter.
Mtivity Client Support System Quick start guide. Mtivity Client Support System We are very pleased to announce the launch of a new Client Support System.
LAN Switching and Wireless Basic Switch Concepts and Configuration.
Computer Science By: Erica Ligons Compound Statement A compound statement- block A compound statement- is a unit of code consisting of zero or more statement.
NQC Brief Introduction – Part 2 David Schilling. NQC – Where to put code? Programs Tasks Functions Subroutines.
4P13 Week 12 Talking Points Device Drivers 1.Auto-configuration and initialization routines 2.Routines for servicing I/O requests (the top half)
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.
Extending LANs using Repeaters, Bridges, and Switches.
How Web Servers Work Put Your Name Here Class Period: Date:
Embedded Programming and Robotics Lesson 11 Arduino Interrupts 1.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
1 15-Mar-16 VLAN Trunking protocol CCNA Exploration Semester 3 Chapter 4.
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.
Chapter 3.  Help you understand what hardware is required to allow networks to work including: ◦ Repeaters ◦ Hub ◦ Switch ◦ Bridge ◦ Gateway (not needed.
1 of 20 How to use the Compass A. Compass. 2 Compass: - Provides heading relative to Magnetic North, not true North HMC5883L V input - I2C (not.
1 Terminal Management System Usage Overview Document Version 1.1.
Instructor Materials Chapter 8: DHCP
User-Written Functions
HTTP AND ABSTRACTION ON THE INTERNET
Modbus RTU CP1L with V1000 and Celciux.
Introduction to Networking Recital 4
Reducing energy use Coxhoe Primary School.
© 2002, Cisco Systems, Inc. All rights reserved.
Communication Lines Fundamentals.
Modbus with the AKD Using Modbus Poll and Wireshark Rev. F Dec
Firewall Exercise.
Lesson #4: Short Writing Tasks
Reference Sources Profibus Documentation Contacts
CSCI1600: Embedded and Real Time Software
Topic 5: Communication and the Internet
Remote Login: Telnet Objectives Chapter 18
By - Ricardo Sanchez, Ken Wolters and William Hibbard
2 - IP Routing.
CCNA 3 v3 JEOPARDY Module 8 CCNA3 v3 Module 8 K. Martin.
CCNA 3 v3 JEOPARDY Module 8 CCNA3 v3 Module 8 K. Martin.
TELNET BY , S.AISHWARYA III-IT.
BIT116: Scripting Lecture 6 Part 1
A Guide for getting technical help
© 2002, Cisco Systems, Inc. All rights reserved.
Presentation transcript:

Final Group project A chance to apply everything you have learnt over the past 4 sessions into one big group project

Brief The task is to create a traffic light network using I2C for the roads in the room so that no robots crash into each other! Your handouts will explain the details!

Overview of the network

A quick Overview of I2C features needed In session 3 we used an Arduino as an I2C master. This time the Arduino will be a slave with an mbed as the master orchestrating the network. I2C slave devices can have two types of transactions: Write transaction – The master addresses the device and sends it data Read transaction – The master makes a read request (no data is sent), the slave then writes data to the bus

Write transactions To setup an Interrupt Service Routine for write transactions the following function is used: Wire.onReceive(WriteHandlerFunction); The onReceive service routine is special interrupt that occurs when the device is written to via I2C. Unlike most interrupts this one accepts a parameter – the number of bytes it has received. The interrupt service routine must take the following form: void WriteHandlerFunction(howManyBytes) { byte data = Wire.read(); }

Wire.onRequest(ReadHandlerFunction); Read Transactions Setting up a read transaction Interrupt Service Routine is very similar to write transactions: Wire.onRequest(ReadHandlerFunction); The service routine here is just a normal interrupt service routine of the form: void ReadHandlerFunction () { Wire.write(someData); }

General Call address Like most networks, I2C features a way of broadcasting data to all clients listening. This is done by sending data to address 0x00. Rather annoyingly this feature is disabled by default in the Arduino I2C library (Wire). To enable it simply stick this in your setup function: bitSet(TWAR, TWGCE);

Switch case A switch case is a really useful programming construct that save you using lots for if, else if statements. Depending on what VALUE is the switch case will jump to that section. Rather uniquely if you don’t put break on the end of each case it will fall through into the next one. This feature can be really useful if used carefully Switch(value) { case 0: doSomething(); break; case 1: doSomethingElse(); case 2: addSomethingToSomethingElse(); case default: iHaveRunOutOfNames(); }

One last thing before we begin One last thing before we begin! Please fill in a feedback survey so I know how enjoyed the sessions and what we can improve in the future

Good Luck. May the odds be ever in your Favour Good Luck! May the odds be ever in your Favour! May the FORCE BE WITH YOU! Here is a potato