this post was submitted on 13 Jun 2024
85 points (82.9% liked)
Asklemmy
43901 readers
1968 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
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
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.