Bluetooth connection

Support forum for the Lambda Shield designed to connect Bosch LSU 4.9 wideband oxygen sensors to Arduino projects.
philippef
Posts: 6
Joined: 07 Feb 2023 14:02

Bluetooth connection

Post by philippef » 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

User avatar
Christian_Bylund
Posts: 255
Joined: 07 Mar 2015 18:09

Re: Bluetooth connection

Post by Christian_Bylund » 08 Feb 2023 06:59

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.
Best Regards,
Christian Bylund
Bylund Automotive AB

philippef
Posts: 6
Joined: 07 Feb 2023 14:02

Re: Bluetooth connection

Post by philippef » 08 Feb 2023 11:41

Thanks Christian...
seems to be a too hard job for now... unless someone has ever done it ...

User avatar
Christian_Bylund
Posts: 255
Joined: 07 Mar 2015 18:09

Re: Bluetooth connection

Post by Christian_Bylund » 08 Feb 2023 17:42

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.
Best Regards,
Christian Bylund
Bylund Automotive AB

philippef
Posts: 6
Joined: 07 Feb 2023 14:02

Re: Bluetooth connection

Post by philippef » 09 Feb 2023 16:40

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

User avatar
Christian_Bylund
Posts: 255
Joined: 07 Mar 2015 18:09

Re: Bluetooth connection

Post by Christian_Bylund » 09 Feb 2023 18:57

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.
Best Regards,
Christian Bylund
Bylund Automotive AB

philippef
Posts: 6
Joined: 07 Feb 2023 14:02

Re: Bluetooth connection

Post by philippef » 10 Feb 2023 10:38

Ok, understand, thanks for the quick feedback, I'll do that

philippef
Posts: 6
Joined: 07 Feb 2023 14:02

Re: Bluetooth connection

Post by philippef » 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

User avatar
Christian_Bylund
Posts: 255
Joined: 07 Mar 2015 18:09

Re: Bluetooth connection

Post by Christian_Bylund » 15 Feb 2023 19:38

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.
Best Regards,
Christian Bylund
Bylund Automotive AB

dublinspeedcars
Posts: 1
Joined: 13 Apr 2023 01:04

Re: Bluetooth connection

Post by dublinspeedcars » 15 Apr 2023 12:33

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.

Post Reply