Arduino Forum

Community => Gigs and Collaborations => Topic started by: kierankay on Jan 24, 2020, 01:22 pm

Title: Help getting cadence BLE sensor output values to arduino?
Post by: kierankay on Jan 24, 2020, 01:22 pm
Hi, I'm an engineering student and I must admit I am quite a beginner when it comes to Arduino, particularly when using bluetooth.

I have a piece of code which requires an input value for RPM from the bluetooth Wahoo cadence sensor to run. (https://uk.wahoofitness.com/devices/bike-sensors/wahoo-rpm-cadence-sensor)

I have the Adafruit Bluefruit LE SPI Friend and an Arduino Uno which I am trying to set up code for to get a value out from the sensor. I have managed to connect the sensor to my phone to see the service and characteristic UUIDs.

There are some forums that mention getting data from the sensor but I don't know if they are relevant or how to apply them to arduino:
https://stackoverflow.com/questions/45677032/how-do-you-get-data-from-a-bluetooth-le-device/45743447

Particularly this one which is in javascript. Is there a way to convert javascript to run on Arduino? (I'm using a mac too by the way).
http://forum.espruino.com/conversations/323575/


Any help would be greatly appreciated as I'm currently in limbo.
Title: Re: Help getting cadence BLE sensor output values to arduino?
Post by: blimpyway on Jan 25, 2020, 02:46 am
If you already found epruino code working, how about using a generic esp32 board which  you flash espruino and change the example javascript to send decoded info to arduino via serial?  (and use that bluefruit somewhere else)