Final ReportGesture_Controllerconfig.hconnection.hcontrol.ccontrol.hitg3200.citg3200.hTWI.cTWI.husart.cusart.herror.hRemote_Baseconfig.hconnection.hbase.cbase.hmotor.cmotor.hUltraICP.cUltraICP.hTWI.cTWI.husart.cusart.herror.h WIRELESS GESTURE CONTROLLED TANK TOY Report for ECE 4760 project for school of electrical and computer engineering By, Rick Wong (rw363) Professor: Bruce Land Dat e: 2011‐05‐10 WIRELESS GESTURE CONTROLLED TA N K CAR Page 2 of 25 TABLE OF CONTENTS 1 ABSTRACT ............................................................................................................................................... 4 2 INTRODUCTION ...................................................................................................................................... 5 2.1 Project Overview ................................................................................................................. 5 2.2 System Block Diagram ......................................................................................................... 6 3 MAJOR COMPONENTS ........................................................................................................................... 8 3.1 ATMega168 ......................................................................................................................... 8 3.2 Features ............................................................................................................................... 8 3.3 Gyro Scope .......................................................................................................................... 9 3.4 Wi.232DTS Wireless‐Serial Module ..................................................................................... 9 3.5 SRF05 Ultra‐Sonic Distance Sensor ................................................................................... 11 4 SOFTWARE HIGHLIGHTS ....................................................................................................................... 12 4.1 Software Reset using Watch‐Dog ...................................................................................... 12 4.2 Smooth Motor Control with Safety Features .................................................................... 13 5 Circuit ................................................................................................................................................... 14 5.1 Original Plan ‐ PCB ............................................................................................................. 14 5.2 Backup Plan – Solder Board .............................................................................................. 16 6 CONCLUSION ........................................................................................................................................ 19 6.1 Summary ........................................................................................................................... 19 6.2 Lessons I learned ............................................................................................................... 19 6.3 Intellectual Property Considerations ................................................................................. 19 6.4 Ethical Considerations ....................................................................................................... 19 6.5 Legal Considerations ......................................................................................................... 20 7 APPENDIX ............................................................................................................................................. 21 7.1 Budget ............................................................................................................................... 21 7.2 Demonstration Video ........................................................................................................ 21 7.3 Schematics ........................................................................................................................ 21 7.4 Acknowledgement ............................................................................................................ 24 7.5 Code Files .......................................................................................................................... 24 8 REFERENCE ........................................................................................................................................... 25 8.1 Datasheets ......................................................................................................................... 25 8.2 Vendors ............................................................................................................................. 25 8.3 Code Borrowed from Others ............................................................................................. 25 WIRELESS GESTURE CONTROLLED TA N K CAR Page 3 of 25 LIST OF FIGURES Figure 1 Conventional Wir eless Controller .............................................................................................. 5 Figure 2 Gesture Wireless Controller ...................................................................................................... 5 Figure 3 Remote Controlled Tank ............................................................................................................ 6 Figure 4 System Block Diagram ............................................................................................................... 7 Figure 5 ATMega168 system block diagram ............................................................................................ 8 Figure 6 Wi.232 Wireless‐Serial Module ............................................................................................... 10 Figure 7 SRF05 Ultra‐Sonic Senor .......................................................................................................... 11 Figure 8 SRF05 Timing Diagram............................................................................................................. 11 Figure 9 Schematic of the Remote Tank ................................................................................................ 14 Figure 10 Schematic of partial of the Gesture Controller ..................................................................... 15
View Full Document