Reading from Arduino connected to HM10

Ask, and ye shall receive.
avip
Posts: 12
Joined: 17:48, 06 Apr 2015

Reading from Arduino connected to HM10

Postby avip » 11:13, 08 Apr 2015

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?

User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: Reading from Arduino connected to HM10

Postby micke » 14:03, 08 Apr 2015

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

avip
Posts: 12
Joined: 17:48, 06 Apr 2015

Re: Reading from Arduino connected to HM10

Postby avip » 15:28, 08 Apr 2015

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

4ntoine
Posts: 2
Joined: 08:36, 04 Oct 2015

Re: Reading from Arduino connected to HM10

Postby 4ntoine » 10:55, 04 Oct 2015

It should work. Find wiring at Apploader site: http://www.apploader.info. You can also try with Apploader app for the beginning.

Flagada15
Posts: 1
Joined: 19:30, 22 Apr 2016

Re: Reading from Arduino connected to HM10

Postby Flagada15 » 19:39, 22 Apr 2016

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!

Horizontechno
Posts: 6
Joined: 05:01, 23 Feb 2015

Re: Reading from Arduino connected to HM10

Postby Horizontechno » 02:16, 02 Jul 2017

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


Return to “Questions and answers”

Who is online

Users browsing this forum: Google [Bot] and 2 guests