Page 793 - Mechatronics with Experiments
P. 793

are
                                                                                                 inputs


                                                                                   (Current limiting  resistors)  Switch

                                                 1000 Ω    1000 Ω   1000 Ω    1000 Ω             outputs.


                                                                                                 LED
                                                                                                 ON/OFF  V)).


                                                                                                 turn  (5  ON
                                                                                                 and switches  =  3  Pin

                                                    Microcontroller:  PIC 18F452 or   PIC18F4331  input  of  OFF ,  =  SW1  (i.e.,








                                                                                                 read  status  resistors

                                                                                                 I/O:
                                                                                                 digital  pull-up

                                                                                                 for  with
                                                                                                 diagram

                                 100 kΩ  (Pull-up)                                               Circuit  microcontroller



                                                                                                 11.23:  the  to


                                                                                                 FIGURE  connected











                                                                                                 779
   788   789   790   791   792   793   794   795   796   797   798