ME106 Sensor Presentation: WII Nunchuck Evan Ly, Marcus Solis 31OCT2012.

Slides:



Advertisements
Similar presentations
I2C bus Inter Integrated Circuits bus by Philips Semiconductors
Advertisements

EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
THE PARTS AND FUNCTIONS OF PLAY STASION Competency : Installing of video game.
Serial Buses. Serial Bus Features Allows several devices to be connected to a set of common signal wires Reduces inter-connections and complexity Asynchronous.
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Guest Lecturer Pat Pannuto Lecture 10: Serial buses Oct 6, 2011.
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.
Serial Interfaces, Part Deux -I 2 C and SPI December 4, 2002 Presented by Eugene Ho.
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
Gesture Controlled Car (GCC) By: Ashwaq Alkailany Reema Abubaker Supervised by: Dr. Luia Malhis.
OutLine Overview about Project Wii Robot Escaper Robot Problems and Solutions Demo.
Serial Communication Buses: I 2 C and SPI By Brody Dunn.
Technion-Israel Institute of Technology Electrical Engineering Department High Speed Digital Systems Laboratory Project subject: wireless biofeedback system.
I2CI2C CS-423 Dick Steflik. Inter-Integrated Circuit Developed and patented by Philips for connecting low speed peripherals to a motherboard, embedded.
2 Way FM Car Starter Dan Owens April 12, 2005 Instructor: Dr. Pao-Lo Liu Department of Electrical Engineering University at Buffalo Course Requirement.
18 Nov 2003Ryan Kittredge Digital Communications Ryan Kittredge Technical Topic Report 19 November 2003.
Wireless Digital Audio Transmission Senior Design Project Summer 2002 E. Donnelly, K. Khan, S. Owen D. Choy Dr. H. Lam.
Lecture 27: LM3S9B96 Microcontroller – Inter- Integrated Circuit (I 2 C) Interface.
Haptic Belt team Informational Presentation.  I 2 C is a form of control bus (multi-master) which allows communication between multiple integrated circuits.
Team Members Jordan Bennett Kyle Schultz Min Jae Lee Kevin Yeh.
Interfaces A practical approach. Lesson 2 I2C and SPI
SPI By Alexander Maroudis. Outline What is SPI? SPI Configuration SPI Operation Master Slave Setup SPI Transactions SPI Digital Potentiometer Example.
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 10: Serial buses Oct 6, 2011.
2 Lines Electronics I 2 C Analyzer Ching-Yen Beh Robert S. Stookey Advisor: Dr. J. W. Bruce.
Microprocessor Block Diagram
1 © Unitec New Zealand I2C Lecture 10 Date: - 2 Nov, 2011 Embedded Hardware ETEC 6416.
Arduino Nano to Uno I2C Communication Mike Pluma The-Bao Nguyen EE 444 Spring 2013.
Bionic Arduino Introduction to Microcontrollers with Arduino Class 4 20 Nov machineproject - Tod E. Kurt.
Introduction Electrical Considerations Data Transfer Synchronization Bus Arbitration VME Bus Local Buses PCI Bus PCI Bus Variants Serial Buses 11/06/20141Input/Output.
Lecture 111 Lecture 11: Lab 3 Overview, the ADV7183B Video Decoder and the I 2 C Bus ECE 412: Microcomputer Laboratory.
A PRIMER ON INTEGRATING WIIMOTE FUNCTIONALITY Wiiiiii!-Mote Connections.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
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.
4.0 rtos implementation part II
Input/Output mechanisms
7/23 Inter-chip Serial Communication: SPI and I 2 C Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee.
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
Basic Stamp Free Pins These pins can be used by the operator for digital Inputs and Outputs Used Pins 0.
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
Autonomous Helicopter James LydenEE 496Harris Okazaki.
11/16/2006 WSN Mote- MCU & Sensor Hardware 1 ECET 581 Wireless Sensor Networks Mote – MCU & Sensor Hardware 2 of 3 Fall 2006
Design of a Novel Bridge to Interface High Speed Image Sensors In Embedded Systems Tareq Hasan Khan ID: ECE, U of S Term Project (EE 800)
©2008 R. Gupta, UCSD COSMOS Summer 2008 Peripheral Interfaces Rajesh K. Gupta Computer Science and Engineering University of California, San Diego.
A Homebrewed Solution to Motion Gaming Developed and Presented By SIDDHESH KOLWANKAR.
Essentials of Communication This simple model requires many guarantees. Sender Receiver Communication Link Data.
Serial Communication RS-232. In order to make two devices communicate, whether they are desktop computers, microcontrollers, or any other form of integrated.
PlayStation 2 DualShock 2 Controller Ryan O’Keefe, Kabir Singh and Adrian Padin 1.
Microcontroller basics Embedded systems for mortals.
Wii Remote Zibo Zou, Daniel Maertens, Steven Duan 1.
I 2 C FOR SENSORS IN THE DOM Nestor Institute Koutsoumpos Vasileios - Nestor Institute 1.
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.
TV Remote As A Wireless Mouse For PC.
میکرو کنترلرهای AVR Serial Interfaces, I2C and SPI
ECE445: Senior Design Spring 2015 Team 17: Weather Jukebox Sang Yun Bang, Thomas Fedrigon, Shanda Lu.
MICROCONTROLLER AND INTERFACING Presented by: Shefali Jethva ( ) Shivali Panchal ( ) Komal Soni ( ) Roll no. :- 14EC308.
Outline Analog to digital conversion (ADC) of NuMaker TRIO
CYMOTE MAY 1735 Team: Michael Linthicum, Kyle Fischer, Daniel Shauger, Nicholas Juelsgaard, Samuel Neff Advisor: Dr. Thomas Daniels INTRODUCTION CprE 185.
Serial Communication Buses: I2C and SPI
Microcontroller basics
The I2C Bus.
Chapter 11: Inter-Integrated Circuit (I2C) Interface
I2C PROTOCOL SPECIFICATION
Communication Lines Fundamentals.
BJ Furman ME 106 Fundamentals of Mechatronics 15NOV2012
EEPROM Comparison – Parallel or Serial
Introduction to Arduino
I/O Experiments Assignment 1.
Presentation transcript:

