Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 142 - 2615_KEC
P. 142

    5.  Build the Guitar Body:

                              Cut out a guitar shape from cardboard or foam.
                              Plan positions for the Micro:bit and buttons (or directly use the onboard A and B buttons).

                              Decorate the guitar creatively with markers, stickers, or paint.

                      6.  Assemble the Circuit:
                              Attach the Micro:bit to the guitar body securely using tape or a holder.

                              ◦    Use the onboard buttons for input. If using external buttons:

                              ◦    Connect the one end of crocodile wires  to the Micro:bit pins (e.g., P0, P1, GND), and
                                  other end to the copper tape on the guitar body.
                      7.  Test the Guitar:

                              Power the Micro:bit with the battery pack.

                              Test the inputs (buttons or gestures) to ensure the correct tones play.

                      Diagram:

                      Sample Code:

                      140   Premium Edition-VI

| 137 138 139 140 141 142 143 144 145 146 147 |