Hi,
Could we represent the serial monitor of Arduino101 on mobile phone only with integrated BLE or not? Any link or example to facilitate it?
Thanks in advance
Hi,
Could we represent the serial monitor of Arduino101 on mobile phone only with integrated BLE or not? Any link or example to facilitate it?
Thanks in advance
All you need is a terminal that will work with BLE, and ensure BLE is set up in a proper manner to talk to it. This is probably a default. You might try the Martyn Currey website.
Thanks, Nick_Pyner!
I installed a 'BLE terminal', included 'CurieBLE.h' and began the BLE 'blePeripheral.begin();' and assigned name 'blePeripheral.setLocalName("Mebab");'.
As a result, The terminal can find and connect to Arduino. However, I cannot stream the serial.print(...) on the mobile side!
What is left to be added on the Arduino101 side.?
This is outside my bailiwick, but I think it is what I was talking about when I said "set up in the proper manner", and I would guess that
blePeripheral.begin();
isn't, and would require the baud rate between the brackets. There should be an example in the library you are using.
mebab:
The terminal can find and connect to Arduino.
Is not right. The phone can find Bluetooth, but it doesn't know what is connected to it - if anything. Similarly, Arduino only talks to its serial port and doen's know what is connected - if anything. - and has not the faintest idea that Bluetooth is also connected to a phone.
On reflection, the vital thing here is the word "mebab". IF you can see that on the phone, your wiring, and most of, if not all, your code is kosher, and maybe the only problem is procedural. I understand the BLE modules are not really suitable for this sort of operation with Arduino, but it can be done. There is an article that specifically addresses this on the Martyn Currey website.
Thanks again. I read the article describing the BLE. Though, I could not find any specific solution or BLE example anywhere to make a platform as the representation of Arduino101's serial monitor on a mobile phone.
mebab:
I could not find any specific solution or BLE example anywhere to make a platform as the representation of Arduino101's serial monitor on a mobile phone.
This is starting to sound like gobbledygook. I don't know anything about the 101 but I guess the serial monitor is as much the same as any other Arduino as it looks like any other Arduino. This means the 101 sends data to the monitor in exactly same manner as any other Arduino i.e. by
Serial.print(data);
and to a standard terminal on the phone viaBluetooth in exactly the same manner i.e. by
Serial.print(data);
You may have to
Thank you Nick_Pyner!