ME106 Sensor Presentation: WII Nunchuck Evan Ly, Marcus Solis 31OCT2012

What is the wii nunchuck? Developed by Nintendo Corp for use with the Wii game system. Seventh generation controller, The joystick design came from the game cube controller (6 th gen) Is an attachment for the Wii-mote Designed to work in tandem Called a nun chuck because… it resembles a nunchaku…..

How does it work? Designed to work on either hand. Primarily as an interface to an application or game Features a joy pad, two buttons, and an accelerometer Connects to a game system or any MCU (Arduino) through a 3.5 m cord, or wireless Can be found at nearly any electronics media store Has third party counterparts with the same or more functionality.

Whats inside? I2C (Inter-Integrated Circuit) or commonly called “two wire communication” Uses serial Data line (SDA) to transfer bits, and Serial Clock (SCL), to transmit, and synchronize. 3 Axis accelerometer. Can capture X, Y and Z motion STMicroelectronicsSTMicroelectronics LIS3L02ALLIS3L02AL 2 axis analog joystick with analog to digital converter 2 buttons (Z and C)

What is i2c? Bus has two nodes: ▫Master node (issues clock and addresses slaves) ▫Slave node (received clock line and address) After every 8 data bits in one direction, an "acknowledge" bit is transmitted in the other. 7 bits of data sent. SCL (clock stretching) controls the flow of data. It ensures one transmitter at a time. SDA data line Data start (s): SDA low SCL high (blue) SDA sets transferred bit while SCL low, data is received at B1 (Green ) When data is finished sending, the P signal (rising SDA and high SCL) I2c chip 10 bit (8 to 10 bit resolution possible) (255 – 1024)

How to interface with arduino? Using the WiiChuckClass library on Arduino CC Wii I2C portArduino I2C data(SDA)Pin 20 (A4) I2C clock(SCL)Pin 21 (A5) Power 3.3V3.3V or 5V will work Ground

Serial interface Joy X Joy Y AccelX Accel Y Accel Z C=1 pressed C=0 unpressed Z=1 pressed C=0 unpressed

Why wii nunchuck? Great for testing Extremely cheap ($14 used and ~$20 new) Built in accelerometer I2C frees up pins on your Arduino (2 pins instead of 5) It is cool

“Clones” Memorex “sidekick” Wireless Extra buttons Rechargable NiMh battery Made in china Extra buttons? wireless Slightly ugly Can be found at any electronics store: best buy, frys etc… Note: hex address for i2c communications may differ using 3 rd party.