Page 1 of 2

Bluetooth connection

Posted: 07 Feb 2023 14:21
by philippef
Hi to all
Do I strictly need a wifi arduino board, I have a BLE arduino module to connect bluetooth apps,
kind regards
Philippe

Re: Bluetooth connection

Posted: 08 Feb 2023 06:59
by Christian_Bylund
philippef wrote:
07 Feb 2023 14:21
Hi to all
Do I strictly need a wifi arduino board, I have a BLE arduino module to connect bluetooth apps,
kind regards
Philippe
Hello Philippe,

No, but you would need to write a custom version of the Lambda Shield 2 smartphone code.

Re: Bluetooth connection

Posted: 08 Feb 2023 11:41
by philippef
Thanks Christian...
seems to be a too hard job for now... unless someone has ever done it ...

Re: Bluetooth connection

Posted: 08 Feb 2023 17:42
by Christian_Bylund
philippef wrote:
08 Feb 2023 11:41
Thanks Christian...
seems to be a too hard job for now... unless someone has ever done it ...
You are right. To make it as simple as possible for you we ended up using the Arduino Uno WiFi with bluetooth module integrated.

Re: Bluetooth connection

Posted: 09 Feb 2023 16:40
by philippef
Hi Christian,
finally got a genuine wifi rev2 arduino board,
I tried to upload the smartphone.ino, but got an error message :

Compilation error: text section exceeds available space in board

any idea ?
Regards Philippe

Re: Bluetooth connection

Posted: 09 Feb 2023 18:57
by Christian_Bylund
Hi Philippe, Arduino updated the BLE library so it is currently too big. I need to optimize the code but for now please use the older version. See troubleshooting section below for details.
Christian_Bylund wrote:
11 Dec 2019 18:54
6. If you get an error with code size on Arduino Uno WiFi, use ArduinoBLE library v.1.2.2.

Re: Bluetooth connection

Posted: 10 Feb 2023 10:38
by philippef
Ok, understand, thanks for the quick feedback, I'll do that

Re: Bluetooth connection

Posted: 12 Feb 2023 17:55
by philippef
Hi Christian
The system is working now, thanks for the support, however, the bluetooth led is not blinking on the Arduino rev2 , is it normal ?
Best regards
Philippe

Re: Bluetooth connection

Posted: 15 Feb 2023 19:38
by Christian_Bylund
philippef wrote:
12 Feb 2023 17:55
Hi Christian
The system is working now, thanks for the support, however, the bluetooth led is not blinking on the Arduino rev2 , is it normal ?
Best regards
Philippe
Hi Philippe,

I had to do some investigation on this, it is correct that the RGB-LED is not used in bluetooth mode. This is controlled by Arduino, otherwise it could have been a useful feature to add. The LED is apparently only used in wifi mode.

Arduino WiFi Rev2 RGB control.

Re: Bluetooth connection

Posted: 15 Apr 2023 12:33
by dublinspeedcars
How did youget your smarthpone-connection with 1.2.2 running? With this old lib-version i´m unable to connect to the device (but found in scan) neither with a simple example code. 1.3.4 works everything fine but then the example size is ~1KB too big to upload.