Page 368 - ARM Based Microcontroller Projects Using MBED
P. 368

354                             14. ADVANCED PROJECTS
















                 FIG. 14.23  HC-06 Bluetooth module.


                 • built-in antenna
                 • default communication: 9600 baud, 8 data bits, no parity, 1 stop bit
                 • signal coverage 30ft
                 • four-pin module
                   Fig. 14.24 shows the project circuit diagram. The TX and RX pins of HC-06 are connected to
                 UART RX (PA_10) and UART TX (PA_9) pins of the development board. Two LEDs are
                 connected to GPIO pins PC_0 and PC_1 with the names 1 and 2.

                 14.5.5 The Construction

                   As shown in Fig. 14.25, the project was constructed on a breadboard and connections made
                 to the development board using jumper wires.


                 14.5.6 The PDL

                   Fig. 14.26 shows the program PDL.




















                 FIG. 14.24  Circuit diagram of the project.
   363   364   365   366   367   368   369   370   371   372   373