this post was submitted on 13 Jun 2024
86 points (83.6% liked)
Asklemmy
43940 readers
414 users here now
A loosely moderated place to ask open-ended questions
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- [email protected]: a community for finding communities
~Icon~ ~by~ ~@Double_[email protected]~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I can’t speak to specifics but I can give you some ideas.
So the obd port might have some basic info such as acceleration and turns since and/or at least torque/thrust readings that you can poll since insurance companies and others have devices that use them to track your driving (often paired with GPS which you don’t need)
So some arduino project that lets you plug in and poll that data and to establish a trigger for some audio could be fun.
http://arduinodev.com/connect-arduino-to-a-car-through-obd-ii-port/
Pair that with something else that lets you connect via auxiliary or Bluetooth so you can play it over the speaker and you might have something.
https://github.com/pschatzmann/ESP32-A2DP
This might be easier since a pi would be better suited to playback of audio and might be easier to get everything connected and to tinker with the Python to respond to certain readings
https://www.instructables.com/OBD-Pi/
I saw such a device on Instagram. I think it was a Bluetooth connection from the computer diagnostic port to the phone.
The app takes this data and makes the right noise based on engine revs. The app was full of different engine sounds both real and fictional along with silly noises such as farting.