You are on page 1of 8

LABORATORY SESSION # 14

14 Interfacing of Bluetooth module with STM32F100xx

14.1 EQUIPMENT & MATERIAL REQUIRED

- __________________________________
- __________________________________
- __________________________________
- __________________________________
- __________________________________
- __________________________________
- __________________________________
- __________________________________
- __________________________________
- __________________________________
- __________________________________
- __________________________________

14.2 PRE-LAB PREPARATIONS

________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
____________________________________________________________

14.3 PROCEDURE
_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
_______________________________________________________________________
14.4 OBSERVATION & RESULTS

- ‘main.c’ code
Figure 14.1: ‘main.c’ code

- Application screenshot from the android device

Figure 14.2: (a) Successful connection with HC-05 module, (b) Data send from the app
- Hardware pictures (LCD, bluetooth module, android device and other
components)
Figure 14.3: HC-05 connections with STM32F100xx pins
Figure 14.4: Complete hardware setup

Figure 14.5: Sent data displayed on the LCD, via BT using USART peripheral
14.5 LEARNING OUTCOMES

________________________________________________________________________
__________________________________________________________________
________________________________________________________________________
__________________________________________________________________

14.6 EXERCISE QUESTIONS

- Modify the code to run/stop a DC motor using bluetooth module. Give complete
code of ‘main.c’
Figure 14.7: Hardware setup (BT with Motor)
Button pressed on app Motor condition

You might also like