[IOT] 2. Fan Control with BLE
·
Project/BLE
우선, BLE란, Bluetooth low energy의 줄임말이다.앞서, iot 선풍기 제어를 만들 때, 최종 목표는 bluetooth로 스마트폰에서 on,off 제어를 하는 것이었다.기본적인 작동방식은 bluetooth module(가장 왼쪽)과 arduino가 tx rx를 통해 신호를 주고 받을 것이다.스마트폰과 bluetooth module이 bluetooth로 통신을 하고, 스마트폰에서 on or off의 command를 주면,bluetooth module에서 command에 따른 신호를 arduino로 tx,arduino에서 신호를 rx해서, relay module이 control해주는 구성이 된다. bluetooth module과 arduino는 serial로 통신하고,bluetooth mo..