A classic one : Arduino + Iphone + nrf8001

Guys, there might be some problem with iOS specifically.
We’re checking this already.

Just so that you know,
I’ve managed to successfully connect current Blynk iOS app with the Bluno from DFRobot.
The Arduino + HM-10 scheme seem to have difficulties.

@SouthernAtHeart @Flyingsoon

I can now confirm that iOS app BLE works as expected. Please update you app to the latest version (should be 2.8.5) and if you still can’t connect, go to the app About page and send me the logs.

Please also make sure your sketch is correct. Double check:

  • RX and TX pins
  • Auth token
  • You path the correct instance of SoftwareSerial to the Blynk.begin() function

As example, here is my working sketch for Arduino+HM-10:

#include <SoftwareSerial.h>
#include <BlynkSimpleSerialBLE.h>

SoftwareSerial softwareSerial(7, 8); // RX, TX
char auth[] = "d3bf837000000000000000072140c6c5";

void setup()
{
  softwareSerial.begin(9600);
  Blynk.begin(softwareSerial, auth);
}

void loop()
{
  Blynk.run();
}

I just ordered this HM-10 model:
http://a.co/74GH7IC

It’ll be here in 2 days, so I’ll let you know how it works. I still can’t get the nrf8001 to work, but if this HM-10 works, that’ll be terrific! I can build my project around it.

Hello All!

I tried your sketch witch and It is working great THANK YOU EUGENE!!!
It would be great to modify the blynk exemple, witch is slightly different.

First it was not working because it depends what baudrate your HM-10 is set!
For me, it was 115200, was not working with 9600.

You could find here a tutorial to change the baudrate :

I didn’t success with this so I did plug my HM-10 to an alexmos 32 board I had at home end Into the GUI, then go to board, Configure Bluetooth and you follow this guide :

Now It is working for me too! Thx for your time, hope this post is going to help IOS users!

@SouthernAtHeart
I do not go deep into the subject but I read somewhere thzt there are different version of HM-10
http://wiki.makespacemadrid.org/images/7/72/HM-10-fake.jpg

I didn’t read the post as the one I got seems to be right one, It is a quite old post from june 2015 :

https://forum.arduino.cc/index.php?topic=334466.0

Hope It is going to help…

First testing of the Hm-10 with IOS is a success! I tried the LCD, a button, and an analog input. If I power cycle the my uno/hm-10 the blink app sometimes doesn’t connect right away, but if I force it closed and restart, it always reconnects! Thanks so much! This opens a LOT of possibilities.

6 posts were split to a new topic: softwareSerial was not declared in this scope