Iphone Bluetooth Control Arduino

by planetleak in Circuits > Arduino

67646 Views, 104 Favorites, 0 Comments

Iphone Bluetooth Control Arduino

screen1.png

How-To

HM10_Con.png

Components:

- Arduino (im used nano)

- HM-10 BLE module

- Iphone 4S or later, and Ipad with BLE (maybe from the "air"?)

- LightBlue app from App Store (Free)

Wiring:

Its similar as other bluetooth modules (HC-05/06) See image if not clear.

Arduino RX to Bluetooth TX

Arduino TX to Bluetooth RX

Bluetooth GND to Arduino GND

Bluetooth VCC to Arduino 3v3 (if basic BLE module without power shield)

If you connect the BLE module to the arduino, and using long time, then place 1K resistor between the

Arduino TX and BLE RX pin, and 2K resistor from between 1K and the GND.

IOS app:

The LightBlue app, very easy use.

After connected to the BLE module, change the "HEX" in the top right corner to "STRING"

Then can send any character or word to the arduino.

With the "Write new value" button can add the strings, what you want to send to the arduino.

If you create a new string, th app send it to the arduino immediately.

Turn on the "listen for notifications", then you can see the data from the arduino side too.

Watch the video for more details.

EDIT: Arduino code download link in video description.

Happy controlling :)