I have very limited experience with programming. I recently purchased a red Openlog Artemis. I also have a SparkFun Bluetooth mate silver. I know that Sparkfun people are already working hard to employ BLE with OLA. But meanwhile, can I get the IMU sensor data from OLA in real-time over Bluetooth using Bluetooth mate? How to do that? What connections are needed? What coding is needed?
This would be the same thing as serial logging so it would be possible. You’d need to connect the serial lines on the Bluetooth Mate to the OLA (RX,TX) as well as provide power to the Bluetooth Mate. (GND, 3V3)
Just make sure you enable serial logging and have the OLA and Bluetooth Mate set to the same baud rate and you should be good to go.
The onboard firmware is not shipped with this capability and will have to custom coded. You’ll want to make a function that sends the data over UART to the Mate and the mate will transmit/receive as necessary.
You should not need to use a bluetooth mate. You could use the built-in BLE capability of the Artemis module. HOWEVER right now this would require your own custom firmware. Perhaps in the future the OLA engineers will roll out firmware that enables BLE by default.
If you want to try BLE applications on OLA or other Artemis boards check out these resources:
Thanks a lot for all the inputs. I don’t have much experience with coding BLE, so that’s why I am trying to use Bluetooth mate, hoping that it would be simpler.
I tried the solution given by @TS-Chris. But I can’t seem to make it work. How do I set the baud rate of Bluetooth mate? I have powered the mate, but my PC (Windows 10) can’t detect it. Does it require some initial setup? Am I missing a step?
JD28:
Thanks a lot for all the inputs. I don’t have much experience with coding BLE, so that’s why I am trying to use Bluetooth mate, hoping that it would be simpler.
I tried the solution given by @TS-Chris. But I can’t seem to make it work. How do I set the baud rate of Bluetooth mate? I have powered the mate, but my PC (Windows 10) can’t detect it. Does it require some initial setup? Am I missing a step?
Update. I managed to pair Bluetooth mate with my PC. I enabled serial logging on OLA. But how do I read the data over bluetooth now? How to check if data is sent or not?
I am not very familiar with the OLA firmware, but I suspect that serial logging will be routed out through the USB connection. What you need is to somehow divert logs through another UART instance which is connected via TX/RX to the bluetooth mate device.