Page 100 - Programming the Raspberry Pi Getting Started with Python
P. 100

10


                                                      Prototyping Project (Clock)

          In this chapter, we will build what can only be seen as a grossly over-engineered LED digital clock.
          We will be using a Raspberry Pi, Adafruit’s Cobbler lead, a breadboard, and a four-digit LED display
          (see Figure 10-1).






































          Figure 10-1    LED clock using the Raspberry Pi
             In  the  first  phase  of  the  design,  the  project  will  just  display  the  time. However,  a  second  phase
          extends the project by adding a push button that, when pressed, switches the display mode between
          displaying hours/minutes, seconds, and the date.

          What You Need
          To build this project, you will need the following parts. Suggested part suppliers are listed, but you
          can also find these parts elsewhere on the Internet.





























          Hardware Assembly
   95   96   97   98   99   100   101   102   103   104   105