Hi, I have the HM-10 successfully talking to Espruino. I used a shield from http://imall.iteadstudio.com/im130704001.html and with just Power, RX and TX it behaves perfectly well.
Part of my motivation was to attempt to make my iPhone talk to the Espruino, but so far no go. The iPhone cannot see the HM-10 at all.
Anybody had any luck with this ?
Did you see this? http://www.espruino.com/Bluetooth+BLE
I'm afraid I can't be much help on the iPhone front - but have you tried using 'LightBlue'? It seems they used it in this video
Hi, yes saw the BLE link on the site. The device is visible in LightBlue and BLExplr :) It's the first in the list ...
So that's a start. Where next ? I feel a bit like Alice in the Rabbit-Hole !
(The original idea was to see if I could simply talk to the Espruino from the iPhone (e.g. just enter 1+2 and get =3 back!). Modest !
Pat, not sure if you're still working on this, but this iOS sample code worked for me:
http://www.jnhuamao.cn/download_rom_en.asp?id=66 -> "4.0 BLE IOS7 Source code"
If the link dies, you might be able to google "huamao technology ble ios7 source code".
Once you get the code running on your iPhone (it doesn't seem to work in the simulator), you can see the HM-10 in the list, click it, and there's a text box to send text back and forth to Espruino.
There's some sample code here that is a great starting point for the Espruino side: http://www.espruino.com/USART
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem