Arduino Nano to Uno I2C Communication Mike Pluma The-Bao Nguyen EE 444 Spring 2013.

Slides:



Advertisements
Similar presentations
Common Customer Issue: I2C Cable Glitches
Advertisements

Anurag Dwivedi & Rudra Pratap Suman.  Open Source electronic prototyping platform based on flexible easy to use hardware and software.
SPI Serial Peripheral Interface. SPI Serial Peripheral Interface is communication between two devices, one bit at a time sequential one bit at time over.
Lecture 8: Serial Interfaces
Intel Galileo Gen 2 & Grove Seeed Starter Kit Gen 1
ME106 Sensor Presentation: WII Nunchuck Evan Ly, Marcus Solis 31OCT2012.
Serial Communication Buses: I 2 C and SPI By Brody Dunn.
Arduino Week 3 Lab ECE 1020 Prof. Ahmadi. Objective Data acquisition (DAQ) is the process of measuring an electrical or physical phenomenon such as voltage,
ALL TERRAIN ROBOT 1 Wilmer Arellano © The Client’s Need Lecture is licensed under a Creative Commons Attribution 2.0 License.
I2CI2C CS-423 Dick Steflik. Inter-Integrated Circuit Developed and patented by Philips for connecting low speed peripherals to a motherboard, embedded.
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
SDP 2009 Team Siqueira Rohan Balakrishnan (CSE) Conan Jen (EE) Andrew Lok (EE) Jonathan Tang (EE) MAPPER: A Perfectly Portable Exploration Robot.
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
Haptic Belt team Informational Presentation.  I 2 C is a form of control bus (multi-master) which allows communication between multiple integrated circuits.
Embedded Programming and Robotics
Interfaces A practical approach. Lesson 2 I2C and SPI
Colorado Space Grant Consortium Gateway To Space ASEN 1400 / ASTR 2500 Class #12 Gateway To Space ASEN 1400 / ASTR 2500 Class #12 T-58.
1 © Unitec New Zealand I2C Lecture 10 Date: - 2 Nov, 2011 Embedded Hardware ETEC 6416.
LSU 06/04/2007Expanding the BASIC Stamp1 Expanding the BASIC Stamp: Useful peripherals Programming Unit, Lecture 6.
VERIFICATION OF I2C INTERFACE USING SPECMAN ELITE By H. Mugil Vannan Experts Mr. Rahul Hakhoo, Section Manager, CMG-MCD Mr. Umesh Srivastva, Project Leader.
Embedded Bus – i2c David E. Culler Lab 2 Feb 2, 2015
Ballooning Bundle. What is a Microcontroller? Small computer with a processor core, memory and programmable input/output Continuously repeats software.
First-Year Engineering Program Advanced Energy Vehicle Arduino Programming Basics Reference:  AEV Lab Manual  Arduino Programming Basics Grading Guidelines.
EE 446 Project Assignment Top Design Sensor Components Pin Assignment and Configuration Completed Physical Setup Project Tasks.
Volume. 1-the idea of the program is to increase, decrease the volume. 2-the program does the following: A-PF8:decrease the volume B-Pf9:increase the.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
INTERFACING WEB SERVER WITH A ROBOT
1 of 20 Core Arduino Workshop Chris Koehler and Brian Sanders Colorado Space Grant Consortium.
Smart Parking System PREPARED BY : GHADEER AQRAA AND MARAH JABER.
Microprocessor based Design for Biomedical Applications MBE 3 – MDBA XI : Project Outlooks.
©2008 R. Gupta, UCSD COSMOS Summer 2008 Peripheral Interfaces Rajesh K. Gupta Computer Science and Engineering University of California, San Diego.
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
ROBOTIC ARM 2 Wilmer Arellano © Hardware  Next slide shows sensor connection to analog pin 0 and Motor 1 connection. Lecture is licensed under.
Lab 2.
ATtiny Programming Shield for Arduino TYWu. Reference Programming-Shield-for-Arduino-1/
Essentials of Communication This simple model requires many guarantees. Sender Receiver Communication Link Data.
BMP085 Barometric Digital Pressure Sensor Module TYWu.
Spring EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Advanced Computer Architecture Lecture 5 Slave bus agent ROM example.
ECE 3450 M. A. Jupina, VU, 2016 Capacitance Sensor Project Goal: Creation of a digital capacitance sensor circuit where a variation in capacitance changes.
Microcontroller basics Embedded systems for mortals.
Networked Embedded Systems Sachin Katti & Pengyu Zhang EE107 Spring 2016 Lecture 9 Serial Buses – SPI, I2C.
Gesture-Controlled LED Coffee Table with B.L.O.X. Final Presentation Josh Pack | Esther Kim | Ryan Dwyer Project #16 December 7, 2012 ECE 445 Fall 2012.
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.
Infrared Proximity Sensors & Liquid Crystal Display Instructor Dr Matthew Khin Yi Kyaw.
Arduino Week 3 Lab ECE 1020 Prof. Ahmadi. Objective Data acquisition (DAQ) is the process of measuring an electrical or physical phenomenon such as voltage,
Serial Communication Originally created by Anurag Dwidedi and Rudra Pratap Suman.
Dr. Kyung Eun Park Summer 2017
DHT 11 Sensor Connect the sensor with Arduino board like picture below. Download DHT11 Sensor library from
Serial Communication Buses: I2C and SPI
Microcontroller basics
LCD.
Arduino Uno and sensors
I2C PROTOCOL SPECIFICATION
Communication Lines Fundamentals.
Roller Coaster Design Project
BJ Furman ME 106 Fundamentals of Mechatronics 15NOV2012
EEPROM Comparison – Parallel or Serial
Displays and I2C(IIC) communications
Teacher’s Note (do not include in student packet/slide show)
Intro to Micro Controllers
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Arduino Board.
Arduino म्हणजे काय?.
Interactive Mirror Display
LCD.
CTY SAR FCPS Alexander Velikanov
I/O Experiments Assignment 1.
Presentation transcript:

Arduino Nano to Uno I2C Communication Mike Pluma The-Bao Nguyen EE 444 Spring 2013

I2C Protocol Two Wire Serial Communication (SDA, SCL) Built into standard Arduino library (wire.h) Up to 127 simultaneous connected peripheral devices (slaves) Unique address directs communication between Master device and connected slaves Interrupt based

The Big Idea IR sensors take in data which is processed by the Nano The Uno asks the Nano for range data from the IR sensors The Uno uses rangedata.h to output the distance in cm

The Tricky Bit In order to mount the Nano to the sensor platform as shown in the picture it is necessary to desolder the male header pins and replace them with female header sockets.

Lab Setup Wire the Nano and the Uno as in the diagram You will need to have IR Lab Completed and a usable rangedata.h file Copy rangedata.h into the UNOrange working folder

Lab Procedure Upload NANOrange to the Arduino Nano Upload UNOrange to the Arduino Uno Open the Serial Monitor for each and confirm the data read and data transfer

Results The Nano should output the Dn it is reading on it’s serial monitor. The Uno should output the Range associated with that Dn as referenced in the rangedata.h lookup table

ADD THIS Modify sample size, and delay time, max short range, Make sure you have a good rangedata.h file