Figure 1 - MATLAB User Interface
Figure 2 - Hardware Schematics
Figure 3 - I2C Probe Oscilloscope Reading
Figure 4 - High-Level Diagram of our Software Design
Figure 5 - Youtube video link of state changes
Figure 6 - Flow chart for the different states
Figure 7 - Youtube video of defense mode
Figure 8 - Youtube video of damage mode
Figure 9 - Flow chart of damage mode
Figure 10 - Pictures of caliper measurements of the size of Fight Coach
Figure 11 - Data Logging Feature
Figure 12 - PCB Layout
Source Code
All of the code listed in our software section can be forked from our github repository:
Bill of Materials
Division of Labor
Vincent
I2C, Hardware and Matlab
Jooyoung
Bluetooth, USART, and web design
We both worked on the higher level design, and debugging (75% of the time spent)
References
Schematic Design
• Sparkfun Power Cell LiPo Charger/Booster (https://www.sparkfun.com/products/11231)
Hardware Design
• PadsPCB - Software for PCB design (http://www.mentor.com/pcb/pads/overview/)
• OrCad Capture - Software for schematics
Mac OS X
• Sublime Text 2 - Awesome text editor (http://www.sublimetext.com/)
• CrossPack - Set of tools for AVR development, includes GNU Compiler suite, AVR-GCC, avrdude
(http://www.obdev.at/products/crosspack/index.html)
• Matlab
Datasheets
ATMEGA32U4 -MCU
http://www.atmel.com/images/7766s.pdf
MPU-6050 - accelerometer+gyro
http://www.invensense.com/mems/gyro/documents/PS-MPU-6000A-00v3.4.pdf
RN-41-Bluetooth module
https://www.sparkfun.com/datasheets/Wireless/Bluetooth/rn-bluetooth-um.pdf
TC54 - Voltage Detector
http://ww1.microchip.com/downloads/en/DeviceDoc/21434J.pdf
MCP73811 - Charge Management
http://ww1.microchip.com/downloads/en/DeviceDoc/22036b.pdf
TPS63031
http://ww1.microchip.com/downloads/en/DeviceDoc/22036b.pdf
Reference Code
Peter Fleury's I2C library
http://homepage.hispeed.ch/peterfleury/avr-software.html
Davide Gironi's mpu-6050 library
http://davidegironi.blogspot.com/2013/02/avr-atmega-mpu6050-gyroscope-and.html#.UnPdf5Rvy5k
Vendor Sites
http://www.digikey.com/
https://www.sparkfun.com/
http://www.maratech.ca/
http://quickturnpcb.co.kr/quality.php
Acknowledgements
We would like to thank Bruce, and his team of TAs for his patience and support throughout the semester. Our work
would not have been possible without their guidance and advice.