Page 329 - Amphibionics : Build Your Own Biologically Inspired Robot
P. 329

Amphibionics 07  3/24/03  9:13 AM  Page 308
                                                       Amphibionics
                      PROGRAM 7.4
                                          :1000C000612808008D018F018E0001306C288D01A0
                      turtle-trans.hex file
                                          :1000D0008F018E0004306C2894000F080D02031D60
                      listing (continued)  :1000B00064008D0F54280C185D288C1C61280000EA
                                          :1000E00073280E080C020430031801300319023083
                                          :1000F0001405031DFF3087280038031DFF30040559
                                          :10010000031DFF3087280404031DFF308728831355
                                          :10011000031383126400080083161F308500043027
                                          :100120008600023088008312861083168610003005
                                          :1001300083123C20AD0001303C20AC006400143040
                                          :100140002D020318B12886148316861006308312F8
                                          :10015000AA000130A8000430A7005A300120413025
                                          :1001600001206400C9302D02031CC42886148316A4
                                          :10017000861006308312AA000130A8000430A700C0
                                          :100180005A30012042300120640014302C02031840
                                          :10019000D72886148316861006308312AA000130F1
                                          :1001A000A8000430A7005A30012043300120640029
                                          :1001B000C9302C02031CEA288614831686100630E8
                                          :1001C0008312AA000130A8000430A7005A30012091
                                          :1001D000443001206400061DFB2886148316861017
                                          :1001E00006308312AA000130A8000430A7005A305C
                                          :1001F0000120453001202D088C00193062209E001E
                                          :100200002D088C00BE306720A0001E088400200846
                                          :100210007C20A000A1002C088C0019306220A200D4
                                          :100220002C088C00BE306720A4002208840024081B
                                          :100230007C20A400A50020082104840024082504B3
                                          :100240008320A400A5006400240825040319322992
                                          :100250000630AA000130A8000430A7005A3001205F
                                          :0602600046300120942845
                                          :02400E00FD3F74
                                          :00000001FF




                                          Testing the SRF04 Ultrasonic Ranger

                                          As described previously, the ranger works by emitting a short burst
                                          of sound and then listening for the echo. Under the control of the
                                          PICmicro MCU 16F84, the SRF04 will emit an ultrasonic (40 kHz)
                                          sound pulse. The pulse travels through the air, hits an object, and

                      308
   324   325   326   327   328   329   330   331   332   333   334