130 likes | 265 Views
Gizmo Remote Operated Bluetooth Interface (GROBI). Sponsor: Calit 2 Mentors: Paul Blair & Javier Rodriguez Molina Team: Kristi Tsukida & Eldridge Alcantara. ECE 191 Fall 2006 Group 13 Week 2 Sep 28, 2006. Agenda. Gantt Chart Tasks Performed Technical Content - Block Diagrams
E N D
Gizmo Remote Operated Bluetooth Interface (GROBI) Sponsor: Calit2 Mentors: Paul Blair & Javier Rodriguez Molina Team: Kristi Tsukida & Eldridge Alcantara ECE 191 Fall 2006 Group 13 Week 2 Sep 28, 2006
Agenda • Gantt Chart • Tasks Performed • Technical Content - Block Diagrams - Hardware Components - Pulse Width Modulation (PWM) - PWM and Atmega16 - PWM Specs for Servo • Summary
GIZMO Remote Operated Bluetooth Interface (GROBI) Gantt Chart Fall 2006 Gantt Chart
Tasks Performed • Ordered microcontroller and accelerometer (Kristi) • Started programming microcontroller - Generating PWM signals (Kristi) - Detecting onboard switches (Eldridge) - Integrated code (Eldridge) • Performed preliminary tests on motor (both) • Met with mentors (both) - Discussed issues with motor and microcontroller - Clarified project details - Started preparing for 2nd stage of project
Block Diagram of Final Prototype References: 1 - http://nds2.photos.nokia.com/EUROPE_NOKIA_COM_3/r2/press/photo/phones/jpeg/05_6600_lores.jpg 2 - http://www.ixbt.com/mainboard/images/barebones-2k3-may/pundit/pundit-bluetooth-module.jpg 3 - http://www.roboter-teile.de/Shop/images/dbimages/artikel_0000017_s.jpg 4 – http://memsic.com 5 - http://responshphere.calit2.net/gizmo Circuit Board Accelerometer 3 1 Microcontroller Bluetooth module 2 4 Cell Phone GIZMO 5
Block Diagram of 1st Prototype Motor Atmega16Microcontroller PC STK500 Development Board OnboardSwitches Servo
Edited Block Diagram of 1st Prototype Motor Atmega16 Microcontroller Electronic Speed Controller (ESC) PC 1 STK500 Development Board Onboard Switches Two Servos Reference: 1 - http://www.lancs.ac.uk/ug/robinsdb/projects/truck/robot.html
Hardware Components:STK500 • AVR microcontroller test board • Serial port for programming • 8 LEDs and 8 switches for testing • Sockets for changing microcontrollers • Works with AVR Studio • Easy prototyping http://www.dontronics.com/graphics/stk500.jpg
Hardware Components:ATMega16 • Microcontroller • 4 PWM channels • Motor & servo control • 8 channel ADC • Accelerometer data • 1 USART • Bluetooth communication / testing with PC connection • Plugs in directly to STK500 http://www.futurlec.com/Pictures/ATMEGA16-16PI.jpg
Pulse Width Modulation (PWM) • Technique to control analog circuits with digital outputs • Analog signals encoded by modulating duty cycle of a square wave • Benefits: - cost and power consumption reduced - immune to noise - easy to implement using microcontrollers Reference: http://www.embedded.com/story/OEG20010821S0096
PWM and Atmega16 • Mode: Phase correct PWM • Counts from 0 to TOP then back to 0 • When counter matches number in OCR (output compare register), the value on the output pin is changed CNT TOP OCR 0 OC (output) 5V 0 ATMega16 datasheet http://www.atmel.com/dyn/resources/prod_documents/doc2466.pdf
Summary • Hardware components ordered • Started programming microcontroller: - PWM signals - Onboard switches • Next week: continue programming microcontroller - DC motor control (Kristi) - Servo control (Eldridge) - Serial communication (both)