ࡱ> EGD bjbjVV (<<#####Dggg g' (G .u u u P!P!P!k'm'm'm'm'm'm'$)r,'##P!P!##'##u u '/'/'/'#*#u #u k'/'#k'/'/'/'u ngg%/'W''0'/'P-%P-/'P-#/'(P!!|/'z"d"P!P!P!''}&P!P!P!'####P-P!P!P!P!P!P!P!P!P! : ME 106 Fundamentals of Mechatronics Laboratory Manual rev. 2.2 Spring 2011 by B. J. Furman, Department of Mechanical and Aerospace Engineering P. Hsu and P. Johnson, Department of Electrical Engineering San Jos State University  TOC \f \n  Table of Contents TC "Table of Contents" \l 1  Page no.  TOC \f \n Acknowledgments iii Introduction to ME 106 iv 1 Introduction to the Mechatronic Engineering Laboratory Equipment Intro-1 2 Introduction to the Arduino Microcontroller Arduino-1 3 RC Filter RC-1 4 Digital I/O DIO-1 5 Photoresistor, LED, and Transistor PH-1 6 Interfacing a Servo Servo-1 7 Interfacing an Encoder Encoder-1 8 Printer Carriage Motion Control PCC-1 8 PWM Speed Control PWM-1 9 Electronic Scale ES-1 Appendix A: Pin-outs of Common Components A.0  Acknowledgments The authors would like to thank the other members of the Mechatronic Curriculum Development Team: Tai-Ran Hsu, Ji Wang, Addisu Tesfaye, and Fred Barez, from Mechanical and Aerospace Engineering, and Peter Reischl, from Electrical Engineering, for their contributions in initiating, implementing, and developing the Mechatronics curriculum stem in the Department of Mechanical and Aerospace Engineering at San Jos State University. We also acknowledge significant contributions by the Mechatronics Advisory Committee, chaired by Brian Carlisle of Adept Technology, in their ongoing support of the development of mechatronics at San Jos State University. Of special note is Mr. Ed Muns of the Hewlett-Packard Corporation who facilitated a generous donation of HP Test and Measurement equipment for the Mechatronic Engineering Laboratory, and Mr. David Brown whose financial support enabled us to establish the David Brown Graduate Fellowship in Mechatronics to support development of the Laboratory. We also recognize the help of our student assistants: Joe Christman, Doug Sprock, Marvin Lam, Mike Kearny, and Jeff Fontana in the development of the Mechatronic Engineering Laboratory and the laboratory experiments; our administrative assistant, Dorothy Lush, and our technicians, Lou Schallberger and Tom Ng. Financial support from the National Science Foundation under grant number DUE-9455395 is specially acknowledged. Introduction If you look around, youll notice that many of the devices you use in the course of a day are mechatronic, that is, they integrate mechanical and electronic functions in a synergistic way. In fact, it is difficult to avoid mechatronic devices! Microwave ovens, automatic teller machines, washing and drying machines, dishwashers, cameras, camcorders, VCRs, CD players, automobiles These are all mechatronic devices. And not only consumer products, but industrial processes, such as a semiconductor fab, also are highly mechatronic in nature. The overarching philosophy in mechatronics is that enhanced performance, flexibility, and reliability can be obtained in a product or process through the integration of mechanics and electronics under the control of software. Because of the ubiquitous nature of mechatronics, the mechanical engineer must understand the fundamentals of mechanics, electronics, and software in order to be successful in todays world. By and large, most undergraduate mechanical engineering programs do a good job teaching the fundamentals of mechanics, but fall short in giving students the necessary understanding of electronics, computer interfacing, and how these are integrated in product design and manufacture. The experiments described in this manual are an attempt to give the student a broad range of hands-on experiences to help build a solid foundation in analog and digital electronics, sensors and transducers, actuators, and microprocessor interfacing, so he or she can begin to function effectively as mechanical engineer in an increasingly mechatronic world. We developed a new laboratory at San Jos State University to support the experiments described in this manual. The Mechatronic Engineering Laboratory has nine workbenches that each have state-of-the-art electronic test and measurement equipment (oscilloscope, function generator, multimeter, and power supply), a personal computer, and a printer. Teams of two students are assigned a solderless breadboard and a toolbox of electronic components at each bench. Depending on the experiment, additional equipment, such as a microcontroller board, are assigned to each team. The laboratory allows students to learn about fundamental concepts in mechatronics in a hands-on, exploratory manner. Appendix A: Pin-outs of Common Components TC "Appendix A: Pin-outs of Common Components" \l 1      PAGE  PAGE ii 91 Department of Mechanical and Aerospace Engineering 08JAN2011 PAGE  A 91 Department of Mechanical and Aerospace Engineering 16JAN06 6>?J\  & ' ( ) 2 3 ? @ O T U j n u }     ¸xh Fh;[mHsHh Fh;[5mHsHh;[5mHsHh;[ h;[5 h 5 h 5;jh 5;Uh 5;CJjh 5;CJUh 5;CJjh U h 6CJ h CJ$ h;[CJ$ h 5CJHh /$6?KN( 2 T n   B $$  !X    !X gd;[  !X $]a$$a$$Ha$$a$$a$$a$0  < B W ` a b x   !"()*,-346ȴ񜘜񎈎}h;[0JmHnHu h 0Jjh 0JUh6AWjh6AWU h 5CJxh 5CJ0jh 5CJ0U h 56 h 5CJ0jh 5;Uh Fh mHsHh Fh 5mHsHh h 5 h;[51B `  =gd6AW !dh $d a$dhx$ X d a$  !X  !*+,89:~2$a$ $*@&#$a$gd6AW678:s|~h6AWh;[OJQJh OJQJh h 0Jjh 0JU50P/ =!"#$% Dp; 000P/ =!"#$%h Dp.00/ =!"#$%h +0/ =!"#$%h f3 666666666vvvvvvvvv666666>6666666666666666666666666666666666666666666666666hH6666666666666666666666666666666666666666666666666666666666666666662 0@P`p2( 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p8XV~OJQJ_HmH nH sH tH D`D NormalCJOJQJ_HmH sH tH @@  Heading 1 dhOJQJHH  Heading 2dhx^OJQJHH  Heading 3dh^OJQJHH  Heading 4dh^OJQJBB  Heading 5 @&^5CJPP  Heading 6dh^`OJQJPP  Heading 7 dh^ `OJQJNN  Heading 8$pdh^pa$OJQJDA`D Default Paragraph FontViV  Table Normal :V 44 la (k (No List BB TOC 8 X !]^TT TOC 6/ X !dh]^`TT TOC 5/ X ! dh]^ `TT TOC 4/ X !dh]^`TT TOC 3/ X !<dh]^<`TT TOC 2/ X !Hdh<]^`HL@L TOC 1'  !$Hdh^`H4 @b4 Footer  !4@r4 Header  !D&D Footnote ReferenceCJEHDD  Footnote Text dhCJBB TOC 9 X !]^.)@. Page Number88 normal$da$^^ section title&$$$ da$5<< ordered list  h<< equation  ^>> figure title $a$5HH chap title!$dha$5CJ$F"F chap head"$dha$5CJ0>2> st2# h^`jBj figtitle long6$$$$ ldh^l`a$JARJ figtitle%$ Tda$CJFQbF figlong&$TLdh^T`La$>r> ol2' h^`22 figs($a$5CJLL fig title)Tdhx^T`CJ>> ol3* h^`XQX head5 def+pdhx^p`5CJOJQJNN st long&,$$ ,^`,a$<< program -d,OJQJ<< body p1.dh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V.KeLDĕ{D vEꦚdeNƟe(MN9ߜR6&3(a/DUz<{ˊYȳV)9Z[4^n5!J?Q3eBoCM m<.vpIYfZY_p[=al-Y}Nc͙ŋ4vfavl'SA8|*u{-ߟ0%M07%<ҍPK! ѐ'theme/theme/_rels/themeManager.xml.relsM 0wooӺ&݈Э5 6?$Q ,.aic21h:qm@RN;d`o7gK(M&$R(.1r'JЊT8V"AȻHu}|$b{P8g/]QAsم(#L[PK-![Content_Types].xmlPK-!֧6 +_rels/.relsPK-!kytheme/theme/themeManager.xmlPK-!Ptheme/theme/theme1.xmlPK-! ѐ' theme/theme/_rels/themeManager.xml.relsPK] (7(t(( %%jjjjjjjjjuyy 6B (2?    !jq!!T!8@0(  B S  ? -o .o /oL 0o 1oL 2o- 3o. 4oT- 5o, 6o+ 7oT, 8oT. (.   '-88   9 *urn:schemas-microsoft-com:office:smarttagsplace= *urn:schemas-microsoft-com:office:smarttags PlaceName= *urn:schemas-microsoft-com:office:smarttags PlaceType  'BWX`?HOU#/  !KMB_ !3336=>?JKu}BB !s|=>?Ju}BB!),7s| F6AW ;[@    @UnknownG*Ax Times New Roman5Symbol3. *Cx Arial9New York3*Ax TimesA"GenevaArial;" HelveticaA BCambria Math"A BB &c  c Y;2  3Q;HX? F2!xxLab Manual Front Matter 2.1 Mechatronics, laboratory, ME 106Burford J. FurmanBurford FurmanOh+'0 (4 T ` l xLab Manual Front Matter 2.1Burford J. Furman$Mechatronics, laboratory, ME 106 Normal.dotmBurford Furman2Microsoft Office Word@ @B~@]g@]gc՜.+,0 hp  91    Lab Manual Front Matter 2.1 Title  !"#$%&'()*+,-./012356789:;=>?@ABCFRoot Entry F`QngHData 1TableP-WordDocument(SummaryInformation(4DocumentSummaryInformation8<CompObjy  F'Microsoft Office Word 97-2003 Document MSWordDocWord.Document.89q