Page 1 of 1

Reading from Arduino connected to HM10

Posted: 11:13, 08 Apr 2015
by avip
I am using the "arduino-led-onoff-ble" template to write to HM10 and activate a LED (on/off).
Now, I'd like to read a status which is pushed by the arduino each time I issue "on"
Is there any example that can help?

Re: Reading from Arduino connected to HM10

Posted: 14:03, 08 Apr 2015
by micke
Hello, here is experimental code for reading/writing Arduino over BLE:

https://github.com/divineprog/evo-demos ... ptable-ble

Is this of any help?

Best, Mikael

Re: Reading from Arduino connected to HM10

Posted: 15:28, 08 Apr 2015
by avip
Hi Mikael
Thanks for your answer and for your example.
The code there is not for HM10, so I modified it accordingly.
It can connect now to my Arduino/HM10.
But I couldn't read any data that the arduino is transmitting in a loop
Where should it be displayed? Is there a specific example for HM10 around?

Thanks,
Avi

Re: Reading from Arduino connected to HM10

Posted: 10:55, 04 Oct 2015
by 4ntoine
It should work. Find wiring at Apploader site: http://www.apploader.info. You can also try with Apploader app for the beginning.

Re: Reading from Arduino connected to HM10

Posted: 19:39, 22 Apr 2016
by Flagada15
Hi!

I know this is quite an old topic but does anyone already manage to write and read data on a HM-10 with Arduino and Evothings solution on Android?
I tried quite a lot of configurations but didn't manage to make it works :roll:
Does anybody have a kind of simple terminal example that works with HM-10?

My purpose is to be able to send strings like "TOTO" and receive the response like "HI TOTO".
On the Arduino side it's okay. I receive and send data with serial.write and serial.read and with an app like HMBLE Terminal it works great.

Thanks in advance for your help!

Re: Reading from Arduino connected to HM10

Posted: 02:16, 02 Jul 2017
by Horizontechno
Hello

I looking for working example for read data from HM-10 module ?

I try many way and i never receive data in my HTML files ?

I know my module work i have test with terminal in my android phone , and i receive the data

Thanks for your help

Alain Tanguay