2019年3月28日星期四

3_2

3_2
Because there is no Android phone, I chose Bluetooth HC-08 to achieve wireless communication with the iPhone. The purpose of this week is to test the communication between HC-08 and iPhone.

Hardware requirements:
1.     Bluetooth HC-08
2.     One iPhone

Software requirements:
1.     Arduino 1.8.2

Figure 1: The Bluetooth HC-08 module

Connection requirement
Bluetooth HC-08
Arduino Uno
VCC
5V
GND
GND
TXD
RX
RXD
TX


Figure 2: The connection diagram


Next, give the Arduino Uno external power and run the program. Open the iPhone app named DSDTECH Bluetooth. Blood oxygen concentration and heart rate will be displayed on the screen.


Figure 3: the results to iPhone

Conclusion

Firstly, for the Bluetooth HC-08 test, connect the power and then make sure the iPhone can search for the corresponding Bluetooth. This means that Bluetooth can be paired. Then connect Bluetooth to Arduino Uno according to the connection requirements. Add a Bluetooth serial port to the program output. You can see the data shown in figure 3.

没有评论:

发表评论