Page 105 - Robots Androids and Animatrons : 12 Incredible Projects You Can Build
P. 105

West Northwest    North       Northeast
                                                                              East





                                            Southwest                  Southeast

                                                            South
                                                                          = On
                                                                          = Off
                                           5.31 LED lighting sequence


                                                    Table 5.4 LED Sequences
           84
                                Direction   LEDs    Decimal equivalent   Inverted
                                North        0001            1              14
                                Northeast    0011            3              12
                                East         0010            2              13
                                Southeast    0110            6               9
                                South        0100            4              11
                                Southwest    1100           12               3
                                West         1000            8               7
                                Northwest    1001            9               6




                        1525 electronic analog compass
                                In most cases the 1490 directional information is more than suffi-
                                cient for a robot. However, there will be cases when high-resolu-
                                tion directional  information may be important. In  this case  one
                                may use the 1525 electronic compass (see Fig. 5.32).
                                The signal output from the 1525 is much harder to read than that
                                of the 1490, but the tradeoff is that the 1525 electronic compass
                                provides a directional resolution of approximately 1 degree.


                                                       Team LRN
            Chapter five
   100   101   102   103   104   105   106   107   108   109   110