Bluetooth sensor NRF51802 is not working with Oruxmaps

Started by koravei, October 13, 2021, 07:24:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

koravei

Hello Orux,
Recently i bought NRF51802 Bluetooth 4.0 sensor with these features:
- Bosch BMP180 temperature and pressure sensor chip
- Ambient light proximity sensor chip AP3216
- 3-axis acceleration 3-axis gyroscope chip MPU6050

I read in the manual that nRF5xxxx series sensors should work with Oruxmaps:
QuoteBarometer Thermometer BT 4.0 nRF5xxxx
It is an external BT 4.0 sensor, which may contain Barometer, Thermometer.


When i go to Oruxmaps options and do a scan, the app finds and adds the sensor's address.
Later when i start the sensor from "Sensors" menu, it doesn't work.
After some seconds it displays that connection is lost. I do a reset of the sensor and trying again, but no connection.
I bought the sensor from here: https://www.aliexpress.com/item/4000123555503.html

I tested the module with special apps which support these chip series. They connect and display the data from all sensors in the module.
Please, if it's possible to fix this issue.

Thank you in advance!

orux

Quote from: koravei on October 13, 2021, 07:24:53 PM
Hello Orux,
Recently i bought NRF51802 Bluetooth 4.0 sensor with these features:
- Bosch BMP180 temperature and pressure sensor chip
- Ambient light proximity sensor chip AP3216
- 3-axis acceleration 3-axis gyroscope chip MPU6050

I read in the manual that nRF5xxxx series sensors should work with Oruxmaps:
QuoteBarometer Thermometer BT 4.0 nRF5xxxx
It is an external BT 4.0 sensor, which may contain Barometer, Thermometer.


When i go to Oruxmaps options and do a scan, the app finds and adds the sensor's address.
Later when i start the sensor from "Sensors" menu, it doesn't work.
After some seconds it displays that connection is lost. I do a reset of the sensor and trying again, but no connection.
I bought the sensor from here: https://www.aliexpress.com/item/4000123555503.html

I tested the module with special apps which support these chip series. They connect and display the data from all sensors in the module.
Please, if it's possible to fix this issue.

Thank you in advance!

I'm sorry, but those boards are all different, each one implements a different protocol, there is no standard profile behind them, which requires the same as the heart rate monitor profile.


But if you tell me which apps work with it, I can investigate ...


orux

koravei

#2
Hi Orux, thank you for the reply!

In OruxMaps 8.x manual, the link for "Barometer Thermometer BT 4.0 nRF5xxxx" is this:
https://es.aliexpress.com/item/32808111676.html
When i look closer at the image of the board i see the same components as mine and the same chip number N51802!

My device is this (check the overvew):
https://www.aliexpress.com/item/4000123555503.html

The most suitable software that i used is this:
https://play.google.com/store/apps/details?id=com.punchthrough.lightblueexplorer

I uploaded screenshots with descriptions in this ZIP file:
https://deep-z.net/LightBlue.zip

Please, check it and tell me if you need more information, i am ready to send you everything that you need.

Best Regards,
Zdravko

orux

Quote from: koravei on October 18, 2021, 09:31:22 PM
Hi Orux, thank you for the reply!

In OruxMaps 8.x manual, the link for "Barometer Thermometer BT 4.0 nRF5xxxx" is this:
https://es.aliexpress.com/item/32808111676.html
When i look closer at the image of the board i see the same components as mine and the same chip number N51802!

My device is this (check the overvew):
https://www.aliexpress.com/item/4000123555503.html

The most suitable software that i used is this:
https://play.google.com/store/apps/details?id=com.punchthrough.lightblueexplorer

I uploaded screenshots with descriptions in this ZIP file:
https://deep-z.net/LightBlue.zip

Please, check it and tell me if you need more information, i am ready to send you everything that you need.

Best Regards,
Zdravko
Hello!

The last beta version should work with that sensor,


orux

koravei

#4
This is great, i will try it and will report if it works!
Thank you very much!!!

Best Regards,
Zdravko

koravei

#5
Hi Orux, i tested the sensor and everything works perfect!
Thank you for your efforts!

Please, i have a suggestion. This sensor measures the temperature with precision of 1 degree.
Can you remove the extra precision ".00" from the display and leave it integer only for this sensor type "nRF51822".

I have "Tempo Disc" temperature sensor, which has precision of roughly "0.1" degree celsius.
Sometimes Oruxmaps displays for sample "21.10", but other times it displays "24.19".
It needs to be rounded to precision of "0.1" degrees (if the hundreds are more than 0.05, then round to the next number - 24.19 -> 24.2).

Best Regards,
Zdravko