Introduction: Iphone Bluetooth Control Arduino
Step 1: How-To
- 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)
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.
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 :)