-
Notifications
You must be signed in to change notification settings - Fork 471
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
[Friend V2] Simulate Haptics with Speaker ($500) #573
Labels
Comments
I can handle this one 😄 |
I'm unsure if this can be done. The "low tone" vibrations which could simulate haptics get distorted since the speak is kinda low quality. Basically, instead of a strong vibration you get an annoying squeak which doesn't vibrate. I think it will be easier to just attach a haptic motor instead. It makes everyone's life easier. |
This was referenced Aug 22, 2024
Merged
josancamon19
added a commit
that referenced
this issue
Aug 29, 2024
#567 This is a rebase of the previous PR. How to test: In the firmware_v1.0 file, Flash the zephyr.uf2 file in the file "build_speaker". -Then use the script "discover_devices.py" to find the device id of your Omi device. This is to avoid cases where there are multiple friends connected at once. If there is more than one friend then just test all of them. In the script play_sound_on_friend.py, (in firmware_v1.0) On line 20 add the device id of your friend. This is to avoid cases where there is more than one friend nearby. On line 21 add your Deepgram API key. Then save and run the script by typing a small string. For example, one line could be python3 play_sound_on_friend.py "hello" Which should get the speaker to say hello. Make sure your device is connected by USB or you have connected a 3.3V pin to the speaker. #573 (For now it is disabled but since this uses very similar code). A sound should play automatically when you compile and run the zephyr.uf2 file. Of course this file can be modified to play any haptic sound provided you enter the appropriate lookup table.
Speaker was set, but haptics simulation was impossible. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Through speakers simulate haptics and vibration.
The text was updated successfully, but these errors were encountered: