2022-05-02 07:02 AM
I want to send ADC data to the PC using BLE.
The ADC data is directly connected to the DMA,
So, sending DMA data is also fine.
Is there any example or source code for it?
I'm using the Nucleo-WB55 board.
Solved! Go to Solution.
2022-05-05 01:58 AM
Hello,
You can look BLE_HeartRate example available in the STM32CubeWB package:
https://www.st.com/en/embedded-software/stm32cubewb.html
This example allows to notify Heart Rate data over BLE to a smartphone every 1s. More information about this example are available in the following wiki page:
https://wiki.st.com/stm32mcu/wiki/Connectivity:STM32WB_HeartRate
Best Regards
2022-05-03 07:25 AM
Does your PC have BLE capabilities?
How frecuent do your ADC measurements need to be?
2022-05-03 07:52 AM
I prefer to use LabView because I have to organize data to make an image sensor map.
However, the LabView doesn't; support BLE (if I want, I have to use window BLE API).
Fortunately, a member built a BLE example in Labview below.
I don't know how to use the BLE example. So, I need more time to understand it.
By the way, I don't want to use serial communication like Arduino and the HC-06 module.
What option can I use to communicate with a PC?
2022-05-03 02:01 PM
Faster is better for my application because my application is a mapping image sensor array. the single-pixel should be operated within 200 kHz.
2022-05-05 01:58 AM
Hello,
You can look BLE_HeartRate example available in the STM32CubeWB package:
https://www.st.com/en/embedded-software/stm32cubewb.html
This example allows to notify Heart Rate data over BLE to a smartphone every 1s. More information about this example are available in the following wiki page:
https://wiki.st.com/stm32mcu/wiki/Connectivity:STM32WB_HeartRate
Best Regards
2022-05-05 03:59 AM
You could use USB communication from a BLE dongle
BLE is not meant to be Fast, and its not easy to develop (at least it wasnt for me)
Why do you want to use BLE and not just USB
2022-05-05 06:37 AM
I'm developing an implantable biosensor with a microcontroller. So, all the wired system is not my option.
2022-05-05 06:38 AM
Should I program USB dongle also?
2022-05-05 06:51 AM
Because somebody sells a BLE wireless camera, the BLE should be enough to send to a PC with 30 fps.
2022-05-05 06:53 AM
Only youre unable to use BLE with your PC Labview, use a dongle as a USB<->BLE bridge. (yes you would need to programm it)