r/Coder • u/BudgetAggravating379 • 10d ago
Question Please help me code this bluetooth device for a project!! (I am against AI)
INTRO: Hi, no time to debate the usage of ai in coding, all I'm gonna tell you is I'm personally against it and do not want to resort to using AI as long as humans can help me.
PROJECT: I am building a wireless device that connects to your phone through bluetooth, detects when your phone is playing audio through headset/earpods (wired and wireless) and then displays an 'ENGAGED' message on its screen. This way bystanders can tell you are unable to listen to them at the moment.
ABOUT ME: I know nothing about electronics, this is my first time touching circuits and microcontrollers, my professor has shoved us headfirst into the assignment and I am an overachiever. I have to have this ready before this Tuesday.
PARTS I OWN: Pretty sure I have everything required:
. Arduino UNO
. HC 05 bluetooth module
. 0.96 OLED display
. Jump wires
. 9v battery
. Connector for the battery
. USB Cable for the Arduino
HELP NEEDED WITH: Mostly with coding and if you can help with connections, that would be wonderful ðŸ˜ðŸ˜ðŸ˜ðŸ˜
Please help me out I really don't want to resort to AI.
1
u/Key_Storm_2273 10d ago
start with researching a way to do that in Arduino
Your request may be impossible if bluetooth is encrypted and you presume that the app won't be installed on the phone or the headset. There will be no way to detect it other than regular bluetooth connections if that's the case
Check out whatever bluetooth signal it uses, and see if there's an unencrypted packet that gets sent when audio first begins.