-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can a Bluetooth speed sensor (e.g., Garmin) be used with Raspberry Pi 4 to measure wheel speed? #8
Comments
Provided that the Garmin Speed Sensor 2 uses the Bluetooth Cycling Speed and Cadence (CSC) protocol, you should be able to read speed data from it using a Rasperry Pi 4. I’m not familiar with that particular sensor, though, so cannot comment on whether it complies with the Bluetooth spec. The Bluetooth specification for CSC is here:https://www.bluetooth.com/specifications/specs/cycling-speed-and-cadence-service-1-0/There is some information in the README of this repo about connecting to CSC sensors. You can try connecting to your sensor using bluetoothctl from the terminal to see if it works. There are instructions for doing this in the README. Once you know it works, you can write some code to do it programmatically for your application. You can read the code in this repo to get an idea of how to do this for your application.Good luck with your project!On Jan 22, 2025, at 6:11 AM, sanny5556 ***@***.***> wrote:
Hello,
I’m working on a project where I need to measure the speed of a vehicle’s wheel using a Bluetooth speed sensor (e.g., Garmin Speed Sensor 2). My goal is to attach the sensor to the wheel and send the speed data directly to a Raspberry Pi 4. I only need to capture the speed information, and accuracy is a priority.
Is it possible to pair a Garmin Speed Sensor (or similar) with Raspberry Pi 4 via Bluetooth to read speed data?
Any advice, resources, or examples would be greatly appreciated. Thank you!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I should add that CSC sensors work by counting wheel rotations. I'm not sure what type of vehicle you're working on, but if it doesn't have wheels, CSC sensors obviously won't work. Or if the wheels turn very slowly (perhaps a low-speed vehicle with large wheels), then the speed measured by the CSC sensor will be inaccurate and update infrequently (since it would only update once per full revolution).
Hope this is helpful and good luck with your project.
… On 01/22/2025 6:11 AM MST sanny5556 ***@***.***> wrote:
Hello,
I’m working on a project where I need to measure the speed of a vehicle’s wheel using a Bluetooth speed sensor (e.g., Garmin Speed Sensor 2). My goal is to attach the sensor to the wheel and send the speed data directly to a Raspberry Pi 4. I only need to capture the speed information, and accuracy is a priority.
Is it possible to pair a Garmin Speed Sensor (or similar) with Raspberry Pi 4 via Bluetooth to read speed data?
Any advice, resources, or examples would be greatly appreciated. Thank you!
—
Reply to this email directly, view it on GitHub #8, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5IALKEAV6P3TK3VTZUQT2L6KHHAVCNFSM6AAAAABVU47KVCVHI2DSMVQWIX3LMV43ASLTON2WKOZSHAYDIMZVG4ZDAMI.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I’m working on a project where I need to measure the speed of a vehicle’s wheel using a Bluetooth speed sensor (e.g., Garmin Speed Sensor 2). My goal is to attach the sensor to the wheel and send the speed data directly to a Raspberry Pi 4. I only need to capture the speed information, and accuracy is a priority.
Is it possible to pair a Garmin Speed Sensor (or similar) with Raspberry Pi 4 via Bluetooth to read speed data?
Any advice, resources, or examples would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered: