Tschucker / ArduinoBLE-Cycle-Power-Service

Implements the BLE Cycle Power Service on Arduino Nano 33 BLE Sense using Magnetometer Sensor
MIT License
25 stars 5 forks source link

not sure #3

Open kleffa opened 2 years ago

kleffa commented 2 years ago

hello, I´m interested in replicate this, I noted my spin bike just use a switch reed and a magnet to count speed, so not shure if is to easy,

where you attach the sensor to arduino? I´m trying to read the code, but not sure about those

Tschucker commented 2 years ago

the Arduino nano ble sense 33 has a magnetometer on it already, read my blog post to see how the board is mounted. it really depends on your bike where the sensor goes. I think the bike I used is similar to yours. I probably could have connected to the reed switch but I wanted to get varying levels of magnetometer readings for when I changed resistance. if you don't need that you could potentially just use the reed switch and the part of my code that counts the cycles and converts it to speed